class DataNode

classes: DataItemNode, DataLoopNode, or SaveFrameNode

Inheritance:


Public Methods

[more]virtual void Unparse (int indent, int padsize )
This function is public for reasons of technical difficulty.
[more]virtual void Unparse (int indent)
[more]virtual bool isOfType ( ASTtype T )
[more]virtual int myLongestStr ( void ) const
Returns the length of the longest string in this object.
[more]virtual string myName () const
return the name of this node (tagname or saveframe name or the name of the loop's first tag if this is a DataLoopNode)
[more]virtual ASTnode::ASTtype myType (void)
[more]virtual ASTlist<DataValueNode *> * returnLoopValues (const string & tagName)
DEPRECIATED: Return the values in the loop that go with the given tag name.


Inherited from ASTnode:

Public Methods

obool NotVirtualIsOfType( ASTtype T )
ovirtual void copyFrom( const ASTnode &copyFromMe )
ovirtual ASTnode* myParent(void)
ovirtual bool removeChild( ASTnode* child )
ovirtual bool removeMe( void )
ovirtual List<ASTnode*> * searchByTag( char* searchFor)
ovirtual List<ASTnode*> * searchByTag( string &searchFor)
ovirtual List<ASTnode*> * searchForType( ASTtype type, int delim = -1)
ovirtual void setParent( ASTnode* p )
ovirtual bool unlinkChild( ASTnode* child )
ovirtual bool unlinkMe( void )

Public Members

o
oenum ASTtype

Protected Methods

ovoid printIndent(int indent)


Inherited from ASTnodeWithPosBits:


Documentation

classes: DataItemNode, DataLoopNode, or SaveFrameNode
ovirtual void Unparse(int indent)

ovirtual void Unparse(int indent, int padsize ) = 0
This function is public for reasons of technical difficulty. You should not need to call it yourself. Instead call the other version of Unparse: Unparse(int).

ovirtual ASTnode::ASTtype myType(void)

ovirtual bool isOfType( ASTtype T )

ovirtual string myName() const = 0
return the name of this node (tagname or saveframe name or the name of the loop's first tag if this is a DataLoopNode)

ovirtual ASTlist<DataValueNode *> * returnLoopValues(const string & tagName) = 0
DEPRECIATED: Return the values in the loop that go with the given tag name. Only works with the outermost loop level. Only makes sense if this DataNode is a DataLoopNode, else it returns an empty list.

ovirtual int myLongestStr( void ) const = 0
Returns the length of the longest string in this object. Used by Unparse() at various levels of the AST tree. (In this case, it does nothing - this is an incomplete virtual class.)


Direct child classes:
SaveFrameNode
DataLoopNode
DataItemNode

Alphabetic index HTML hierarchy of classes or Java


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