MBDyn-1.7.3
|
#include <netcdfcpp.h>
Public Types | |
enum | FileMode { ReadOnly, Write, Replace, New } |
enum | FileFormat { Classic, Offset64Bits, Netcdf4, Netcdf4Classic, BadFormat } |
enum | FillMode { Fill = 0, NoFill = 0x100, Bad } |
Public Member Functions | |
virtual | ~NcFile (void) |
NcFile (const char *path, FileMode=ReadOnly, size_t *bufrsizeptr=NULL, size_t initialsize=0, FileFormat=Classic) | |
NcBool | is_valid (void) const |
int | num_dims (void) const |
int | num_vars (void) const |
int | num_atts (void) const |
NcDim * | get_dim (NcToken) const |
NcVar * | get_var (NcToken) const |
NcAtt * | get_att (NcToken) const |
NcDim * | get_dim (int) const |
NcVar * | get_var (int) const |
NcAtt * | get_att (int) const |
NcDim * | rec_dim (void) const |
virtual NcDim * | add_dim (NcToken dimname, long dimsize) |
virtual NcDim * | add_dim (NcToken dimname) |
virtual NcVar * | add_var (NcToken varname, NcType type, const NcDim *dim0=0, const NcDim *dim1=0, const NcDim *dim2=0, const NcDim *dim3=0, const NcDim *dim4=0) |
virtual NcVar * | add_var (NcToken varname, NcType type, int ndims, const NcDim **dims) |
NcBool | add_att (NcToken attname, char) |
NcBool | add_att (NcToken attname, ncbyte) |
NcBool | add_att (NcToken attname, short) |
NcBool | add_att (NcToken attname, long) |
NcBool | add_att (NcToken attname, int) |
NcBool | add_att (NcToken attname, float) |
NcBool | add_att (NcToken attname, double) |
NcBool | add_att (NcToken attname, const char *) |
NcBool | add_att (NcToken attname, int, const char *) |
NcBool | add_att (NcToken attname, int, const ncbyte *) |
NcBool | add_att (NcToken attname, int, const short *) |
NcBool | add_att (NcToken attname, int, const long *) |
NcBool | add_att (NcToken attname, int, const int *) |
NcBool | add_att (NcToken attname, int, const float *) |
NcBool | add_att (NcToken attname, int, const double *) |
NcBool | set_fill (FillMode=Fill) |
FillMode | get_fill (void) const |
FileFormat | get_format (void) const |
NcBool | sync (void) |
NcBool | close (void) |
NcBool | abort (void) |
NcBool | define_mode (void) |
NcBool | data_mode (void) |
int | id (void) const |
Protected Attributes | |
int | the_id |
int | in_define_mode |
FillMode | the_fill_mode |
NcDim ** | dimensions |
NcVar ** | variables |
NcVar * | globalv |
Definition at line 27 of file netcdfcpp.h.
enum NcFile::FileFormat |
Enumerator | |
---|---|
Classic | |
Offset64Bits | |
Netcdf4 | |
Netcdf4Classic | |
BadFormat |
Definition at line 40 of file netcdfcpp.h.
enum NcFile::FileMode |
Enumerator | |
---|---|
ReadOnly | |
Write | |
Replace | |
New |
Definition at line 33 of file netcdfcpp.h.
enum NcFile::FillMode |
Enumerator | |
---|---|
Fill | |
NoFill | |
Bad |
Definition at line 98 of file netcdfcpp.h.
|
virtual |
NcFile::NcFile | ( | const char * | path, |
FileMode | = ReadOnly , |
||
size_t * | bufrsizeptr = NULL , |
||
size_t | initialsize = 0 , |
||
FileFormat | = Classic |
||
) |
NcBool NcFile::abort | ( | void | ) |
|
virtual |
|
virtual |
NcBool NcFile::close | ( | void | ) |
NcBool NcFile::data_mode | ( | void | ) |
NcBool NcFile::define_mode | ( | void | ) |
FillMode NcFile::get_fill | ( | void | ) | const |
FileFormat NcFile::get_format | ( | void | ) | const |
int NcFile::id | ( | void | ) | const |
NcBool NcFile::is_valid | ( | void | ) | const |
int NcFile::num_atts | ( | void | ) | const |
int NcFile::num_dims | ( | void | ) | const |
int NcFile::num_vars | ( | void | ) | const |
NcDim* NcFile::rec_dim | ( | void | ) | const |
NcBool NcFile::sync | ( | void | ) |
|
protected |
Definition at line 121 of file netcdfcpp.h.
|
protected |
Definition at line 123 of file netcdfcpp.h.
|
protected |
Definition at line 119 of file netcdfcpp.h.
|
protected |
Definition at line 120 of file netcdfcpp.h.
|
protected |
Definition at line 118 of file netcdfcpp.h.
|
protected |
Definition at line 122 of file netcdfcpp.h.