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

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