GUIDOLib  1.7.7
Guido Engine Internal Documentation
Public Member Functions | Static Public Member Functions | List of all members
TagParameterRGBColor Class Reference

RGB Color tag parameter. More...

Inheritance diagram for TagParameterRGBColor:
TagParameter

Public Member Functions

 TagParameterRGBColor ()
 
 TagParameterRGBColor (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
 
 TagParameterRGBColor (const TagParameterRGBColor &tpRGBColor)
 
virtual ~TagParameterRGBColor ()
 
virtual void set (const TagParameterRGBColor &in)
 
virtual void setValue (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha)
 
virtual TagParametergetCopy () const
 
virtual bool copyValue (const TagParameter *tp)
 
virtual bool isRGBValue () const
 
bool getRGBColor (unsigned char colref[4]) const
 
unsigned char getRedChannel () const
 
unsigned char getGreenChannel () const
 
unsigned char getBlueChannel () const
 
unsigned char getAlphaChannel () const
 
virtual void setValue (const char *)
 
- Public Member Functions inherited from TagParameter
 TagParameter ()
 
virtual ~TagParameter ()
 
virtual void set (const TagParameter &in)
 
virtual void print (std::ostream &out)
 
void setRequired (bool i)
 
void setIsAuto ()
 
void setByName ()
 
void setNoSet ()
 
void setByPos ()
 
void setBySet ()
 
virtual void setValue (const char *)
 
void setName (const std::string &p)
 
const std::string & getName () const
 
bool TagIsRequired () const
 
bool TagIsSet () const
 
bool TagIsSetByPosition () const
 
bool TagIsSetByName () const
 
bool TagIsSetByAuto () const
 
bool TagIsNotSet () const
 
virtual bool isString () const
 
virtual bool isInt () const
 
virtual bool isFloat () const
 

Static Public Member Functions

static TagParameterRGBColorcast (TagParameter *inTag)
 
static const TagParameterRGBColorcast (const TagParameter *inTag)
 

Additional Inherited Members

- Public Types inherited from TagParameter
enum  PARSEFLAG {
  SETBYPOSITION, SETBYNAME, SETBYAUTO, NOTSET,
  SET
}
 

Detailed Description

RGB Color tag parameter.

Constructor & Destructor Documentation

◆ TagParameterRGBColor() [1/3]

TagParameterRGBColor::TagParameterRGBColor ( )

◆ TagParameterRGBColor() [2/3]

TagParameterRGBColor::TagParameterRGBColor ( unsigned char  red,
unsigned char  green,
unsigned char  blue,
unsigned char  alpha = 255 
)

◆ TagParameterRGBColor() [3/3]

TagParameterRGBColor::TagParameterRGBColor ( const TagParameterRGBColor tpRGBColor)

◆ ~TagParameterRGBColor()

virtual TagParameterRGBColor::~TagParameterRGBColor ( )
inlinevirtual

Member Function Documentation

◆ cast() [1/2]

static const TagParameterRGBColor* TagParameterRGBColor::cast ( const TagParameter inTag)
inlinestatic

◆ cast() [2/2]

static TagParameterRGBColor* TagParameterRGBColor::cast ( TagParameter inTag)
inlinestatic

◆ copyValue()

virtual bool TagParameterRGBColor::copyValue ( const TagParameter tp)
virtual

Reimplemented from TagParameter.

◆ getAlphaChannel()

unsigned char TagParameterRGBColor::getAlphaChannel ( ) const
inline

◆ getBlueChannel()

unsigned char TagParameterRGBColor::getBlueChannel ( ) const
inline

◆ getCopy()

virtual TagParameter* TagParameterRGBColor::getCopy ( ) const
inlinevirtual

Reimplemented from TagParameter.

◆ getGreenChannel()

unsigned char TagParameterRGBColor::getGreenChannel ( ) const
inline

◆ getRedChannel()

unsigned char TagParameterRGBColor::getRedChannel ( ) const
inline

◆ getRGBColor()

bool TagParameterRGBColor::getRGBColor ( unsigned char  colref[4]) const

◆ isRGBValue()

virtual bool TagParameterRGBColor::isRGBValue ( ) const
inlinevirtual

Reimplemented from TagParameter.

◆ set()

virtual void TagParameterRGBColor::set ( const TagParameterRGBColor in)
virtual

◆ setValue() [1/2]

virtual void TagParameter::setValue
inline

◆ setValue() [2/2]

virtual void TagParameterRGBColor::setValue ( unsigned char  red,
unsigned char  green,
unsigned char  blue,
unsigned char  alpha 
)
inlinevirtual

Guido Project Copyright © 2019 Grame-CNCM