MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
NcVar Class Reference

#include <netcdfcpp.h>

Inheritance diagram for NcVar:
Collaboration diagram for NcVar:

Public Member Functions

virtual ~NcVar (void)
 
NcToken name (void) const
 
NcType type (void) const
 
NcBool is_valid (void) const
 
int num_dims (void) const
 
NcDimget_dim (int) const
 
long * edges (void) const
 
int num_atts (void) const
 
NcAttget_att (NcToken) const
 
NcAttget_att (int) const
 
long num_vals (void) const
 
NcValues * values (void) const
 
NcBool put (const ncbyte *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const char *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const short *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const int *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const long *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const float *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const double *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0)
 
NcBool put (const ncbyte *vals, const long *counts)
 
NcBool put (const char *vals, const long *counts)
 
NcBool put (const short *vals, const long *counts)
 
NcBool put (const int *vals, const long *counts)
 
NcBool put (const long *vals, const long *counts)
 
NcBool put (const float *vals, const long *counts)
 
NcBool put (const double *vals, const long *counts)
 
NcBool get (ncbyte *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (char *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (short *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (int *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (long *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (float *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (double *vals, long c0=0, long c1=0, long c2=0, long c3=0, long c4=0) const
 
NcBool get (ncbyte *vals, const long *counts) const
 
NcBool get (char *vals, const long *counts) const
 
NcBool get (short *vals, const long *counts) const
 
NcBool get (int *vals, const long *counts) const
 
NcBool get (long *vals, const long *counts) const
 
NcBool get (float *vals, const long *counts) const
 
NcBool get (double *vals, const long *counts) const
 
NcBool set_cur (long c0=-1, long c1=-1, long c2=-1, long c3=-1, long c4=-1)
 
NcBool set_cur (long *cur)
 
NcBool add_att (NcToken, char)
 
NcBool add_att (NcToken, ncbyte)
 
NcBool add_att (NcToken, short)
 
NcBool add_att (NcToken, int)
 
NcBool add_att (NcToken, long)
 
NcBool add_att (NcToken, float)
 
NcBool add_att (NcToken, double)
 
NcBool add_att (NcToken, const char *)
 
NcBool add_att (NcToken, int, const char *)
 
NcBool add_att (NcToken, int, const ncbyte *)
 
NcBool add_att (NcToken, int, const short *)
 
NcBool add_att (NcToken, int, const int *)
 
NcBool add_att (NcToken, int, const long *)
 
NcBool add_att (NcToken, int, const float *)
 
NcBool add_att (NcToken, int, const double *)
 
NcBool rename (NcToken newname)
 
long rec_size (void)
 
long rec_size (NcDim *)
 
NcValues * get_rec (void)
 
NcValues * get_rec (long rec)
 
NcValues * get_rec (NcDim *d)
 
NcValues * get_rec (NcDim *d, long slice)
 
NcBool put_rec (const ncbyte *vals)
 
NcBool put_rec (const char *vals)
 
NcBool put_rec (const short *vals)
 
NcBool put_rec (const int *vals)
 
NcBool put_rec (const long *vals)
 
NcBool put_rec (const float *vals)
 
NcBool put_rec (const double *vals)
 
NcBool put_rec (NcDim *d, const ncbyte *vals)
 
NcBool put_rec (NcDim *d, const char *vals)
 
NcBool put_rec (NcDim *d, const short *vals)
 
NcBool put_rec (NcDim *d, const int *vals)
 
NcBool put_rec (NcDim *d, const long *vals)
 
NcBool put_rec (NcDim *d, const float *vals)
 
NcBool put_rec (NcDim *d, const double *vals)
 
NcBool put_rec (const ncbyte *vals, long rec)
 
NcBool put_rec (const char *vals, long rec)
 
NcBool put_rec (const short *vals, long rec)
 
NcBool put_rec (const int *vals, long rec)
 
NcBool put_rec (const long *vals, long rec)
 
NcBool put_rec (const float *vals, long rec)
 
NcBool put_rec (const double *vals, long rec)
 
NcBool put_rec (NcDim *d, const ncbyte *vals, long slice)
 
NcBool put_rec (NcDim *d, const char *vals, long slice)
 
NcBool put_rec (NcDim *d, const short *vals, long slice)
 
NcBool put_rec (NcDim *d, const int *vals, long slice)
 
NcBool put_rec (NcDim *d, const long *vals, long slice)
 
NcBool put_rec (NcDim *d, const float *vals, long slice)
 
NcBool put_rec (NcDim *d, const double *vals, long slice)
 
long get_index (const ncbyte *vals)
 
long get_index (const char *vals)
 
long get_index (const short *vals)
 
long get_index (const int *vals)
 
long get_index (const long *vals)
 
long get_index (const float *vals)
 
long get_index (const double *vals)
 
long get_index (NcDim *d, const ncbyte *vals)
 
long get_index (NcDim *d, const char *vals)
 
long get_index (NcDim *d, const short *vals)
 
long get_index (NcDim *d, const int *vals)
 
long get_index (NcDim *d, const long *vals)
 
long get_index (NcDim *d, const float *vals)
 
long get_index (NcDim *d, const double *vals)
 
void set_rec (long rec)
 
void set_rec (NcDim *d, long slice)
 
int id (void) const
 
NcBool sync (void)
 
- Public Member Functions inherited from NcTypedComponent
virtual ~NcTypedComponent (void)
 
virtual ncbyte as_ncbyte (long n) const
 
virtual char as_char (long n) const
 
virtual short as_short (long n) const
 
virtual int as_int (long n) const
 
virtual int as_nclong (long n) const
 
virtual long as_long (long n) const
 
virtual float as_float (long n) const
 
virtual double as_double (long n) const
 
virtual char * as_string (long n) const
 

Private Member Functions

int dim_to_index (NcDim *rdim)
 
 NcVar (void)
 
 NcVar (NcFile *, int)
 
int attnum (NcToken attname) const
 
NcToken attname (int attnum) const
 
void init_cur (void)
 

Private Attributes

int the_id
 
long * the_cur
 
char * the_name
 
long * cur_rec
 

Friends

class NcFile
 

Additional Inherited Members

- Protected Member Functions inherited from NcTypedComponent
 NcTypedComponent (NcFile *)
 
virtual NcValues * get_space (long numVals=0) const
 
- Protected Attributes inherited from NcTypedComponent
NcFilethe_file
 

Detailed Description

Definition at line 212 of file netcdfcpp.h.

Constructor & Destructor Documentation

virtual NcVar::~NcVar ( void  )
virtual
NcVar::NcVar ( void  )
private
NcVar::NcVar ( NcFile ,
int   
)
private

Member Function Documentation

NcBool NcVar::add_att ( NcToken  ,
char   
)
NcBool NcVar::add_att ( NcToken  ,
ncbyte   
)
NcBool NcVar::add_att ( NcToken  ,
short   
)
NcBool NcVar::add_att ( NcToken  ,
int   
)
NcBool NcVar::add_att ( NcToken  ,
long   
)
NcBool NcVar::add_att ( NcToken  ,
float   
)
NcBool NcVar::add_att ( NcToken  ,
double   
)
NcBool NcVar::add_att ( NcToken  ,
const char *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const char *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const ncbyte *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const short *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const int  
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const long *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const float *   
)
NcBool NcVar::add_att ( NcToken  ,
int  ,
const double *   
)
NcToken NcVar::attname ( int  attnum) const
private
int NcVar::attnum ( NcToken  attname) const
private
int NcVar::dim_to_index ( NcDim rdim)
private
long* NcVar::edges ( void  ) const
NcBool NcVar::get ( ncbyte *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( char *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( short *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( int vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( long *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( float *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( double *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
) const
NcBool NcVar::get ( ncbyte *  vals,
const long *  counts 
) const
NcBool NcVar::get ( char *  vals,
const long *  counts 
) const
NcBool NcVar::get ( short *  vals,
const long *  counts 
) const
NcBool NcVar::get ( int vals,
const long *  counts 
) const
NcBool NcVar::get ( long *  vals,
const long *  counts 
) const
NcBool NcVar::get ( float *  vals,
const long *  counts 
) const
NcBool NcVar::get ( double *  vals,
const long *  counts 
) const
NcAtt* NcVar::get_att ( NcToken  ) const
NcAtt* NcVar::get_att ( int  ) const
NcDim* NcVar::get_dim ( int  ) const
long NcVar::get_index ( const ncbyte *  vals)
long NcVar::get_index ( const char *  vals)
long NcVar::get_index ( const short *  vals)
long NcVar::get_index ( const int vals)
long NcVar::get_index ( const long *  vals)
long NcVar::get_index ( const float *  vals)
long NcVar::get_index ( const double *  vals)
long NcVar::get_index ( NcDim d,
const ncbyte *  vals 
)
long NcVar::get_index ( NcDim d,
const char *  vals 
)
long NcVar::get_index ( NcDim d,
const short *  vals 
)
long NcVar::get_index ( NcDim d,
const int vals 
)
long NcVar::get_index ( NcDim d,
const long *  vals 
)
long NcVar::get_index ( NcDim d,
const float *  vals 
)
long NcVar::get_index ( NcDim d,
const double *  vals 
)
NcValues* NcVar::get_rec ( void  )
NcValues* NcVar::get_rec ( long  rec)
NcValues* NcVar::get_rec ( NcDim d)
NcValues* NcVar::get_rec ( NcDim d,
long  slice 
)
int NcVar::id ( void  ) const
void NcVar::init_cur ( void  )
private
NcBool NcVar::is_valid ( void  ) const
virtual

Implements NcTypedComponent.

NcToken NcVar::name ( void  ) const
virtual

Implements NcTypedComponent.

int NcVar::num_atts ( void  ) const
int NcVar::num_dims ( void  ) const
long NcVar::num_vals ( void  ) const
virtual

Implements NcTypedComponent.

NcBool NcVar::put ( const ncbyte *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const char *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const short *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const int vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const long *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const float *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const double *  vals,
long  c0 = 0,
long  c1 = 0,
long  c2 = 0,
long  c3 = 0,
long  c4 = 0 
)
NcBool NcVar::put ( const ncbyte *  vals,
const long *  counts 
)
NcBool NcVar::put ( const char *  vals,
const long *  counts 
)
NcBool NcVar::put ( const short *  vals,
const long *  counts 
)
NcBool NcVar::put ( const int vals,
const long *  counts 
)
NcBool NcVar::put ( const long *  vals,
const long *  counts 
)
NcBool NcVar::put ( const float *  vals,
const long *  counts 
)
NcBool NcVar::put ( const double *  vals,
const long *  counts 
)
NcBool NcVar::put_rec ( const ncbyte *  vals)
NcBool NcVar::put_rec ( const char *  vals)
NcBool NcVar::put_rec ( const short *  vals)
NcBool NcVar::put_rec ( const int vals)
NcBool NcVar::put_rec ( const long *  vals)
NcBool NcVar::put_rec ( const float *  vals)
NcBool NcVar::put_rec ( const double *  vals)
NcBool NcVar::put_rec ( NcDim d,
const ncbyte *  vals 
)
NcBool NcVar::put_rec ( NcDim d,
const char *  vals 
)
NcBool NcVar::put_rec ( NcDim d,
const short *  vals 
)
NcBool NcVar::put_rec ( NcDim d,
const int vals 
)
NcBool NcVar::put_rec ( NcDim d,
const long *  vals 
)
NcBool NcVar::put_rec ( NcDim d,
const float *  vals 
)
NcBool NcVar::put_rec ( NcDim d,
const double *  vals 
)
NcBool NcVar::put_rec ( const ncbyte *  vals,
long  rec 
)
NcBool NcVar::put_rec ( const char *  vals,
long  rec 
)
NcBool NcVar::put_rec ( const short *  vals,
long  rec 
)
NcBool NcVar::put_rec ( const int vals,
long  rec 
)
NcBool NcVar::put_rec ( const long *  vals,
long  rec 
)
NcBool NcVar::put_rec ( const float *  vals,
long  rec 
)
NcBool NcVar::put_rec ( const double *  vals,
long  rec 
)
NcBool NcVar::put_rec ( NcDim d,
const ncbyte *  vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const char *  vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const short *  vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const int vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const long *  vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const float *  vals,
long  slice 
)
NcBool NcVar::put_rec ( NcDim d,
const double *  vals,
long  slice 
)
long NcVar::rec_size ( void  )
long NcVar::rec_size ( NcDim )
NcBool NcVar::rename ( NcToken  newname)
virtual

Implements NcTypedComponent.

NcBool NcVar::set_cur ( long  c0 = -1,
long  c1 = -1,
long  c2 = -1,
long  c3 = -1,
long  c4 = -1 
)
NcBool NcVar::set_cur ( long *  cur)
void NcVar::set_rec ( long  rec)
void NcVar::set_rec ( NcDim d,
long  slice 
)
NcBool NcVar::sync ( void  )
NcType NcVar::type ( void  ) const
virtual

Implements NcTypedComponent.

NcValues* NcVar::values ( void  ) const
virtual

Implements NcTypedComponent.

Friends And Related Function Documentation

friend class NcFile
friend

Definition at line 400 of file netcdfcpp.h.

Member Data Documentation

long* NcVar::cur_rec
private

Definition at line 389 of file netcdfcpp.h.

long* NcVar::the_cur
private

Definition at line 387 of file netcdfcpp.h.

int NcVar::the_id
private

Definition at line 386 of file netcdfcpp.h.

char* NcVar::the_name
private

Definition at line 388 of file netcdfcpp.h.


The documentation for this class was generated from the following file: