HDF5 C++ API Reference Manual

 

 

 

Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Examples

H5VarLenType.h

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

Generated on Mon Oct 31 04:59:47 2005 by  doxygen 1.4.2