HDF5 C++ API  1.8.20
 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 COPYING file, which can be found at the root of the source code *
10  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
11  * If you do not have access to either file, you may request a copy from *
12  * help@hdfgroup.org. *
13  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
14 
15 #ifndef __H5VarLenType_H
16 #define __H5VarLenType_H
17 
18 namespace H5 {
19 
24 // Inheritance: DataType -> H5Object -> H5Location -> IdComponent
25 class H5_DLLCPP VarLenType : public DataType {
26  public:
27  // Constructor that creates a variable-length datatype based
28  // on the specified base type.
29  VarLenType(const DataType& base_type);
30 
31  // Deprecated - will be removed after 1.8.20
32  VarLenType(const DataType* base_type);
33 
34  // Constructors that open a variable-length datatype, given a location.
35  VarLenType(const H5Location& loc, const char* name);
36  VarLenType(const H5Location& loc, const H5std_string& name);
37 
38  // Returns an VarLenType object via DataType* by decoding the
39  // binary object description of this type.
40  virtual DataType* decode() const;
41 
43  virtual H5std_string fromClass () const { return("VarLenType"); }
44 
45  // Copy constructor: makes copy of the original object.
46  VarLenType(const VarLenType& original);
47 
48  // Constructor that takes an existing id
49  VarLenType(const hid_t existing_id);
50 
51  // Noop destructor
52  virtual ~VarLenType();
53 
54  // Default constructor
55  VarLenType();
56 
57 }; // end of VarLenType
58 } // namespace H5
59 
60 #endif // __H5VarLenType_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5VarLenType.h:43
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:28
H5Location is an abstract base class, providing a collection of wrappers of the C functions that take...
Definition: H5Location.h:42
VarLenType is a derivative of a DataType and operates on HDF5 C's Variable-length Datatypes...
Definition: H5VarLenType.h:25


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