|
Fawkes API
Fawkes Development Version
|
Print graph line. More...
#include <>>

Public Member Functions | |
| RRDGraphLine (const char *def_name, float width, const char *color, const char *legend, bool stacked=false) | |
| Constructor. | |
| RRDGraphLine (const RRDGraphLine &other) | |
| Copy ctor. | |
| virtual | ~RRDGraphLine () |
| Destructor. | |
| virtual RRDGraphElement * | clone () const |
| Clone this element. | |
| RRDGraphLine & | operator= (const RRDGraphLine &g) |
| Assignment operator. | |
| virtual const char * | to_string () const |
| Create string representation. | |
| const char * | get_def_name () const |
| Get definition name. | |
| float | get_width () const |
| Get line width. | |
| const char * | get_color () const |
| Get color string. | |
| const char * | get_legend () const |
| Get legend label. | |
| bool | get_stacked () const |
| Get stacked flag. | |
Print graph line.
| fawkes::RRDGraphLine::RRDGraphLine | ( | const char * | def_name, |
| float | width, | ||
| const char * | color, | ||
| const char * | legend, | ||
| bool | stacked = false |
||
| ) |
Constructor.
| def_name | Data definition for this graph element. |
| width | line width |
| color | color hash string (HTML style, e.g. FF0000) |
| legend | legend string |
| stacked | true to stack on previous graph element |
Definition at line 652 of file rrd_descriptions.cpp.
| fawkes::RRDGraphLine::RRDGraphLine | ( | const RRDGraphLine & | other | ) |
| fawkes::RRDGraphLine::~RRDGraphLine | ( | ) | [virtual] |
Destructor.
Definition at line 671 of file rrd_descriptions.cpp.
| virtual RRDGraphElement* fawkes::RRDGraphLine::clone | ( | ) | const [inline, virtual] |
Clone this element.
The clone function is needed to copy an object without knowing its type and therefore without calling its copy constructor.
Implements fawkes::RRDGraphElement.
Definition at line 254 of file rrd_descriptions.h.
| const char* fawkes::RRDGraphLine::get_color | ( | ) | const [inline] |
| const char* fawkes::RRDGraphLine::get_def_name | ( | ) | const [inline] |
| const char* fawkes::RRDGraphLine::get_legend | ( | ) | const [inline] |
| bool fawkes::RRDGraphLine::get_stacked | ( | ) | const [inline] |
Get stacked flag.
Definition at line 269 of file rrd_descriptions.h.
| float fawkes::RRDGraphLine::get_width | ( | ) | const [inline] |
| RRDGraphLine & fawkes::RRDGraphLine::operator= | ( | const RRDGraphLine & | g | ) |
Assignment operator.
| g | matching graph element to assign |
Definition at line 685 of file rrd_descriptions.cpp.
| const char * fawkes::RRDGraphLine::to_string | ( | ) | const [virtual] |
Create string representation.
Reimplemented from fawkes::RRDGraphElement.
Definition at line 704 of file rrd_descriptions.cpp.