Fawkes API
Fawkes Development Version
|
Print string inside graph. More...
#include <>>
Public Member Functions | |
RRDGraphGPrint (const char *def_name, RRDArchive::ConsolidationFunction cf, const char *format) | |
Constructor. | |
RRDGraphGPrint (const RRDGraphGPrint &other) | |
Copy constructor. | |
virtual | ~RRDGraphGPrint () |
Destructor. | |
RRDGraphGPrint & | operator= (const RRDGraphGPrint &g) |
Assignment operator. | |
virtual RRDGraphElement * | clone () const |
Clone this element. | |
virtual const char * | to_string () const |
Create string representation. | |
const char * | get_def_name () const |
Get definition name. | |
RRDArchive::ConsolidationFunction | get_cf () const |
Get consolidation function type. | |
const char * | get_format () const |
Get format string. |
Print string inside graph.
fawkes::RRDGraphGPrint::RRDGraphGPrint | ( | const char * | def_name, |
RRDArchive::ConsolidationFunction | cf, | ||
const char * | format | ||
) |
Constructor.
def_name | Data definition for this graph element. |
cf | consolidation function to use |
format | Format string, cf. man rrdgraph_graph(1). |
Definition at line 580 of file rrd_descriptions.cpp.
fawkes::RRDGraphGPrint::RRDGraphGPrint | ( | const RRDGraphGPrint & | other | ) |
Copy constructor.
other | instance to copy |
Definition at line 591 of file rrd_descriptions.cpp.
fawkes::RRDGraphGPrint::~RRDGraphGPrint | ( | ) | [virtual] |
Destructor.
Definition at line 599 of file rrd_descriptions.cpp.
virtual RRDGraphElement* fawkes::RRDGraphGPrint::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 227 of file rrd_descriptions.h.
RRDArchive::ConsolidationFunction fawkes::RRDGraphGPrint::get_cf | ( | ) | const [inline] |
Get consolidation function type.
Definition at line 234 of file rrd_descriptions.h.
const char* fawkes::RRDGraphGPrint::get_def_name | ( | ) | const [inline] |
const char* fawkes::RRDGraphGPrint::get_format | ( | ) | const [inline] |
RRDGraphGPrint & fawkes::RRDGraphGPrint::operator= | ( | const RRDGraphGPrint & | g | ) |
Assignment operator.
g | matching graph element to assign |
Definition at line 611 of file rrd_descriptions.cpp.
const char * fawkes::RRDGraphGPrint::to_string | ( | ) | const [virtual] |
Create string representation.
Reimplemented from fawkes::RRDGraphElement.
Definition at line 627 of file rrd_descriptions.cpp.
References fawkes::RRDArchive::cf_to_string().