13 #ifndef INC_netcdf_NcItem_h
14 #define INC_netcdf_NcItem_h
34 bool const isNullObject =
true)
46 std::string
const useName = std::string() )
68 virtual void Rename ( std::string
const & newName ) = 0;
116 #endif // INC_netcdf_NcItem_h
int fileID
netCDF file ID number
Definition: NcItem.h:96
NcItem & operator=(NcItem const &rhs)
Definition: NcItem.h:70
void Copy(NcItem const &rhs)
Definition: NcItem.h:99
bool operator==(NcItem const &rhs) const
Definition: NcItem.h:76
NcItem(NcItem const &rhs)
Definition: NcItem.h:55
bool operator!=(NcItem const &rhs) const
Definition: NcItem.h:82
bool operator<(NcItem const &rhs) const
Definition: NcItem.h:83
int GetGroupID() const
Definition: NcItem.h:65
std::string const & GetName() const
Definition: NcItem.h:63
virtual void Rename(std::string const &newName)=0
int GetFileID() const
Definition: NcItem.h:66
int groupID
group ID number (can be unused)
Definition: NcItem.h:95
std::string myName
optional name of object
Definition: NcItem.h:97
int myID
object ID number
Definition: NcItem.h:94
static int const nullID
Definition: NcItem.h:27
virtual ~NcItem()=0
Definition: NcItem.h:110
NcItem(bool const isNullObject=true)
Definition: NcItem.h:33
bool IsNull() const
Definition: NcItem.h:62
int GetID() const
Definition: NcItem.h:64
bool nullObject
Definition: NcItem.h:93
Base class for NcAtt, NcVar, NcDim, NcGroup.
Definition: NcItem.h:22
NcItem(int const useFileID, int const useID, int const useGroupID=NcItem::idGlobal, std::string const useName=std::string())
Definition: NcItem.h:42