HDF5 C++ API Reference Manual

 

 

 

H5VarLenType.h

Go to the documentation of this file.
00001 // C++ informative line for the emacs editor: -*- C++ -*-
00002 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00003  * Copyright by The HDF Group.                                               *
00004  * Copyright by the Board of Trustees of the University of Illinois.         *
00005  * All rights reserved.                                                      *
00006  *                                                                           *
00007  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00008  * terms governing use, modification, and redistribution, is contained in    *
00009  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00010  * of the source code distribution tree; Copyright.html can be found at the  *
00011  * root level of an installed copy of the electronic HDF5 document set and   *
00012  * is linked from the top-level documents page.  It can also be found at     *
00013  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00014  * access to either file, you may request a copy from help@hdfgroup.org.     *
00015  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00016 
00017 // Class VarLenType inherits from DataType and provides wrappers for
00018 // the HDF5 C's Variable-length Datatypes.
00019 
00020 #ifndef _H5VarLenType_H
00021 #define _H5VarLenType_H
00022 
00023 #ifndef H5_NO_NAMESPACE
00024 namespace H5 {
00025 #endif
00026 
00027 class H5_DLLCPP VarLenType : public DataType {
00028    public:
00029         // Constructor that creates a variable-length datatype based
00030         // on the specified base type.
00031         VarLenType(const DataType* base_type);
00032 
00033         // Returns this class name
00034         virtual H5std_string fromClass () const { return("VarLenType"); }
00035 
00036         // Copy constructor: makes copy of the original object.
00037         VarLenType( const VarLenType& original );
00038 
00039         // Constructor that takes an existing id
00040         VarLenType( const hid_t existing_id );
00041 
00042         // Noop destructor
00043         virtual ~VarLenType();
00044 
00045    protected:
00046         // Default constructor
00047         VarLenType();
00048 };
00049 #ifndef H5_NO_NAMESPACE
00050 }
00051 #endif
00052 #endif

Generated on Wed Nov 4 14:13:07 2009 by  doxygen 1.4.7