Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
ColorMap Class Reference
Collaboration diagram for ColorMap:
Collaboration graph

Public Member Functions

 ColorMap ()
 
 ColorMap (std::string name)
 
void setName (std::string name)
 
void setLengthName (std::string name)
 
void setDescription (std::string description)
 
void addColor (MscColor color)
 
std::string getId (MscColor color)
 
std::string printOptParam (MscColor color)
 
std::string printColor (MscColor color)
 
std::string print ()
 
bool empty ()
 

Private Attributes

std::map< MscColor, int > color_map
 
MscColor m_last
 
std::string m_name
 
std::string m_description
 
std::string m_length_name
 

Detailed Description

Definition at line 51 of file exportTex.cpp.

Constructor & Destructor Documentation

ColorMap::ColorMap ( )
inline

Definition at line 60 of file exportTex.cpp.

ColorMap::ColorMap ( std::string  name)
inline

Definition at line 65 of file exportTex.cpp.

References m_name.

Member Function Documentation

void ColorMap::addColor ( MscColor  color)
inline
bool ColorMap::empty ( )
inline

Definition at line 156 of file exportTex.cpp.

References color_map.

std::string ColorMap::getId ( MscColor  color)
inline

Definition at line 96 of file exportTex.cpp.

References color_map, m_name, result, and string.

Referenced by print(), printColor(), and printOptParam().

std::string ColorMap::print ( )
inline
std::string ColorMap::printColor ( MscColor  color)
inline

Definition at line 127 of file exportTex.cpp.

References getId(), m_last, and result.

Referenced by PrintBmsc::print_color(), and PrintHmsc::print_color().

std::string ColorMap::printOptParam ( MscColor  color)
inline

Definition at line 121 of file exportTex.cpp.

References getId(), and result.

Referenced by PrintBmsc::print_opt_color().

void ColorMap::setDescription ( std::string  description)
inline

Definition at line 82 of file exportTex.cpp.

References m_description.

Referenced by PrintBmsc::PrintBmsc(), and PrintHmsc::PrintHmsc().

void ColorMap::setLengthName ( std::string  name)
inline

Definition at line 76 of file exportTex.cpp.

References m_length_name.

Referenced by PrintBmsc::PrintBmsc(), and PrintHmsc::PrintHmsc().

void ColorMap::setName ( std::string  name)
inline

Definition at line 70 of file exportTex.cpp.

References m_name.

Referenced by PrintBmsc::PrintBmsc(), and PrintHmsc::PrintHmsc().

Member Data Documentation

std::map<MscColor,int> ColorMap::color_map
private

Definition at line 53 of file exportTex.cpp.

Referenced by addColor(), empty(), getId(), and print().

std::string ColorMap::m_description
private

Definition at line 56 of file exportTex.cpp.

Referenced by print(), and setDescription().

MscColor ColorMap::m_last
private

Definition at line 54 of file exportTex.cpp.

Referenced by printColor().

std::string ColorMap::m_length_name
private

Definition at line 57 of file exportTex.cpp.

Referenced by setLengthName().

std::string ColorMap::m_name
private

Definition at line 55 of file exportTex.cpp.

Referenced by ColorMap(), getId(), and setName().


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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:57 for Sequence Chart Studio by  doxygen