librevenge::RVNGDoubleProperty Class Reference documentation

librevenge::RVNGDoubleProperty Class Reference
Inheritance diagram for librevenge::RVNGDoubleProperty:

## Public Member Functions
| RVNGDoubleProperty (const double val)
| ~RVNGDoubleProperty ()
virtual int | getInt () const
virtual double | getDouble () const
virtual RVNGUnit | getUnit () const
| returns the property unit when possible.
virtual RVNGString | getStr () const
virtual RVNGProperty * | clone () const
Public Member Functions inherited from librevenge::RVNGProperty
virtual | ~RVNGProperty ()

## Private Attributes
double | m_val

## Constructor & Destructor Documentation

## ◆ RVNGDoubleProperty()

librevenge::RVNGDoubleProperty::RVNGDoubleProperty | ( | const double | val | ) |

Referenced by clone(), librevenge::RVNGInchProperty::RVNGInchProperty(), librevenge::RVNGPercentProperty::RVNGPercentProperty(), librevenge::RVNGPointProperty::RVNGPointProperty(), and librevenge::RVNGTwipProperty::RVNGTwipProperty().

## ◆ ~RVNGDoubleProperty()

librevenge::RVNGDoubleProperty::~RVNGDoubleProperty | ( |  | ) |
| inline

## Member Function Documentation

## ◆ clone()

RVNGProperty * librevenge::RVNGDoubleProperty::clone | ( |  | ) | const
| virtual

Implements librevenge::RVNGProperty.

Reimplemented in librevenge::RVNGGenericProperty, librevenge::RVNGInchProperty, librevenge::RVNGPercentProperty, librevenge::RVNGPointProperty, and librevenge::RVNGTwipProperty.

## ◆ getDouble()

double librevenge::RVNGDoubleProperty::getDouble | ( |  | ) | const
| virtual

Implements librevenge::RVNGProperty.

Referenced by clone(), librevenge::RVNGInchProperty::clone(), librevenge::RVNGPercentProperty::clone(), librevenge::RVNGPointProperty::clone(), librevenge::RVNGTwipProperty::clone(), getStr(), librevenge::RVNGInchProperty::getStr(), librevenge::RVNGPercentProperty::getStr(), and librevenge::RVNGPointProperty::getStr().

## ◆ getInt()

int librevenge::RVNGDoubleProperty::getInt | ( |  | ) | const
| virtual

Implements librevenge::RVNGProperty.

Referenced by librevenge::RVNGTwipProperty::getStr().

## ◆ getStr()

RVNGString librevenge::RVNGDoubleProperty::getStr | ( |  | ) | const
| virtual

Implements librevenge::RVNGProperty.

Reimplemented in librevenge::RVNGGenericProperty, librevenge::RVNGInchProperty, librevenge::RVNGPercentProperty, librevenge::RVNGPointProperty, and librevenge::RVNGTwipProperty.

## ◆ getUnit()

virtual RVNGUnit librevenge::RVNGDoubleProperty::getUnit | ( |  | ) | const
| inlinevirtual

returns the property unit when possible.

If not, returns RVNG_UNIT_ERROR

Implements librevenge::RVNGProperty.

Reimplemented in librevenge::RVNGInchProperty, librevenge::RVNGPercentProperty, librevenge::RVNGPointProperty, and librevenge::RVNGTwipProperty.

## Member Data Documentation

## ◆ m_val

double librevenge::RVNGDoubleProperty::m_val
| private

Referenced by getDouble(), getInt(), and RVNGDoubleProperty().

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

- RVNGProperty.cpp