16 #ifndef INC_netcdf_NcCompoundType_h
17 #define INC_netcdf_NcCompoundType_h
45 std::string
const name,
50 myOffset (rhs.myOffset)
64 std::string
const memName,
65 NcType const & newMemberType,
77 std::string
const memName,
78 NcType const & newMemberType,
80 const std::vector<int>& shape);
110 return !(*
this == rhs);
115 static char const *
const myTypeName;
bool operator==(NcCompoundType const &rhs) const
Definition: NcCompoundType.cpp:61
size_t getMemberOffset(const int index) const
Definition: NcCompoundType.cpp:155
Defines a non-atomic, user-defined NetCDF4 type.
Definition: NcTypeUserDef.h:24
void addMember(std::string const memName, NcType const &newMemberType, size_t const offset)
Definition: NcCompoundType.cpp:72
NcCompoundType & operator=(NcCompoundType const &rhs)
Definition: NcCompoundType.cpp:54
NcType getMember(int const memberIndex) const
Definition: NcCompoundType.cpp:103
virtual std::string const getTypeClassName() const
Definition: NcCompoundType.h:54
std::vector< int > getMemberShape(int const memberIndex) const
Definition: NcCompoundType.cpp:145
NcCompoundType()
Definition: NcCompoundType.cpp:40
Represents a netCDF compound type.
Definition: NcCompoundType.h:28
bool operator!=(NcCompoundType const &rhs) const
Definition: NcCompoundType.h:108
int getMemberDimCount(int const memberIndex) const
Definition: NcCompoundType.cpp:136
size_t getMemberCount() const
Definition: NcCompoundType.cpp:95
Base class for all netCDF data types.
Definition: NcType.h:47
NcCompoundType(NcCompoundType const &rhs)
Definition: NcCompoundType.h:48
Represents a netCDF group.
Definition: NcGroup.h:36