LLEnum Class Reference

#include <llenum.h>

Collaboration diagram for LLEnum:

Collaboration graph
List of all members.

Public Types

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

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
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


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

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

Definition at line 69 of file llenum.h.

References mEnumArray.

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

Definition at line 58 of file llenum.h.

References mEnumMap, and UNDEFINED.

Member Data Documentation

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

Definition at line 80 of file llenum.h.

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

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

Definition at line 79 of file llenum.h.

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

The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:15 2010 for Second Life Viewer by  doxygen 1.4.7