Fawkes API  Fawkes Development Version
fawkes::RRDGraphElement Class Reference

Interface for graph elements. More...

#include <>>

Inheritance diagram for fawkes::RRDGraphElement:

List of all members.

Public Member Functions

virtual RRDGraphElementclone () const =0
 Clone this element.
virtual const char * to_string () const
 Create string representation.

Detailed Description

Interface for graph elements.

This super class provides the general interface for the different existing graph elements.

Author:
Tim Niemueller

Member Function Documentation

RRDGraphElement * fawkes::RRDGraphElement::clone ( ) const [pure virtual]

Clone this element.

The clone function is needed to copy an object without knowing its type and therefore without calling its copy constructor.

Returns:
new copied instance

Implemented in fawkes::RRDGraphArea, fawkes::RRDGraphLine, and fawkes::RRDGraphGPrint.

const char * fawkes::RRDGraphElement::to_string ( ) const [virtual]

Create string representation.

Returns:
string suitable for rrd_graph_v().

Reimplemented in fawkes::RRDGraphArea, fawkes::RRDGraphLine, and fawkes::RRDGraphGPrint.

Definition at line 563 of file rrd_descriptions.cpp.


The documentation for this class was generated from the following files: