class DataListNode |
Holds a list of the kinds of things that can be in a DataBlockNode.
| AddSaveFrame (const string & name) DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Add an empty save frame to the star file, labelling it eith the name given. | |
| AddSaveFrameDataItem ( const string & name, const string & value, DataValueNode::ValType type) DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Add a data item to the save frame, with the name/value pair given. | |
| AddSaveFrameLoop () DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Add a loop to the last save frame in the star file. | |
| AddSaveFrameLoopDataName (const string & name) DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Add a new name to the loop at the end of the last save frame of the file. | |
| AddSaveFrameLoopDataValue ( const string & value, DataValueNode::ValType type ) DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Add a new value to the end of the loop at the end of the last save frame of the file. | |
| AddSaveFrameToDataBlock (DataNode* newNode) DEPRECIATED - use STL vector insert() on the list returned by GiveMyDataList instead Given a save frame, adds it to the datablock name given. | |
| GiveMyDataList ( void ) Returns a list of all DataNodes in the data list. | |
| RemoveSaveFrame (string saveframe) DEPRECIATED - use STL vector erase() on the list returned by GiveMyDataList instead Remove the save frame matching the given name. | |
| ReturnDataBlockDataNode (string saveframeName) DEPRECIATED - use searchByTag() instead Return the datanode (usually a saveframe) that matches the name given) | |
| Unparse (int indent) | |
| isOfType ( ASTtype T ) | |
| myLongestStr ( void ) Returns the length of the longest string in this object. | |
| myType (void) | |
| reserve ( size_t initSize ) Just like the vector method of the same name | |
| searchByTag ( string &searchFor) Given a tag name, find the AST object it resides in. | |
| searchByTagValue ( string &tag, string &value ) Given a tag name and a value, find the AST object that that particular tag and value pair resides in. | |
| searchForType ( ASTtype type, int delim = -1 ) This method returns a list of all the nodes of the given type that are inside this node, or children of this node, or children of children of this node, etc all the way down to the leaf nodes. | |
| unlinkChild ( ASTnode* child ) unlinks the given ASTnode from this ASTnode, assuming that the given ASTnode is a child of this ASTnode. | |
| ~DataListNode () Destructor - Recursively destroys the items inside the node as well |
| |
Holds a list of the kinds of things that can be in a DataBlockNode.(This means SaveFrameNodes, DataLoopNodes, and DataItemNodes)
This search is case-insensitive. The names of things, according to the STAR specification, are supposed to be case-insensitive. This is being applied not only to tag names but also to saveframe names and datablock names.
WARNING: The list returned is allocated in heap space. It is the caller's responsibility to delete the list after it is no longer needed.
(However, the values are case-sensitive. A search for a tag of _t1 is identical to a search for a tag of _T1, but a search for a value of "V1" is different from a search for a value of "v1".)
WARNING: The list returned is allocated in heap space. It is the caller's responsibility to delete the list after it is no longer needed.
Alphabetic index HTML hierarchy of classes or Java