Fawkes API
Fawkes Development Version
|
Print graph area. More...
#include <>>
Public Member Functions | |
RRDGraphArea (const char *def_name, const char *color, const char *legend, bool stacked=false) | |
Constructor. | |
RRDGraphArea (const RRDGraphArea &other) | |
Copy ctor. | |
virtual | ~RRDGraphArea () |
Destructor. | |
virtual RRDGraphElement * | clone () const |
Clone this element. | |
RRDGraphArea & | operator= (const RRDGraphArea &g) |
Assignment operator. | |
virtual const char * | to_string () const |
Create string representation. | |
const char * | get_def_name () const |
Get definition name. | |
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 area.
fawkes::RRDGraphArea::RRDGraphArea | ( | const char * | def_name, |
const char * | color, | ||
const char * | legend, | ||
bool | stacked = false |
||
) |
Constructor.
def_name | Data definition for this graph element. |
color | color hash string (HTML style, e.g. FF0000) |
legend | legend string |
stacked | true to stack on previous graph element |
Definition at line 728 of file rrd_descriptions.cpp.
fawkes::RRDGraphArea::RRDGraphArea | ( | const RRDGraphArea & | other | ) |
fawkes::RRDGraphArea::~RRDGraphArea | ( | ) | [virtual] |
Destructor.
Definition at line 747 of file rrd_descriptions.cpp.
virtual RRDGraphElement* fawkes::RRDGraphArea::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 289 of file rrd_descriptions.h.
const char* fawkes::RRDGraphArea::get_color | ( | ) | const [inline] |
const char* fawkes::RRDGraphArea::get_def_name | ( | ) | const [inline] |
const char* fawkes::RRDGraphArea::get_legend | ( | ) | const [inline] |
bool fawkes::RRDGraphArea::get_stacked | ( | ) | const [inline] |
Get stacked flag.
Definition at line 302 of file rrd_descriptions.h.
RRDGraphArea & fawkes::RRDGraphArea::operator= | ( | const RRDGraphArea & | g | ) |
Assignment operator.
g | matching graph element to assign |
Definition at line 761 of file rrd_descriptions.cpp.
const char * fawkes::RRDGraphArea::to_string | ( | ) | const [virtual] |
Create string representation.
Reimplemented from fawkes::RRDGraphElement.
Definition at line 779 of file rrd_descriptions.cpp.