netcdf-C++
Public Member Functions | List of all members
netCDF::NcVlenType Class Reference

#include <ncVlenType.h>

Inheritance diagram for netCDF::NcVlenType:
Inheritance graph
[legend]

Public Member Functions

NcType getBaseType () const
 
 NcVlenType ()
 
 NcVlenType (const NcGroup &grp, const std::string &name)
 
 NcVlenType (const NcType &ncType)
 
 NcVlenType (const NcVlenType &rhs)
 
NcVlenTypeoperator= (const NcVlenType &rhs)
 
NcVlenTypeoperator= (const NcType &rhs)
 
- Public Member Functions inherited from netCDF::NcType
nc_type getId () const
 
std::string getName () const
 
netCDF::NcGroup getParentGroup () const
 
size_t getSize () const
 
ncType getTypeClass () const
 
std::string getTypeClassName () const
 
bool isNull () const
 
 NcType ()
 
 NcType (const netCDF::NcGroup &grp, const std::string &name)
 
 NcType (const netCDF::NcGroup &grp, nc_type id)
 
 NcType (nc_type id)
 
 NcType (const NcType &rhs)
 
bool operator!= (const NcType &) const
 
bool operator== (const NcType &) const
 
virtual ~NcType ()
 

Additional Inherited Members

- Public Types inherited from netCDF::NcType
- Protected Member Functions inherited from netCDF::NcType
NcTypeoperator= (const NcType &rhs)
 
- Protected Attributes inherited from netCDF::NcType
int groupId
 
nc_type myId
 

Detailed Description

Class represents a netCDF VLEN type

Constructor & Destructor Documentation

NcVlenType::NcVlenType ( )

Constructor generates a null object.

netCDF::NcVlenType::NcVlenType ( const NcGroup grp,
const std::string &  name 
)

Constructor. The vlen Type must already exist in the netCDF file. New netCDF vlen types can be added using NcGroup::addNcVlenType();

Parameters
grpThe parent group where this type is defined.
nameName of new type.
NcVlenType::NcVlenType ( const NcType ncType)

Constructor. Constructs from the base type NcType object. Will throw an exception if the NcType is not the base of a Vlen type.

Parameters
ncTypeA Nctype object.
NcVlenType::NcVlenType ( const NcVlenType rhs)

The copy constructor.

Member Function Documentation

NcType NcVlenType::getBaseType ( ) const

Returns the base type.

NcVlenType & NcVlenType::operator= ( const NcVlenType rhs)

assignment operator

NcVlenType & NcVlenType::operator= ( const NcType rhs)

Assignment operator. This assigns from the base type NcType object. Will throw an exception if the NcType is not the base of a Vlen type.


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