NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NcVlenType.h
Go to the documentation of this file.
1 
16 #ifndef INC_netcdf_NcVlenType_h
17 #define INC_netcdf_NcVlenType_h
18 
19 #include "NcTypeUserDef.h"
20 
21 namespace netcdf {
22 
23 class NcGroup;
24 
25 class NcVlenType : public NcTypeUserDef
26 {
27  public:
28 
29  NcVlenType();
30 
36  NcVlenType (
37  int const useFileID,
38  NcGroup const & grp,
39  std::string const name,
40  int const typeID);
41 
42  NcVlenType(NcVlenType const & rhs)
43  : NcTypeUserDef (rhs)
44  {
45  }
46 
47  virtual std::string const getTypeClassName () const { return myTypeName; }
48 
49  NcType GetBaseType() const;
50 
51  private:
52  static char const * const myTypeName;
53 
54 };
55 
56 
57 } // namespace netcdf
58 
59 #endif
Defines a non-atomic, user-defined NetCDF4 type.
Definition: NcTypeUserDef.h:24
Represents a netCDF VLEN type.
Definition: NcVlenType.h:25
NcType GetBaseType() const
Definition: NcVlenType.cpp:55
NcVlenType(NcVlenType const &rhs)
Definition: NcVlenType.h:42
virtual std::string const getTypeClassName() const
Definition: NcVlenType.h:47
NcVlenType()
Definition: NcVlenType.cpp:40
Base class for all netCDF data types.
Definition: NcType.h:47
Represents a netCDF group.
Definition: NcGroup.h:36