|
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.
Definition at line 217 of file rrd_descriptions.h.
| 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.
|
virtual |
Destructor.
Definition at line 599 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 227 of file rrd_descriptions.h.
|
inline |
Get consolidation function type.
Definition at line 234 of file rrd_descriptions.h.
|
inline |
|
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.
|
virtual |
Create string representation.
Reimplemented from fawkes::RRDGraphElement.
Definition at line 627 of file rrd_descriptions.cpp.
References fawkes::RRDArchive::cf_to_string().