Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CGNS::Node Class Reference

#include <cgns++.h>

Inherited by CGNS::Dimensioned, CGNS::Elements, CGNS::Family, CGNS::IndexArray, and CGNS::ZoneGridConnectivity.

Inheritance diagram for CGNS::Node:

Inheritance graph
List of all members.

Public Types

typedef iterator< DescriptorDescriptor_iter_t

Public Methods

std::string getName () const
std::string getLabel () const
int getNumDescriptors () const
std::string getDescriptorText (std::string const &iDescriptorName) const
void writeDescriptor (std::string const &iDescriptorName, std::string const &iDescriptorText)
Descriptor_iter_t beginDescriptor () const
Descriptor_iter_t endDescriptor () const
int getOrdinal () const
bool hasOrdinal () const
void deleteOrdinal ()
int writeOrdinal (int)
void flush ()
double getDatabaseId () const

Protected Methods

 Node (Private::Node *iImpl)
 Node (Node const &iRhs)
 ~Node ()

Protected Attributes

refcnt_ptr< Private::Node > mImpl


class Private::Broker

Detailed Description

Represents an arbitrary SIDS compatible node in a CGNS file

Member Typedef Documentation

typedef iterator<Descriptor> Descriptor_iter_t

Constructor & Destructor Documentation

Node Private::Node *    iImpl [protected]

Creates this basic node from implementation data.

Node Node const &    iRhs [protected]

Copies the node.

~Node   [protected]

Deletes this node.

Member Function Documentation

Descriptor_iter_t beginDescriptor   const

void deleteOrdinal  

Descriptor_iter_t endDescriptor   const

void flush  

Flushes this node's data to disk.

double getDatabaseId   const

Gets the ADF id to tamper directly with the ADF file.

std::string getDescriptorText std::string const &    iDescriptorName const

Gets the text of the named descriptor.

std::string getLabel   const

Gets the label of this node.

std::string getName   const

Gets the name of this node.

int getNumDescriptors   const

Gets the number of descriptors.

int getOrdinal   const

bool hasOrdinal   const

void writeDescriptor std::string const &    iDescriptorName,
std::string const &    iDescriptorText

Writes a descriptor with name and text. If the name already exists, the text is modified.

int writeOrdinal int   

Friends And Related Function Documentation

friend class Private::Broker [friend]

Member Data Documentation

refcnt_ptr<Private::Node> mImpl [protected]

Implementation data

Generated on Thu Mar 14 10:44:30 2002 for CGNS++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001