a unsigned integer attribute More...
#include <StarAttribute.hxx>
Public Member Functions | |
| StarAttributeUInt (Type type, std::string const &debugName, int intSize, unsigned 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 | |
| StarAttributeUInt (StarAttributeUInt const &orig) | |
| copy constructor | |
Protected Attributes | |
| unsigned int | m_value |
| int | m_intSize |
a unsigned integer attribute
| StarAttributeUInt::StarAttributeUInt | ( | Type | type, |
| std::string const & | debugName, | ||
| int | intSize, | ||
| unsigned int | value | ||
| ) | [inline] |
constructor
Referenced by create().
| StarAttributeUInt::StarAttributeUInt | ( | StarAttributeUInt const & | orig | ) | [inline, protected] |
copy constructor
| virtual shared_ptr<StarAttribute> StarAttributeUInt::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
Reimplemented in StarPageAttribute::StarPAttributeViewMode, StarGraphicAttribute::StarGAttributeUInt, StarParagraphAttribute::StarPAttributeUInt, StarPageAttribute::StarPAttributeUInt, StarCellAttribute::StarCAttributeUInt, and StarCharAttribute::StarCAttributeUInt.
| virtual void StarAttributeUInt::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
debug function to print the data
Reimplemented from StarAttribute.
Reimplemented in StarPageAttribute::StarPAttributeViewMode.
| bool StarAttributeUInt::read | ( | StarZone & | zone, |
| int | vers, | ||
| long | endPos, | ||
| StarObject & | object | ||
| ) | [virtual] |
read a zone
Implements StarAttribute.
Reimplemented in StarPageAttribute::StarPAttributeViewMode, and StarParagraphAttribute::StarPAttributeUInt.
int StarAttributeUInt::m_intSize [protected] |
Referenced by read(), and StarAttributeUInt().
unsigned int StarAttributeUInt::m_value [protected] |
Referenced by StarCharAttribute::StarCAttributeUInt::addTo(), StarCellAttribute::StarCAttributeUInt::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarParagraphAttribute::StarPAttributeUInt::addTo(), StarGraphicAttribute::StarGAttributeUInt::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), StarPageAttribute::StarPAttributeViewMode::printData(), printData(), StarParagraphAttribute::StarPAttributeUInt::read(), StarPageAttribute::StarPAttributeViewMode::read(), and read().