This is the type that holds a single string value from the star file, and the delimiter type taht is used to quote it
![]() | DataValueNode ( bool link, DataValueNode © ) Copy with parallel link |
![]() | DataValueNode ( DataValueNode © ) Copy constructor. |
![]() | DataValueNode (const char *str, ValType type ) |
![]() | DataValueNode (const string &str, ValType type ) |
![]() | DataValueNode (const char *str) |
![]() | isOfType ( ASTtype T ) |
![]() | myDelimType ( void ) const Returns the type of the DataValueNode - indicating what kind of string delimiter it has |
![]() | myLongestStr ( void ) Returns the length of the longest string in this object |
![]() | myName () const |
![]() | myType (void) |
![]() | myValue ( void ) const Returns the string value of this node |
![]() | operator< (const string &str) |
![]() | operator< (const char *str) |
![]() | operator<= (const char *str) |
![]() | operator<= (const string &str) |
![]() | operator== (const string &str) For comparing values as strings |
![]() | operator== (const char *str) |
![]() | operator> (const char *str) |
![]() | operator> (const string &str) |
![]() | operator>= (const string &str) |
![]() | operator>= (const char *str) |
![]() | setDelimType ( ValType setTo ) Sets the type of string value this is, and consequently, what kind of delimiter to use when printing this node out |
![]() | Unparse (int indent) |
![]() | Unparse (int indent, int presize, int postsize) This function is public for reasons of technical difficulty |
![]() |
|
![]() | myStrVal |
This is the type that holds a single string value from the star file, and the delimiter type taht is used to quote it
virtual bool isOfType( ASTtype T )
ValType myDelimType( void ) const
void setDelimType( ValType setTo )
string myValue( void ) const
void setValue( const string &newVal )
void setValue( const char *newVal )
val->setValue( "new_value" );
val->setType( DataValudeNode::FRAMECODE );
Do *NOT* do this:
val->setValue( "$new_value" );
There are two overloaded versions: one for string and
one for char *
DataValueNode(const char *str)
DataValueNode(const string &str, ValType type )
DataValueNode(const char *str, ValType type )
DataValueNode( DataValueNode © )
DataValueNode( bool link, DataValueNode © )
string myName() const
virtual void Unparse(int indent)
virtual void Unparse(int indent, int presize, int postsize)
virtual bool operator== (const string &str)
a != b <==> !( a == b )
a >= b <==> !( a < b )
a > b <==> !( a < b ) && !( a == b )
... etc ...
End Gripe.)
virtual bool operator== (const char *str)
virtual bool operator< (const string &str)
virtual bool operator> (const string &str)
virtual bool operator<=(const string &str)
virtual bool operator>=(const string &str)
virtual bool operator< (const char *str)
virtual bool operator> (const char *str)
virtual bool operator<=(const char *str)
virtual bool operator>=(const char *str)
string myStrVal
virtual int myLongestStr( void )
alphabetic index hierarchy of classes
generated by doc++