librevenge::RVNGDoubleProperty Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | List of all members
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. More...
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

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

Referenced by clone(), and librevenge::RVNGPropertyFactory::newDoubleProp().

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

## Member Function Documentation

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

Implements librevenge::RVNGProperty.

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

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().

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

Implements librevenge::RVNGProperty.

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

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

Implements librevenge::RVNGProperty.

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

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::RVNGTwipProperty, librevenge::RVNGPointProperty, librevenge::RVNGPercentProperty, and librevenge::RVNGInchProperty.

## Member Data Documentation

double librevenge::RVNGDoubleProperty::m_val
| private

Referenced by getDouble(), and getInt().

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

- RVNGProperty.cpp