#include <AxisTick.h>
Definition at line 29 of file AxisTick.h.
Public Member Functions | |
AxisTick (double v, const std::string &s) | |
The normal constructor. | |
AxisTick (const AxisTick &) | |
The copy constructor. | |
AxisTick () | |
The default constructor. | |
const std::string & | content () const |
Returns the content at the coordinate. | |
void | setContent (const std::string &) |
Sets the content at the coordinate. | |
void | setValue (double) |
Sets the value of the coordinate. | |
double | value () const |
Returns the value of the coordinate. | |
Private Attributes | |
std::string | m_c |
The content at the coordinate. | |
double | m_v |
The value at the coordinate. |
AxisTick | ( | ) |
The default constructor.
It is needed for initialization when it is included in the STL container.
Definition at line 20 of file AxisTick.cxx.
AxisTick | ( | double | v, | |
const std::string & | s | |||
) |
const string & content | ( | ) | const |
Returns the content at the coordinate.
Definition at line 51 of file AxisTick.cxx.
References AxisTick::m_c.
Referenced by AxisTickXML::setAttributes(), and AxisRepBase::setYFontSize().
void setContent | ( | const std::string & | s | ) |
Sets the content at the coordinate.
Definition at line 57 of file AxisTick.cxx.
References AxisTick::m_c.
void setValue | ( | double | v | ) |
Sets the value of the coordinate.
Definition at line 45 of file AxisTick.cxx.
References AxisTick::m_v.
double value | ( | ) | const |
Returns the value of the coordinate.
Definition at line 39 of file AxisTick.cxx.
References AxisTick::m_v.
Referenced by AxisTickXML::setAttributes().
std::string m_c [private] |
The content at the coordinate.
Definition at line 38 of file AxisTick.h.
Referenced by AxisTick::content(), and AxisTick::setContent().
double m_v [private] |
The value at the coordinate.
Definition at line 35 of file AxisTick.h.
Referenced by AxisTick::setValue(), and AxisTick::value().