class StarFileNode : public ASTnode


Inheritance:


Public Classes

enum Status

Public Methods

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 )
protected : void printIndent (int indent)
StarFileNode (StarListNode *n)
StarFileNode ()
virtual void Unparse (int indent = 0)
virtual void Unparse (int indent=0)

Inherited from ASTnode:

Public Classes

enum ASTtype
ASTNODE
BLOCKNODE
DATABLOCKNODE
DATAFILENODE
DATAHEADINGNODE
DATAITEMNODE
DATALISTNODE
DATALOOPNAMELISTNODE
DATALOOPDEFLISTNODE
DEPRECIATED - Do not use:
DATALOOPNODE
DATALOOPVALLISTNODE
DATANAMENODE
DATANODE
DATAVALUENODE
GLOBALBLOCKNODE
GLOBALHEADINGNODE
HEADINGNODE
LOOPROWNODE
ITERNODE
DEPRECIATED - Do not use:
LOOPNAMELISTNODE
LOOPDEFLISTNODE
DEPRECIATED - Do not use:
LOOPTABLENODE
LOOPITER
DEPRECIATED - Do not use:
LOOPVALLISTNODE
DEPRECIATED - Do not use:
SAVEFRAMELISTNODE
SAVEFRAMENODE
SAVEHEADINGNODE
STARLISTNODE
STARFILENODE

Public Methods

virtual void copyFrom( const ASTnode ©FromMe )
virtual bool isOfType( ASTtype T )
virtual ASTnode* myParent(void)
virtual ASTtype myType(void)
bool NotVirtualIsOfType( ASTtype T )
virtual bool removeChild( ASTnode *child )
virtual bool removeMe( void )
virtual List <ASTnode*> * searchByTag( char *searchFor)
virtual List <ASTnode*> * searchByTag( string &searchFor)
virtual List <ASTnode*> * searchForType( ASTtype type, int delim = -1)
virtual void setParent( ASTnode *p )
virtual size_t sizeOfMe(void)
virtual bool unlinkChild( ASTnode *child )
virtual bool unlinkMe( void )

Public

virtual ASTnode* myParallelCopy( void )
void setPeer( ASTnode *)
This method returns a pointer to an ASTnode
const string& getPreComment( void )
void setPreComment( const string &cmt )
These functions are used to give each node in the AST tree the ability to remember a comment to be pasted into the file in front of that node
virtual List <ASTnode*> * searchForTypeByTag( ASTtype type, string &tag)
Overloaded Version
virtual List <ASTnode*> * searchForTypeByTag( ASTtype type, char *tag)
Overloaded Version
This method is exactly the same as 'searchByTag()', except that it tries to return an object of the type given
virtual List <ASTnode*> * searchForTypeByTagValue( ASTtype type, string &tag, string &value)
Overloaded Version
virtual List <ASTnode*> * searchForTypeByTagValue( ASTtype type, string &tag, char *value )
Overloaded Version Just calls the above version of this function
virtual List <ASTnode*> * searchForTypeByTagValue( ASTtype type, char *tag, string &value)
Overloaded Version Just calls the above version of this function
virtual List <ASTnode*> * searchForTypeByTagValue( ASTtype type, char *tag, char *value )
Overloaded Version Just calls the above version of this function
This method is exactly like 'searchByTag()', except that it tries to return an object of the type given
virtual List <ASTnode*> * 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
virtual List <ASTnode*> * searchByTagValue( string &tag, char *value)
Overloaded Version Just calls the above version of this function
virtual List <ASTnode*> * searchByTagValue( char *tag, string &value)
Overloaded Version Just calls the above version of this function
virtual List <ASTnode*> * searchByTagValue( char *tag, char *value)
Overloaded Version Just calls the above version of this function
int getLineNum( void )
void setLineNum( int num )
These functions return the line number and set the line number on which this node was found in the STAR file
int getColNum( void )
void setColNum( int num )
These functions return the column number and set the column number on which this node was found in the STAR file

Documentation

virtual void Unparse(int indent = 0)

protected : void printIndent(int indent)

enum Status

StarFileNode(StarListNode *n)

StarFileNode()

virtual void Unparse(int indent=0)

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 )


This class has no child classes.

alphabetic index hierarchy of classes


Starlib is a creation of BioMagResBank: bmrb.wisc.edu starlib banner

generated by doc++