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. More... | |
RRDGraphArea (const RRDGraphArea &other) | |
Copy ctor. More... | |
virtual | ~RRDGraphArea () |
Destructor. More... | |
virtual RRDGraphElement * | clone () const |
Clone this element. More... | |
RRDGraphArea & | operator= (const RRDGraphArea &g) |
Assignment operator. More... | |
virtual const char * | to_string () const |
Create string representation. More... | |
const char * | get_def_name () const |
Get definition name. More... | |
const char * | get_color () const |
Get color string. More... | |
const char * | get_legend () const |
Get legend label. More... | |
bool | get_stacked () const |
Get stacked flag. More... | |
Print graph area.
Definition at line 281 of file rrd_descriptions.h.
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 | ) |
|
virtual |
Destructor.
Definition at line 747 of file rrd_descriptions.cpp.
|
inlinevirtual |
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.
References fawkes::RRDDataSource::operator=(), and fawkes::RRDDataSource::to_string().
|
inline |
|
inline |
|
inline |
|
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.
|
virtual |
Create string representation.
Reimplemented from fawkes::RRDGraphElement.
Definition at line 779 of file rrd_descriptions.cpp.