Next: Class NcError, Previous: Auxiliary Classes, Up: Auxiliary Classes
Class NcValues is an abstract base class for a block of typed
values. The derived classes are NcValues_ncbyte,
NcValues_char, NcValues_short, NcValues_int,
NcValues_nclong (deprecated), and NcValues_long,
NcValues_float, NcValues_double.
These classes are used as the return type of the
NcTypedComponent::values() member function, for typed-value
arrays associated with variables and attributes.
NcValues( void )NcValues(NcType, long)~NcValues( void )long num( void )ostream& print(ostream&) constvoid* base( void ) constint bytes_for_one( void ) constncbyte as_ncbyte( int n ) constchar as_char( int n ) constshort as_short( int n ) constint as_int( int n ) constnclong as_nclong( int n ) const // deprecatedlong as_long( int n ) constfloat as_float( int n ) constdouble as_double( int n ) constchar* as_string( int n ) constas_string method.