class DataLoopNode |
A DataLoopNode is a list of tagnames and a list of values for those names.
| AddDataName (const string & name) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| AddDataValue ( const string & value, DataValueNode::ValType type ) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| ChangeName (const string &oldName, const string &newName ) Find the old tag name in the loop and change it to the new name | |
| FlattenNestedLoop ( List<DataNameNode*>* &L, List<DataValueNode*>* &M) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| NotVirtualIsOfType ( ASTtype T ) | |
| RemoveColumn ( const string name ) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| Unparse (int indent) | |
| Unparse (int indent, int ) | |
| getMaxDepth ( void ) Get the deepest depth of nesting of the entire loop. | |
| getVals ( void ) | |
| getValsPtr ( void ) | |
| isOfType ( ASTtype T ) | |
| myLongestStr ( void ) const Returns the length of the longest string in this object. | |
| myName () const Return the name of the loop (arbitrarily chosen to be the name of the first tag in the loop's names | |
| myType (void) | |
| reset () DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| returnLoopValues (const string & tagName) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| returnNextLoopElement (DataValueNode* & v) DEPRECIATED - instead use the STL vector-like methods outlined in the documentation for DataLoopNameListNode and LoopTableNode | |
| 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. | |
| setNames ( DataLoopNameListNode &N ) Although this method is public, you should not use it. | |
| setVals ( LoopTableNode &L ) Although this method is public, you should not use it. | |
| tagPositionDeep ( string tagName, int* nestLevel, int* column ) Get the integer indexes that tell where the given tagname is located. | |
| unlinkChild ( ASTnode* child ) unlinks the given ASTnode from this ASTnode, assuming that the given ASTnode is a child of this ASTnode. | |
| ~DataLoopNode () Destructor: |
| | |
| getVals returns a reference or pointer to the LoopTableNode inside this DataValueNode. |
A DataLoopNode is a list of tagnames and a list of values for those names. It corresponds to a 'loop' in a STAR file.
* loop_ * _foo * _bar * * fooval1 barval1 fooval2 barval2 fooval3 barval3 * fooval4 barval4 fooval5 barval5 fooval6 barval6 * stop_ *
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