class StarListNode |
This class holds a list of the nodes that can be inside a star file.
| GiveMyDataBlockList () Returns a list of nodes that are in the list. | |
| 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. | |
| ~StarListNode () Destructor - also destructs everything in this list |
| |
This class holds a list of the nodes that can be inside a star file. (data blocks are all that is allowed)
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