31 NcAtt::operator=(rhs);
51 groupId = grp.
getId();
52 varId = ncVar.
getId();
54 char attName[NC_MAX_NAME+1];
55 ncCheck(nc_inq_attname(groupId,varId, index, attName),__FILE__,__LINE__);
56 ncCheck(nc_inq_attname(groupId,varId,index,attName),__FILE__,__LINE__);
62 return NcVar(groupId,varId);
NcVar getParentVar() const
Returns the NcVar parent object.
int getId() const
Get the variable id.
int getId() const
Gets the group id.
Class represents a netCDF group.
void ncCheck(int retCode, const char *file, int line)
Function checks error code and if necessary throws an exception.
NcVarAtt()
Constructor generates a null object.
Class represents a netCDF attribute local to a netCDF variable.
Abstract base class represents inherited by ncVarAtt and ncGroupAtt.
Class represents a netCDF variable.