librevenge::RVNGDoubleProperty Class Reference
Inheritance diagram for librevenge::RVNGDoubleProperty:
librevenge::RVNGProperty librevenge::RVNGGenericProperty librevenge::RVNGInchProperty librevenge::RVNGPercentProperty librevenge::RVNGPointProperty librevenge::RVNGTwipProperty

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

◆ ~RVNGDoubleProperty()

librevenge::RVNGDoubleProperty::~RVNGDoubleProperty ( )
inline

Member Function Documentation

◆ clone()

◆ getDouble()

◆ getInt()

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

◆ getStr()

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

Member Data Documentation

◆ m_val

double librevenge::RVNGDoubleProperty::m_val
private

Referenced by getDouble(), and getInt().


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

Generated for librevenge by doxygen 1.8.18