LLEnum Class Reference

#include <llenum.h>

List of all members.

Public Types

enum  { UNDEFINED = 0xffffffff }
typedef std::pair< const
std::string, const U32
enum_t

Public Member Functions

 LLEnum (const enum_t values_array[], const U32 length)
U32 operator[] (std::string str)
const std::string operator[] (U32 index)

Private Attributes

std::map< const std::string,
const U32
mEnumMap
std::vector< std::string > mEnumArray


Detailed Description

Definition at line 36 of file llenum.h.


Member Typedef Documentation

typedef std::pair<const std::string, const U32> LLEnum::enum_t

Definition at line 39 of file llenum.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
UNDEFINED 

Definition at line 40 of file llenum.h.


Constructor & Destructor Documentation

LLEnum::LLEnum ( const enum_t  values_array[],
const U32  length 
) [inline]

Definition at line 45 of file llenum.h.

References i, mEnumArray, and mEnumMap.


Member Function Documentation

U32 LLEnum::operator[] ( std::string  str  )  [inline]

Definition at line 58 of file llenum.h.

References mEnumMap, and UNDEFINED.

const std::string LLEnum::operator[] ( U32  index  )  [inline]

Definition at line 69 of file llenum.h.

References mEnumArray.


Member Data Documentation

std::map<const std::string, const U32> LLEnum::mEnumMap [private]

Definition at line 79 of file llenum.h.

Referenced by LLEnum(), and operator[]().

std::vector<std::string> LLEnum::mEnumArray [private]

Definition at line 80 of file llenum.h.

Referenced by LLEnum(), and operator[]().


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

Generated on Fri May 16 08:44:20 2008 for SecondLife by  doxygen 1.5.5