Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
tsa::color Class Reference

Represents a color for use in graphics operations. More...

#include <TSATypeDef.h>

Inheritance diagram for tsa::color:
tsa::object

Public Types

Public Member Functions

 color (void)
 Constructor.
 
 color (unsigned char red, unsigned char green, unsigned char blue)
 Constructor.
 
 color (use_default_t)
 Constructor.
 
 color (const color &)
 Copy constructor.
 
 color (tsa::ColorCode)
 Constructor.
 
 ~color (void)
 Destructor.
 
int B (void) const
 Blue component.
 
int G (void) const
 Green component.
 
int R (void) const
 Red component.
 
- Public Member Functions inherited from tsa::object
 object (void)
 Constructor.
 
virtual ~object (void)
 Destructor.
 
const char * class_name (void) const
 Returns the class name as returned by the 'Real Time Type Information' (RTTI) mechanism. More...
 
bool has_same_class_as (const object &other) const
 Returns true if self has the same type as other object. More...
 

Static Public Attributes

static const color alice_blue = color(c_alice_blue)
 
static const color antique_white = color(c_antique_white)
 
static const color antique_white_2 = color(c_antique_white_2)
 
static const color antique_white_3 = color(c_antique_white_3)
 
static const color antique_white_4 = color(c_antique_white_4)
 
static const color aquamarine = color(c_aquamarine)
 
static const color auto_color = color(color::use_default)
 
static const color azure = color(c_azure)
 
static const color beige = color(c_beige)
 
static const color bisque = color(c_bisque)
 
static const color bisque_2 = color(c_bisque_2)
 
static const color bisque_3 = color(c_bisque_3)
 
static const color bisque_4 = color(c_bisque_4)
 
static const color black = color(c_black)
 
static const color blanched_almond = color(c_blanched_almond)
 
static const color blue = color(c_blue)
 
static const color blue_violet = color(c_blue_violet)
 
static const color brown = color(c_brown)
 
static const color burlywood = color(c_burlywood)
 
static const color cadet_blue = color(c_cadet_blue)
 
static const color chartreuse = color(c_chartreuse)
 
static const color chocolate = color(c_chocolate)
 
static const color coral = color(c_coral)
 
static const color cornflower_blue = color(c_cornflower_blue)
 
static const color cornsilk = color(c_cornsilk)
 
static const color cornsilk_2 = color(c_cornsilk_2)
 
static const color cornsilk_3 = color(c_cornsilk_3)
 
static const color cornsilk_4 = color(c_cornsilk_4)
 
static const color cyan = color(c_cyan)
 
static const color dark_goldenrod = color(c_dark_goldenrod)
 
static const color dark_green = color(c_dark_green)
 
static const color dark_khaki = color(c_dark_khaki)
 
static const color dark_olive_green = color(c_dark_olive_green)
 
static const color dark_orange = color(c_dark_orange)
 
static const color dark_orchid = color(c_dark_orchid)
 
static const color dark_salmon = color(c_dark_salmon)
 
static const color dark_sea_green = color(c_dark_sea_green)
 
static const color dark_slate_blue = color(c_dark_slate_blue)
 
static const color dark_slate_gray = color(c_dark_slate_gray)
 
static const color dark_turquoise = color(c_dark_turquoise)
 
static const color dark_violet = color(c_dark_violet)
 
static const color deep_pink = color(c_deep_pink)
 
static const color deep_sky_blue = color(c_deep_sky_blue)
 
static const color dim_gray = color(c_dim_gray)
 
static const color dodger_blue = color(c_dodger_blue)
 
static const color firebrick = color(c_firebrick)
 
static const color floral_white = color(c_floral_white)
 
static const color forest_green = color(c_forest_green)
 
static const color gainsboro = color(c_gainsboro)
 
static const color ghost_white = color(c_ghost_white)
 
static const color gold = color(c_gold)
 
static const color goldenrod = color(c_goldenrod)
 
static const color gray = color(c_gray)
 
static const color green = color(c_green)
 
static const color green_yellow = color(c_green_yellow)
 
static const color honeydew = color(c_honeydew)
 
static const color honeydew_2 = color(c_honeydew_2)
 
static const color honeydew_3 = color(c_honeydew_3)
 
static const color honeydew_4 = color(c_honeydew_4)
 
static const color hot_pink = color(c_hot_pink)
 
static const color indian_red = color(c_indian_red)
 
static const color ivory = color(c_ivory)
 
static const color ivory_2 = color(c_ivory_2)
 
static const color ivory_3 = color(c_ivory_3)
 
static const color ivory_4 = color(c_ivory_4)
 
static const color khaki = color(c_khaki)
 
static const color lavender = color(c_lavender)
 
static const color lavender_blush = color(c_lavender_blush)
 
static const color lawn_green = color(c_lawn_green)
 
static const color lemon_chiffon = color(c_lemon_chiffon)
 
static const color light_blue = color(c_light_blue)
 
static const color light_coral = color(c_light_coral)
 
static const color light_cyan = color(c_light_cyan)
 
static const color light_goldenrod = color(c_light_goldenrod)
 
static const color light_goldenrod_yellow = color(c_light_goldenrod_yellow)
 
static const color light_gray = color(c_light_gray)
 
static const color light_pink = color(c_light_pink)
 
static const color light_salmon = color(c_light_salmon)
 
static const color light_sea_green = color(c_light_sea_green)
 
static const color light_sky_blue = color(c_light_sky_blue)
 
