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.
 
virtual RVNGString getStr () const
 
virtual RVNGProperty * clone () const
 
- Public Member Functions inherited from librevenge::RVNGProperty
virtual ~RVNGProperty ()
 
virtual int getInt () const =0
 
virtual double getDouble () const =0
 
virtual RVNGUnit getUnit () const =0
 returns the property unit when possible.
 
virtual RVNGString getStr () const =0
 
virtual RVNGProperty * clone () const =0
 

Private Attributes

double m_val
 

Constructor & Destructor Documentation

◆ RVNGDoubleProperty()

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

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

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.9.7