StarGraphicAttribute::StarGAttributeFraction Class Reference

an integer attribute More...

Inheritance diagram for StarGraphicAttribute::StarGAttributeFraction:
StarAttribute

List of all members.

Public Member Functions

 StarGAttributeFraction (Type type, std::string const &debugName)
 constructor
virtual shared_ptr< StarAttributecreate () 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

Detailed Description

an integer attribute


Constructor & Destructor Documentation

StarGraphicAttribute::StarGAttributeFraction::StarGAttributeFraction ( Type  type,
std::string const &  debugName 
) [inline]

constructor

Referenced by create().


Member Function Documentation

virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeFraction::create ( ) const [inline, virtual]

create a new attribute

Implements StarAttribute.

debug function to print the data

Reimplemented from StarAttribute.

Referenced by read().

bool StarGraphicAttribute::StarGAttributeFraction::read ( StarZone zone,
int  vers,
long  endPos,
StarObject object 
) [virtual]

read a zone

Implements StarAttribute.


Member Data Documentation


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