HDF5 C++ API Reference Manual

 

 

Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File 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 hdfhelp@ncsa.uiuc.edu. *
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         // Constructor that creates a variable-length datatype based
00028         // on the specified base type.
00029         VarLenType(const DataType* base_type);
00030 
00031         // Returns this class name
00032         virtual H5std_string fromClass () const { return("VarLenType"); }
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 #ifndef H5_NO_NAMESPACE
00048 }
00049 #endif
00050 #endif

Generated on Thu Apr 20 15:16:40 2006 by doxygen 1.3.2