NetCDF-C++  4.3.1-developer
ncVlenType.h
1 #include <string>
2 #include "ncType.h"
3 #include "netcdf.h"
4 
5 #ifndef NcVlenTypeClass
6 #define NcVlenTypeClass
7 
8 
9 namespace netCDF
10 {
11  class NcGroup; // forward declaration.
12 
14  class NcVlenType : public NcType
15  {
16  public:
17 
19  NcVlenType();
20 
28  NcVlenType(const NcGroup& grp, const std::string& name);
29 
35  NcVlenType(const NcType& ncType);
36 
38  NcVlenType& operator=(const NcVlenType& rhs);
39 
44  NcVlenType& operator=(const NcType& rhs);
45 
47  NcVlenType(const NcVlenType& rhs);
48 
49  ~NcVlenType(){;}
50 
52  NcType getBaseType() const;
53 
54  };
55 
56 }
57 
58 #endif
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
Definition: ncType.h:14
C++ API for netCDF4.
Definition: ncAtt.h:9
NcType getBaseType() const
Returns the base type.
Definition: ncVlenType.cpp:70
Class represents a netCDF VLEN type.
Definition: ncVlenType.h:14
Class represents a netCDF group.
Definition: ncGroup.h:27
ncType
List of netCDF types that can be represented.
Definition: ncType.h:25
NcVlenType()
Constructor generates a null object.
Definition: ncVlenType.cpp:52
NcVlenType & operator=(const NcVlenType &rhs)
assignment operator
Definition: ncVlenType.cpp:26

Return to the Main Unidata NetCDF page.
Generated on Fri Nov 11 2016 15:28:29 for NetCDF-C++. NetCDF is a Unidata library.