HDF5 C++ API  1.8.12
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
H5VarLenType.h
Go to the documentation of this file.
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 #ifndef H5_NO_NAMESPACE
24 namespace H5 {
25 #endif
26 
28 class H5_DLLCPP VarLenType : public DataType {
29  public:
30  // Constructor that creates a variable-length datatype based
31  // on the specified base type.
32  VarLenType(const DataType* base_type);
33 
35  virtual H5std_string fromClass () const { return("VarLenType"); }
36 
37  // Copy constructor: makes copy of the original object.
38  VarLenType( const VarLenType& original );
39 
40  // Constructor that takes an existing id
41  VarLenType( const hid_t existing_id );
42 
43  // Noop destructor
44  virtual ~VarLenType();
45 
46  protected:
47  // Default constructor
48  VarLenType();
49 };
50 #ifndef H5_NO_NAMESPACE
51 }
52 #endif
53 #endif // __H5VarLenType_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5VarLenType.h:35
#define H5std_string
Definition: H5Exception.h:29
VarLenType operates on the HDF5 C's Variable-length Datatypes.
Definition: H5VarLenType.h:28
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34