#include <ColorParameterSet.h>
Public Member Functions | |
CColorParameterSet () | |
CColorParameterSet (const CColorParameterSet &colorParameterSet) | |
const int * | GetColorParameters (ObjectColor color) const |
bool | LoadFromFile (const char *pFileName) |
CColorParameterSet & | operator= (const CColorParameterSet &colorParameterSet) |
bool | SaveToFile (const char *pFileName) |
void | SetColorParameters (ObjectColor color, int par1, int par2, int par3, int par4, int par5, int par6) |
~CColorParameterSet () | |
Static Public Member Functions | |
static ObjectColor | Translate (const char *pColorName) |
static void | Translate (ObjectColor color, std::string &sName) |
Private Attributes | |
int | m_nColors |
int ** | m_ppParameters |
Definition at line 58 of file ColorParameterSet.h.
Definition at line 61 of file ColorParameterSet.cpp.
CColorParameterSet::CColorParameterSet | ( | const CColorParameterSet & | colorParameterSet | ) |
Definition at line 96 of file ColorParameterSet.cpp.
Definition at line 83 of file ColorParameterSet.cpp.
const int * CColorParameterSet::GetColorParameters | ( | ObjectColor | color | ) | const |
Definition at line 170 of file ColorParameterSet.cpp.
bool CColorParameterSet::LoadFromFile | ( | const char * | pFileName | ) |
Definition at line 235 of file ColorParameterSet.cpp.
CColorParameterSet & CColorParameterSet::operator= | ( | const CColorParameterSet & | colorParameterSet | ) |
Definition at line 120 of file ColorParameterSet.cpp.
bool CColorParameterSet::SaveToFile | ( | const char * | pFileName | ) |
Definition at line 274 of file ColorParameterSet.cpp.
void CColorParameterSet::SetColorParameters | ( | ObjectColor | color, |
int | par1, | ||
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5, | ||
int | par6 | ||
) |
Definition at line 152 of file ColorParameterSet.cpp.
ObjectColor CColorParameterSet::Translate | ( | const char * | pColorName | ) | [static] |
Definition at line 183 of file ColorParameterSet.cpp.
void CColorParameterSet::Translate | ( | ObjectColor | color, |
std::string & | sName | ||
) | [static] |
Definition at line 207 of file ColorParameterSet.cpp.
int CColorParameterSet::m_nColors [private] |
Definition at line 85 of file ColorParameterSet.h.
int** CColorParameterSet::m_ppParameters [private] |
Definition at line 86 of file ColorParameterSet.h.