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

Return to the Main Unidata NetCDF page.
Generated on Wed Nov 10 2021 15:25:08 for NetCDF-C++. NetCDF is a Unidata library.