ColorDB Namespace Reference


Detailed Description

Color information database.


Typedefs

typedef std::map< int,
std::string > 
Colors
typedef Colors::iterator ColorIterator

Functions

void load ()
 Loads the color data from colors.xml.
void unload ()
 Clear the color data.
std::string & get (int id)
int size ()


Typedef Documentation

typedef Colors::iterator ColorDB::ColorIterator

Definition at line 49 of file colordb.h.

typedef std::map<int, std::string> ColorDB::Colors

Definition at line 48 of file colordb.h.


Function Documentation

std::string & ColorDB::get ( int  id  ) 

Definition at line 99 of file colordb.cpp.

void ColorDB::load (  ) 

Loads the color data from colors.xml.

Definition at line 40 of file colordb.cpp.

int ColorDB::size (  ) 

Definition at line 117 of file colordb.cpp.

void ColorDB::unload (  ) 

Clear the color data.

Definition at line 91 of file colordb.cpp.


Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5