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 |
![]() | isOfType ( ASTtype T ) |
![]() | myLongestStr ( void ) Returns the length of the longest string in this object |
![]() | 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 |
![]() | Unparse (int indent) |
![]() | ~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)
StarListNode(ASTlist<BlockNode *> *L)
StarListNode()
StarListNode( bool link, StarListNode &L )
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.
virtual void Unparse(int indent)
virtual ASTnode::ASTtype myType(void)
virtual bool isOfType( ASTtype T )
ASTlist <BlockNode*> * GiveMyDataBlockList()
DataNode* ReturnDataBlockDataNode(string datablockName, string saveframeName)
void RemoveSaveFrame(string datablockName, string saveframeName)
void AddSaveFrameToDataBlock(string datablockName, DataNode* newNode)
StarFileNode::Status AddDataBlock(const string & name)
StarFileNode::Status AddSaveFrame(const string & name)
StarFileNode::Status AddSaveFrameDataItem( const string & name, const string & value, DataValueNode::ValType type )
StarFileNode::Status AddSaveFrameLoop()
StarFileNode::Status AddSaveFrameLoopDataName(const string & name)
StarFileNode::Status AddSaveFrameLoopDataValue( const string & value, DataValueNode::ValType type )
virtual List <ASTnode*> * searchByTag( string &searchFor )
virtual List <ASTnode*> * searchForType( ASTtype type, int delim = -1 )
delim - the delimiter type if this is a search for a
DataValueNode. The default is -1 which means "dont-care" virtual List <ASTnode*> * searchByTagValue( string &tag, string &value )
value - find it where it has this value. virtual bool unlinkChild( ASTnode *child )
virtual int myLongestStr( void )
alphabetic index hierarchy of classes
generated by doc++