class NamedString

A named string class. More...

Full nameTelEngine::NamedString
Definition#include <yateclass.h>
InheritsTelEngine::String [public ]
Inherited byMimeAuthLine, MimeHeaderLine, NamedPointer
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A string class with a hashed string name

explicit  NamedString (const char* name, const char* value = 0)

NamedString

Creates a new named string.

Parameters:
nameName of this string
valueInitial value of the string

inline const String&  name ()

name

[const]

Retrieve the name of this string.

Returns: A hashed string with the name of the string

const String&  toString ()

toString

[const virtual]

Get a string representation of this object

Returns: A reference to the name of this object

Reimplemented from String.

void*  getObject (const String& name)

getObject

[const virtual]

Get a pointer to a derived class given that class name

Parameters:
nameName of the class we are asking for

Returns: Pointer to the requested class or NULL if this object doesn't implement it

Reimplemented from String.

inline NamedString&  operator= (const char* value)

operator=

Value assignment operator

Reimplemented from String.


Generated by: paulc on bussard on Fri Dec 21 16:28:34 2012, using kdoc 2.0a54.