class StringArray

A String array. More...

Full nameTelEngine::StringArray
Definition#include <libs/yjabber/xmpputils.h>
Inherited byXMPPError, XMPPNamespace, XmlTag
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

Implements a String array set from an already allocated

inline  StringArray (const String* array, unsigned int len)

StringArray

Constructor

Parameters:
arrayThe array
lenArray length

inline const String&  at (unsigned int index)

at

[const]

Return the string at a given index (safe)

Parameters:
indexThe index in the array

Returns: The String at the requested index or an empty one if the index is invalid

inline const String&  operator[] (unsigned int index)

operator[]

[const]

Return the string at a given index (unsafe)

Parameters:
indexThe index in the array

Returns: The String at the requested index

inline int  operator[] (const String& token)

operator[]

Lookup for an integer associated with a given String

Parameters:
tokenThe String find

Returns: Token value or 0 if not found

String* m_array

m_array

[protected]

unsigned int m_length

m_length

[protected]


Generated by: paulc on bussard on Tue Apr 12 17:15:21 2011, using kdoc 2.0a54.