Fawkes API
Fawkes Development Version
|
Represent data definition in graph arguments. More...
#include <>>
Public Member Functions | |
RRDGraphDataDefinition (const char *name, RRDArchive::ConsolidationFunction cf, const RRDDefinition *rrd_def, const char *ds_name=NULL) | |
DEF constructor. More... | |
RRDGraphDataDefinition (const char *name, const char *rpn_expression) | |
CDEF constructor. More... | |
RRDGraphDataDefinition (const RRDGraphDataDefinition &other) | |
Copy constructor. More... | |
~RRDGraphDataDefinition () | |
Destructor. More... | |
RRDGraphDataDefinition & | operator= (const RRDGraphDataDefinition &rra) |
Assignment operator. More... | |
const char * | to_string () const |
Create string representation. More... | |
const char * | get_name () const |
Get name. More... | |
const RRDDefinition * | get_rrd_def () const |
Get RRD definition. More... | |
const char * | get_ds_name () const |
Get data source name. More... | |
const char * | get_rpn_expression () const |
Get RPN expression. More... | |
RRDArchive::ConsolidationFunction | get_cf () const |
Get consolidation function type. More... | |
Represent data definition in graph arguments.
Definition at line 175 of file rrd_descriptions.h.
fawkes::RRDGraphDataDefinition::RRDGraphDataDefinition | ( | const char * | name, |
RRDArchive::ConsolidationFunction | cf, | ||
const RRDDefinition * | rrd_def, | ||
const char * | ds_name = NULL |
||
) |
DEF constructor.
name | name of the graph data source |
cf | consolidation function to apply if needed |
rrd_def | RRD definition to use |
ds_name | data source name in RRD, rrd_def will be queried for the data source. If ds_name is NULL, name will be used as the data source name. |
Definition at line 452 of file rrd_descriptions.cpp.
fawkes::RRDGraphDataDefinition::RRDGraphDataDefinition | ( | const char * | name, |
const char * | rpn_expression | ||
) |
CDEF constructor.
name | name of the graph data source |
rpn_expression | RPN expression |
Definition at line 467 of file rrd_descriptions.cpp.
fawkes::RRDGraphDataDefinition::RRDGraphDataDefinition | ( | const RRDGraphDataDefinition & | other | ) |
Copy constructor.
other | instance to clone |
Definition at line 479 of file rrd_descriptions.cpp.
fawkes::RRDGraphDataDefinition::~RRDGraphDataDefinition | ( | ) |
Destructor.
Definition at line 489 of file rrd_descriptions.cpp.
|
inline |
Get consolidation function type.
Definition at line 196 of file rrd_descriptions.h.
|
inline |
|
inline |
|
inline |
|
inline |
RRDGraphDataDefinition & fawkes::RRDGraphDataDefinition::operator= | ( | const RRDGraphDataDefinition & | other | ) |
Assignment operator.
other | instance to copy from |
Definition at line 502 of file rrd_descriptions.cpp.
const char * fawkes::RRDGraphDataDefinition::to_string | ( | ) | const |
Create string representation.
Definition at line 525 of file rrd_descriptions.cpp.
References fawkes::RRDArchive::cf_to_string(), fawkes::RRDDefinition::find_ds_index(), fawkes::RRDDefinition::get_ds(), and fawkes::RRDDefinition::get_filename().