static const color light_slate_blue = color(c_light_slate_blue)
 
static const color light_slate_gray = color(c_light_slate_gray)
 
static const color light_steel_blue = color(c_light_steel_blue)
 
static const color light_yellow = color(c_light_yellow)
 
static const color lime_green = color(c_lime_green)
 
static const color linen = color(c_linen)
 
static const color maroon = color(c_maroon)
 
static const color medium_aquamarine = color(c_medium_aquamarine)
 
static const color medium_blue = color(c_medium_blue)
 
static const color medium_orchid = color(c_medium_orchid)
 
static const color medium_purple = color(c_medium_purple)
 
static const color medium_sea_green = color(c_medium_sea_green)
 
static const color medium_slate_blue = color(c_medium_slate_blue)
 
static const color medium_spring_green = color(c_medium_spring_green)
 
static const color medium_turquoise = color(c_medium_turquoise)
 
static const color medium_violet_red = color(c_medium_violet_red)
 
static const color midnight_blue = color(c_midnight_blue)
 
static const color mint_cream = color(c_mint_cream)
 
static const color misty_rose = color(c_misty_rose)
 
static const color moccasin = color(c_moccasin)
 
static const color navajo_white = color(c_navajo_white)
 
static const color navy = color(c_navy)
 
static const color old_lace = color(c_old_lace)
 
static const color olive_drab = color(c_olive_drab)
 
static const color orange = color(c_orange)
 
static const color orange_red = color(c_orange_red)
 
static const color orchid = color(c_orchid)
 
static const color pale_goldenrod = color(c_pale_goldenrod)
 
static const color pale_green = color(c_pale_green)
 
static const color pale_turquoise = color(c_pale_turquoise)
 
static const color pale_violet_red = color(c_pale_violet_red)
 
static const color papaya_whip = color(c_papaya_whip)
 
static const color peach_puff = color(c_peach_puff)
 
static const color peach_puff_2 = color(c_peach_puff_2)
 
static const color peach_puff_3 = color(c_peach_puff_3)
 
static const color peach_puff_4 = color(c_peach_puff_4)
 
static const color peru = color(c_peru)
 
static const color pink = color(c_pink)
 
static const color plum = color(c_plum)
 
static const color powder_blue = color(c_powder_blue)
 
static const color purple = color(c_purple)
 
static const color red = color(c_red)
 
static const color rosy_brown = color(c_rosy_brown)
 
static const color royal_blue = color(c_royal_blue)
 
static const color saddle_brown = color(c_saddle_brown)
 
static const color salmon = color(c_salmon)
 
static const color sandy_brown = color(c_sandy_brown)
 
static const color sea_green = color(c_sea_green)
 
static const color seashell = color(c_seashell)
 
static const color seashell_2 = color(c_seashell_2)
 
static const color seashell_3 = color(c_seashell_3)
 
static const color seashell_4 = color(c_seashell_4)
 
static const color sienna = color(c_sienna)
 
static const color sky_blue = color(c_sky_blue)
 
static const color slate_blue = color(c_slate_blue)
 
static const color slate_gray = color(c_slate_gray)
 
static const color snow = color(c_snow)
 
static const color snow2 = color(c_snow2)
 
static const color snow3 = color(c_snow3)
 
static const color snow4 = color(c_snow4)
 
static const color spring_green = color(c_spring_green)
 
static const color steel_blue = color(c_steel_blue)
 
static const color tan = color(c_tan)
 
static const color thistle = color(c_thistle)
 
static const color tomato = color(c_tomato)
 
static const color turquoise = color(c_turquoise)
 
static const color violet = color(c_violet)
 
static const color violet_red = color(c_violet_red)
 
static const color wheat = color(c_wheat)
 
static const color white = color(c_white)
 
static const color white_smoke = color(c_white_smoke)
 
static const color yellow = color(c_yellow)
 
static const color yellow_green = color(c_yellow_green)
 

Detailed Description

Represents a color for use in graphics operations.

Member Data Documentation

const color tsa::color::antique_white = color(c_antique_white)
static

x

const color tsa::color::antique_white_2 = color(c_antique_white_2)
static

x

const color tsa::color::antique_white_3 = color(c_antique_white_3)
static

x

const color tsa::color::antique_white_4 = color(c_antique_white_4)
static

x

const color tsa::color::bisque = color(c_bisque)
static

x

const color tsa::color::bisque_2 = color(c_bisque_2)
static

x

const color tsa::color::bisque_3 = color(c_bisque_3)
static

x

const color tsa::color::bisque_4 = color(c_bisque_4)
static

x

const color tsa::color::blanched_almond = color(c_blanched_almond)
static

x

const color tsa::color::floral_white = color(c_floral_white)
static

x

const color tsa::color::gainsboro = color(c_gainsboro)
static

x

const color tsa::color::ghost_white = color(c_ghost_white)
static

x

const color tsa::color::green = color(c_green)
static

x

const color tsa::color::linen = color(c_linen)
static

x

const color tsa::color::old_lace = color(c_old_lace)
static

x

const color tsa::color::papaya_whip = color(c_papaya_whip)
static

x

const color tsa::color::snow = color(c_snow)
static

x

const color tsa::color::snow2 = color(c_snow2)
static

x

const color tsa::color::snow3 = color(c_snow3)
static

x

const color tsa::color::snow4 = color(c_snow4)
static

x

const color tsa::color::white_smoke = color(c_white_smoke)
static

x