Represents a netCDF dimension.
More...
#include <NetCDF/cpp4/src/NcDim.h>
- Copyright:
- Original C++ API developed by Lynton Appel.
Portions of this software were developed by the Unidata Program at the
University Corporation for Atmospheric Research.
Modifications: Copyright 2013 Colorado State University. All rights reserved.
- Organization:
- Natural Resource Ecology Laboratory
Colorado State University, Fort Collins, CO 80523 USA
www.nrel.colostate.edu
- Project:
- IRC <www.nrel.colostate.edu/projects/irc/>
- Author
- Tom Hilinski tom.h.nosp@m.ilin.nosp@m.ski@c.nosp@m.olos.nosp@m.tate..nosp@m.edu
- Date
- 2013Jan
- Examples:
- Test_CreateFileNc3.cpp, Test_NcChar.cpp, Test_NcFileMetaCF.cpp, Test_NcString.cpp, and Test_NcVarMetaCF.cpp.
netcdf::NcDim::NcDim |
( |
int const |
useFileID, |
|
|
NcGroup const & |
grp, |
|
|
int const |
dimId |
|
) |
| |
Constructor for a dimension . The dimension must already exist in the netCDF file. New netCDF dimension can be added using NcGroup::addNcDim();
- Parameters
-
useFileID | netCDF file ID number |
grp | Parent NcGroup |
netcdf::NcDim::NcDim |
( |
int const |
useFileID, |
|
|
int const |
useGroupID, |
|
|
int const |
useDimID |
|
) |
| |
- Parameters
-
useFileID | netCDF file ID number |
useGroupID | Parent NcGroup |
netcdf::NcDim::NcDim |
( |
const NcDim & |
ncDim | ) |
|
NcGroup netcdf::NcDim::GetParentGroup |
( |
| ) |
const |
bool netcdf::NcDim::IsUnlimited |
( |
| ) |
const |
bool netcdf::NcDim::operator!= |
( |
NcDim const & |
rhs | ) |
const |
|
inline |
bool netcdf::NcDim::operator< |
( |
NcDim const & |
rhs | ) |
const |
bool netcdf::NcDim::operator== |
( |
NcDim const & |
rhs | ) |
const |
void netcdf::NcDim::Rename |
( |
std::string const & |
newName | ) |
|
|
virtual |
size_t netcdf::NcDim::Size |
( |
| ) |
const |
dimension size; for an unlimited dimension, returns the number of records
- Examples:
- Test_NcChar.cpp.
The documentation for this class was generated from the following files: