an integer attribute More...
#include <StarAttribute.hxx>
Public Member Functions | |
StarAttributeInt (Type type, std::string const &debugName, int intSize, int value) | |
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 | |
StarAttributeInt (StarAttributeInt const &orig) | |
copy constructor | |
Protected Attributes | |
int | m_value |
int | m_intSize |
an integer attribute
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
virtual shared_ptr<StarAttribute> StarAttributeInt::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
Reimplemented in StarGraphicAttribute::StarGAttributeInt, StarParagraphAttribute::StarPAttributeInt, StarPageAttribute::StarPAttributeInt, StarCellAttribute::StarCAttributeInt, and StarCharAttribute::StarCAttributeInt.
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.
int StarAttributeInt::m_intSize [protected] |
Referenced by read(), and StarAttributeInt().
int StarAttributeInt::m_value [protected] |