#include <yateclass.h>
Inheritance diagram for NamedString:
Public Member Functions | |
NamedString (const char *name, const char *value=0) | |
const String & | name () const |
virtual const String & | toString () const |
NamedString & | operator= (const char *value) |
A string class with a hashed string name
NamedString | ( | const char * | name, | |
const char * | value = 0 | |||
) |
Creates a new named string.
name | Name of this string | |
value | Initial value of the string. |
const String& name | ( | ) | const [inline] |
Retrive the name of this string.
virtual const String& toString | ( | ) | const [virtual] |
Get a string representation of this object
Reimplemented from String.
NamedString& operator= | ( | const char * | value | ) | [inline] |
Value assignment operator
Reimplemented from String.