|
Yate
|
A named string class. More...
#include <yateclass.h>
Public Member Functions | |
| NamedString (const char *name, const char *value=0) | |
| const String & | name () const |
| virtual const String & | toString () const |
| virtual void * | getObject (const String &name) const |
| NamedString & | operator= (const char *value) |
A named string class.
A string class with a hashed string name
| NamedString | ( | const char * | name, |
| const char * | value = 0 |
||
| ) | [explicit] |
Creates a new named string.
| name | Name of this string |
| value | Initial value of the string |
Get a pointer to a derived class given that class name
| name | Name of the class we are asking for |
Reimplemented from String.
Reimplemented in NamedPointer, ExpWrapper, MimeAuthLine, and MimeHeaderLine.
Retrieve the name of this string.
Referenced by XMPPUtils::createParameter().
| NamedString& operator= | ( | const char * | value | ) | [inline] |
Value assignment operator
Reimplemented from String.
Reimplemented in NamedPointer, and MimeHeaderLine.
References String::operator=().
Referenced by MimeHeaderLine::operator=(), and NamedPointer::operator=().
Get a string representation of this object
Reimplemented from String.
1.7.6.1