HDF5 C++ API  1.8.18
 All Classes Namespaces Functions Variables Typedefs Friends Pages
H5VarLenType.h
1 // C++ informative line for the emacs editor: -*- C++ -*-
2 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3  * Copyright by The HDF Group. *
4  * Copyright by the Board of Trustees of the University of Illinois. *
5  * All rights reserved. *
6  * *
7  * This file is part of HDF5. The full HDF5 copyright notice, including *
8  * terms governing use, modification, and redistribution, is contained in *
9  * the files COPYING and Copyright.html. COPYING can be found at the root *
10  * of the source code distribution tree; Copyright.html can be found at the *
11  * root level of an installed copy of the electronic HDF5 document set and *
12  * is linked from the top-level documents page. It can also be found at *
13  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
14  * access to either file, you may request a copy from help@hdfgroup.org. *
15  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
16 
17 // Class VarLenType inherits from DataType and provides wrappers for
18 // the HDF5 C's Variable-length Datatypes.
19 
20 #ifndef __H5VarLenType_H
21 #define __H5VarLenType_H
22 
23 namespace H5 {
24 
26 class H5_DLLCPP VarLenType : public DataType {
27  public:
28  // Constructor that creates a variable-length datatype based
29  // on the specified base type.
30  VarLenType(const DataType* base_type);
31 
33  virtual H5std_string fromClass () const { return("VarLenType"); }
34 
35  // Copy constructor: makes copy of the original object.
36  VarLenType( const VarLenType& original );
37 
38  // Constructor that takes an existing id
39  VarLenType( const hid_t existing_id );
40 
41  // Noop destructor
42  virtual ~VarLenType();
43 
44  // Default constructor
45  VarLenType();
46 };
47 }
48 #endif // __H5VarLenType_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5VarLenType.h:33
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:32
VarLenType operates on the HDF5 C's Variable-length Datatypes.
Definition: H5VarLenType.h:26


The HDF Group Help Desk:
  Copyright by The HDF Group
and the Board of Trustees of the University of Illinois