Logo ROOT  
Reference Guide
ROOT::MacOSX::X11::ColorParser Class Reference

Definition at line 52 of file X11Colors.h.

Classes

struct  RGB_t
 

Public Member Functions

 ColorParser ()
 
bool ParseColor (const TString &colorString, ColorStruct_t &color) const
 

Private Types

typedef rgb_map::const_iterator const_rgb_iterator
 
typedef std::map< TString, RGB_trgb_map
 

Private Member Functions

bool LookupColorByName (const TString &colorName, ColorStruct_t &color) const
 
bool ParseRGBTriplet (const TString &rgb, ColorStruct_t &color) const
 

Private Attributes

std::map< TString, RGB_tfX11RGB
 

#include <X11Colors.h>

Member Typedef Documentation

◆ const_rgb_iterator

typedef rgb_map::const_iterator ROOT::MacOSX::X11::ColorParser::const_rgb_iterator
private

Definition at line 84 of file X11Colors.h.

◆ rgb_map

Definition at line 83 of file X11Colors.h.

Constructor & Destructor Documentation

◆ ColorParser()

ROOT::MacOSX::X11::ColorParser::ColorParser ( )

Definition at line 163 of file X11Colors.mm.

Member Function Documentation

◆ LookupColorByName()

bool ROOT::MacOSX::X11::ColorParser::LookupColorByName ( const TString colorName,
ColorStruct_t color 
) const
private

Definition at line 141 of file X11Colors.mm.

◆ ParseColor()

bool ROOT::MacOSX::X11::ColorParser::ParseColor ( const TString colorString,
ColorStruct_t color 
) const

Definition at line 93 of file X11Colors.mm.

◆ ParseRGBTriplet()

bool ROOT::MacOSX::X11::ColorParser::ParseRGBTriplet ( const TString rgb,
ColorStruct_t color 
) const
private

Definition at line 106 of file X11Colors.mm.

Member Data Documentation

◆ fX11RGB

std::map<TString, RGB_t> ROOT::MacOSX::X11::ColorParser::fX11RGB
private

Definition at line 82 of file X11Colors.h.


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