class DataNameNode

Holds a name of either a tag/value pair or a loop tag name

Inheritance:


Public Methods

[more] DataNameNode (bool link, DataNameNode &fromThis )
Parallel copy constructor:
[more] DataNameNode (const string &str)
[more]void Unparse (int indent, int padsize)
[more]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]string myName () const
Returns the name of this tag (includes the leading underscore)
[more]virtual ASTnode::ASTtype myType (void)
[more]void setName ( const string &newName )
Sets the name of this tag (caller must provide the leading underscore)


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

Holds a name of either a tag/value pair or a loop tag name
ovirtual ASTnode::ASTtype myType(void)

ovirtual bool isOfType( ASTtype T )

o DataNameNode(const string &str)

o DataNameNode(bool link, DataNameNode &fromThis )
Parallel copy constructor:

ostring myName() const
Returns the name of this tag (includes the leading underscore)

ovoid setName( const string &newName )
Sets the name of this tag (caller must provide the leading underscore)

ovoid Unparse(int indent)

ovoid Unparse(int indent, int padsize)

ovirtual int myLongestStr( void ) const
Returns the length of the longest string in this object. Used by Unparse() at various levels of the AST tree. (In this case it is just the length of the name itself:)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


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