class StarFileNode |
The Mother Of All Star Nodes (literally).
| AddDataBlock (const string & name) DEPRECIATED - Use the vector insert operator of ASTlist instead. | |
| AddSaveFrame (const string & name) DEPRECIATED - Use the vector insert operator of ASTlist instead. | |
| AddSaveFrameDataItem ( const string & name, const string & value, DataValueNode::ValType type) DEPRECIATED - Use the vector insert operator instead. | |
| AddSaveFrameLoop () DEPRECIATED - Use the vector insert operator instead. | |
| AddSaveFrameLoopDataName (const string & name) DEPRECIATED - Use the vector insert operator 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 the vector insert operator instead. | |
| AddSaveFrameToDataBlock (string datablockName, DataNode* newNode) DEPRECIATED - Use the vector insert operator of ASTlist instead. | |
| GiveMyDataBlockList () Returns a list of all blocks in the star tree. | |
| RemoveSaveFrame (string datablockName, string saveframeName) DEPRECIATED - Use the delete operator insread, or see List::erase (STL vector erase): Deletes the save frame name given in the data block name given: | |
| ReturnDataBlockDataNode (string datablockName, string saveframeName) DEPRECIATED - see searchByTag instead: Returns the save frame matching the name given in the data block name given: | |
| Unparse (int indent) Print the whole star file out to (*os), indenting it to the level given in the parameter. | |
| isOfType ( ASTtype T ) | |
| myType (void) | |
| 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. | |
| ~StarFileNode () |
| | |
| Status This status is sometimes returned by functions to report errors |
The Mother Of All Star Nodes (literally). This node is the root of the star tree for a whole star file. If a star file is parsed in with yyparse(), it produces an object of this type, which in turn contains the rest of the star tree.
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.
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.
(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