inlib  1.2.0
Public Member Functions
inlib::sg::style_color Class Reference

List of all members.

Public Member Functions

 style_color ()
 style_color (const std::string &a_name, const colorf &a_color)
 style_color (const std::string &a_name, float a_r, float a_g, float a_b)
virtual ~style_color ()
 style_color (const style_color &a_from)
style_coloroperator= (const style_color &a_from)

Detailed Description

Definition at line 13 of file style_colormap.


Constructor & Destructor Documentation

inlib::sg::style_color::style_color ( ) [inline]

Definition at line 15 of file style_colormap.

: std::pair<std::string,colorf>("",colorf()){}
inlib::sg::style_color::style_color ( const std::string &  a_name,
const colorf a_color 
) [inline]

Definition at line 16 of file style_colormap.

  :std::pair<std::string,colorf>(a_name,a_color)
  {}
inlib::sg::style_color::style_color ( const std::string &  a_name,
float  a_r,
float  a_g,
float  a_b 
) [inline]

Definition at line 19 of file style_colormap.

  :std::pair<std::string,colorf>(a_name,colorf(a_r,a_g,a_b))
  {}
virtual inlib::sg::style_color::~style_color ( ) [inline, virtual]

Definition at line 22 of file style_colormap.

{}
inlib::sg::style_color::style_color ( const style_color a_from) [inline]

Definition at line 24 of file style_colormap.

  :std::pair<std::string,colorf>(a_from.first,a_from.second)
  {}

Member Function Documentation

style_color& inlib::sg::style_color::operator= ( const style_color a_from) [inline]

Definition at line 27 of file style_colormap.

                                                   {
    first = a_from.first;
    second = a_from.second;
    return *this;
  }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines