#include <adf++.h>
Public Types | |
typedef iterator< Node > | Child_iterator_t |
Public Methods | |
Node (Node const &rhs) | |
virtual | ~Node () |
Node | createChild (std::string const &iChildName, std::string const &iChildLabel="") |
void | deleteChild (std::string const &) |
void | deleteChild (Node &iChildNode) |
void | deleteChildren () |
int | getNumChildren () const |
Node | getChild (std::string const &iChildName) const |
Child_iterator_t | beginChild () const |
Child_iterator_t | endChild () const |
bool | hasChild (std::string const &iChildName) const |
bool | hasChild (Node const &iChildNode) const |
bool | hasChild (double iChildId) const |
std::string | getName () const |
void | renameChild (std::string const &iOldName, std::string const &iName) |
void | renameChild (Node &iChildNode, std::string const &iName) |
void | reparentChild (std::string const &iChildName, Node &iNewParent) |
void | reparentChild (Node const &iChildNode, Node &iNewParent) |
Node | createLink (std::string const &iChildName, std::string const &iLinkedToName) |
Node | createLink (std::string const &iChildName, Node const &iLinkedToNode) |
Node | createLink (std::string const &iChildName, std::string const &iLinkedToName, std::string const &iLinkedToFile) |
bool | isLink () const |
std::string | getLinkFile () const |
std::string | getLinkPath () const |
Node | getRootNode () const |
std::string | getLabel () const |
void | setLabel (std::string const &iLabel) |
DataType | getDataType () const |
std::string | getDataTypeString () const |
void | setDataType (DataType iType) |
void | setDataType (std::string const &iType) |
int | getNumDimensions () const |
int | getDimension (int iNth) const |
void | setNumDimensions (int iNumDim) |
void | setDimension (int iNth, int iSize) |
void | setDimensions (int iNumDimensions, int const *iDimensions) |
void | setDimensions (int iSize) |
void | setDimensions (int iSize1, int iSize2) |
void | setDimensions (int iSize1, int iSize2, int iSize3) |
void | setDataTypeDimensions (DataType iType, int iNumDimensions, int const *iDimensions) |
void | setDataTypeDimensions (std::string const &iType, int iNumDimensions, int const *iDimensions) |
void | setDataTypeDimensions (std::string const &iType, int iSize) |
void | setDataTypeDimensions (DataType iType, int iSize) |
void | setDataTypeDimensions (DataType iType, int iSize1, int iSize2) |
void | setDataTypeDimensions (DataType iType, int iSize1, int iSize2, int iSize3) |
void | readData (void *oData) const |
void | readData (int *oData) const |
void | readData (long long *oData) const |
void | readData (unsigned *oData) const |
void | readData (unsigned long long *oData) const |
void | readData (float *oData) const |
void | readData (double *oData) const |
void | readData (std::complex< float > *oData) const |
void | readData (std::complex< double > *oData) const |
void | readData (char *oData) const |
void | readData (unsigned char *oData) const |
void | readData (std::string *oData) const |
void | writeData (void const *iData) |
void | writeData (int const *iData) |
void | writeData (long long const *iData) |
void | writeData (unsigned const *iData) |
void | writeData (unsigned long long const *iData) |
void | writeData (float const *iData) |
void | writeData (double const *iData) |
void | writeData (std::complex< float > const *iData) |
void | writeData (std::complex< double > const *iData) |
void | writeData (char const *iData) |
void | writeData (unsigned char const *iData) |
void | writeData (std::string const &iData) |
void | update () |
void | flush () |
double | getId () const |
Node (double iId) | |
Node (Private *iImpl) | |
Static Public Methods | |
double | createBareChild (double iParent, std::string const &iName, std::string const &iLabel="") |
Protected Methods | |
double | createBareChild (std::string const &iName, std::string const &iLabel="") |
Protected Attributes | |
refcnt_ptr< Private > | mImpl |
Friends | |
class | File |
|
|
|
Copy constructor |
|
Deletes this node handle. |
|
Creates a solitary node for lookup. This is discouraged and for convenience only. Dismiss as soon as possible. |
|
Creates a node from implementation data. |
|
Gets an iterator to the first child. |
|
Creates a new child node in ADF only. |
|
Creates a new child node in ADF only. |
|
Create a child node with the given name (and possibly label). |
|
Create a child which is a link in another file |
|
Create a child which is a link to another node |
|
Create a child which is a link in this file |
|
|
|
Delete the given child node. |
|
Delete all child nodes. |
|
Gets an iterator one past the last child. |
|
Assure the data is written to disk. |
|
Get the named child node. |
|
Get the data type of this node. |
|
Get the string representation of the data type of this node. |
|
Get the size of the nth dimension. |
|
Get the basic ADF id. |
|
Get the label of this node. |
|
Get the file name of a link. |
|
Get the path to the linked to node. |
|
Get the intrinsic name of this node. |
|
Get the number of children of this node. |
|
Get the number of dimensions. |
|
Get the root node of the file this node is in. |
|
Ask if the given id is a child node. |
|
Ask if this is a child node. |
|
Ask if there is a named child. |
|
Check whether this node is in fact a link . |
|
Convenience function for reading a string |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read the data from disk, possibly with conversion. |
|
Read the raw data from disk. |
|
Rename child node. |
|
Rename child node. |
|
|
|
Move child to another parent node |
|
Set the data type of this node with string representation. Data is cleared. |
|
Set the data type of this node. Data is cleared. |
|
Set data type, 3D and the three dimensions. |
|
Set data type, 2D and the two dimensions. |
|
Set data type, 1D and the single one dimension. |
|
Set data type and the single one dimension. |
|
Set data type (as string) and all dimensions at once. |
|
Set data type and all dimensions at once. |
|
Set the size of the nth dimension. Data is cleared. |
|
Set to 2D and the size of two dimension. Data is cleared. |
|
Set to 2D and the size of two dimension. Data is cleared. |
|
Set to 1D and the size of the only dimension. Data is cleared. |
|
Set all dimensions at once. |
|
Relabel this node. |
|
Set the number of dimensions. All dimensions values are set to 1, data is cleared. |
|
Reread the node info again from the CGNS file. |
|
Convenience function for reading a string |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Write the data to disk, possibly with conversion. |
|
Write the raw data to disk. |
|
|
|
|