Logo Search packages:      
Sourcecode: yate version File versions  Download package

TelEngine::NamedList Class Reference

#include <telengine.h>

Inheritance diagram for TelEngine::NamedList:

TelEngine::String TelEngine::GenObject TelEngine::Message

List of all members.

Detailed Description

A named string container class.

This class holds a named list of named strings

Definition at line 1360 of file telengine.h.

Public Member Functions

NamedListaddParam (const char *name, const char *value)
NamedListaddParam (NamedString *param)
Stringassign (const char *value, int len=-1)
char at (int index) const
const char * c_str () const
void clear ()
NamedListclearParam (const String &name)
unsigned int count () const
virtual void destruct ()
bool endsWith (const char *what, bool wordBreak=false) const
int find (const char *what, unsigned int offs=0) const
int find (char what, unsigned int offs=0) const
NamedStringgetParam (unsigned int index) const
NamedStringgetParam (const String &name) const
const char * getValue (const String &name, const char *defvalue=0) const
unsigned int hash () const
unsigned int length () const
int matchCount () const
bool matches (Regexp &rexp)
virtual bool matches (const String &value) const
int matchLength (int index=0) const
int matchOffset (int index=0) const
String matchString (int index=0) const
String msgEscape (char extraEsc=0) const
String msgUnescape (int *errptr=0, char extraEsc=0) const
 NamedList (const char *name)
bool null () const
bool operator &= (const char *value) const
 operator const char * () const
bool operator!= (const String &value) const
bool operator!= (const char *value) const
Stringoperator+= (bool value)
Stringoperator+= (unsigned int value)
Stringoperator+= (int value)
Stringoperator+= (char value)
Stringoperator+= (const char *value)
Stringoperator<< (bool value)
Stringoperator<< (unsigned int value)
Stringoperator<< (int value)
Stringoperator<< (char value)
Stringoperator<< (const char *value)
bool operator== (const String &value) const
bool operator== (const char *value) const
Stringoperator>> (bool &store)
Stringoperator>> (unsigned int &store)
Stringoperator>> (int &store)
Stringoperator>> (char &store)
Stringoperator>> (const char *skip)
char operator[] (int index) const
bool operator|= (const char *value) const
String replaceMatches (const String &templ) const
int rfind (char what) const
const char * safe () const
NamedListsetParam (const char *name, const char *value)
NamedListsetParam (NamedString *param)
ObjListsplit (char separator, bool emptyOK=true) const
bool startSkip (const char *what, bool wordBreak=true)
bool startsWith (const char *what, bool wordBreak=false) const
String substr (int offs, int len=-1) const
bool toBoolean (bool defvalue=false) const
int toInteger (const TokenDict *tokens, int defvalue=0, int base=0) const
int toInteger (int defvalue=0, int base=0) const
StringtoLower ()
virtual const StringtoString () const
StringtoUpper ()
StringtrimBlanks ()

Static Public Member Functions

static const Stringempty ()
static unsigned int hash (const char *value)
static String msgEscape (const char *str, char extraEsc=0)
static String msgUnescape (const char *str, int *errptr=0, char extraEsc=0)

Protected Member Functions

virtual void changed ()

Private Member Functions

 NamedList (const NamedList &value)
NamedListoperator= (const NamedList &value)

Private Attributes

ObjList m_params

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index