OdbDesignLib
OdbDesign ODB++ Parsing Library
 
Loading...
Searching...
No Matches
Odb::Lib::FileModel::Design::RgbColor Struct Reference

Public Member Functions

 RgbColor (const std::string &str)
 
bool from_string (const std::string &str)
 
std::string to_string () const
 

Public Attributes

uint8_t red
 
uint8_t green
 
uint8_t blue
 
bool noPreference
 

Detailed Description

Definition at line 12 of file RgbColor.h.

Constructor & Destructor Documentation

◆ RgbColor() [1/2]

Odb::Lib::FileModel::Design::RgbColor::RgbColor ( )

Definition at line 6 of file RgbColor.cpp.

◆ RgbColor() [2/2]

Odb::Lib::FileModel::Design::RgbColor::RgbColor ( const std::string &  str)
explicit

Definition at line 14 of file RgbColor.cpp.

Member Function Documentation

◆ from_string()

bool Odb::Lib::FileModel::Design::RgbColor::from_string ( const std::string &  str)

Definition at line 20 of file RgbColor.cpp.

◆ to_string()

std::string Odb::Lib::FileModel::Design::RgbColor::to_string ( ) const

Definition at line 48 of file RgbColor.cpp.

Member Data Documentation

◆ blue

uint8_t Odb::Lib::FileModel::Design::RgbColor::blue

Definition at line 16 of file RgbColor.h.

◆ green

uint8_t Odb::Lib::FileModel::Design::RgbColor::green

Definition at line 15 of file RgbColor.h.

◆ noPreference

bool Odb::Lib::FileModel::Design::RgbColor::noPreference

Definition at line 18 of file RgbColor.h.

◆ red

uint8_t Odb::Lib::FileModel::Design::RgbColor::red

Definition at line 14 of file RgbColor.h.


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