an integer attribute More...
Public Member Functions | |
| StarGAttributeFraction (Type type, std::string const &debugName) | |
| constructor | |
| virtual shared_ptr< StarAttribute > | create () const |
| create a new attribute | |
| virtual bool | read (StarZone &zone, int vers, long endPos, StarObject &object) |
| read a zone | |
| virtual void | printData (libstoff::DebugStream &o) const |
| debug function to print the data | |
Protected Member Functions | |
| StarGAttributeFraction (StarGAttributeFraction const &orig) | |
| copy constructor | |
Protected Attributes | |
| int | m_numerator |
| int | m_denominator |
an integer attribute
| StarGraphicAttribute::StarGAttributeFraction::StarGAttributeFraction | ( | Type | type, |
| std::string const & | debugName | ||
| ) | [inline] |
constructor
Referenced by create().
| StarGraphicAttribute::StarGAttributeFraction::StarGAttributeFraction | ( | StarGAttributeFraction const & | orig | ) | [inline, protected] |
copy constructor
| virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeFraction::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
| virtual void StarGraphicAttribute::StarGAttributeFraction::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
| bool StarGraphicAttribute::StarGAttributeFraction::read | ( | StarZone & | zone, |
| int | vers, | ||
| long | endPos, | ||
| StarObject & | object | ||
| ) | [virtual] |
read a zone
Implements StarAttribute.
int StarGraphicAttribute::StarGAttributeFraction::m_denominator [protected] |
Referenced by printData(), and read().
int StarGraphicAttribute::StarGAttributeFraction::m_numerator [protected] |
Referenced by printData(), and read().