StarAttributeInt Class Reference

an integer attribute More...

#include <StarAttribute.hxx>

Inheritance diagram for StarAttributeInt:
StarAttribute StarCellAttribute::StarCAttributeInt StarCharAttribute::StarCAttributeInt StarGraphicAttribute::StarGAttributeInt StarPageAttribute::StarPAttributeInt StarParagraphAttribute::StarPAttributeInt

List of all members.

Public Member Functions

 StarAttributeInt (Type type, std::string const &debugName, int intSize, int value)
 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

 StarAttributeInt (StarAttributeInt const &orig)
 copy constructor

Protected Attributes

int m_value
int m_intSize

Detailed Description

an integer attribute


Constructor & Destructor Documentation

StarAttributeInt::StarAttributeInt ( Type  type,
std::string const &  debugName,
int  intSize,
int  value 
) [inline]

constructor

Referenced by create().

StarAttributeInt::StarAttributeInt ( StarAttributeInt const &  orig) [inline, protected]

copy constructor


Member Function Documentation

virtual void StarAttributeInt::printData ( libstoff::DebugStream o) const [inline, virtual]

debug function to print the data

Reimplemented from StarAttribute.

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

read a zone

Implements StarAttribute.


Member Data Documentation

int StarAttributeInt::m_intSize [protected]

Referenced by read(), and StarAttributeInt().


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