a boolean attribute More...
#include <StarAttribute.hxx>
Public Member Functions | |
| StarAttributeBool (Type type, std::string const &debugName, bool value) | |
| constructor | |
| virtual shared_ptr< StarAttribute > | create () const |
| create a new attribute | |
| virtual bool | read (StarZone &zone, int ver, long endPos, StarObject &object) |
| read a zone | |
| virtual void | printData (libstoff::DebugStream &o) const |
| debug function to print the data | |
Protected Member Functions | |
| StarAttributeBool (StarAttributeBool const &orig) | |
| copy constructor | |
Protected Attributes | |
| bool | m_value |
a boolean attribute
| StarAttributeBool::StarAttributeBool | ( | Type | type, |
| std::string const & | debugName, | ||
| bool | value | ||
| ) | [inline] |
constructor
Referenced by create().
| StarAttributeBool::StarAttributeBool | ( | StarAttributeBool const & | orig | ) | [inline, protected] |
copy constructor
| virtual shared_ptr<StarAttribute> StarAttributeBool::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
Reimplemented in StarGraphicAttribute::StarGAttributeBool, StarCharAttribute::StarCAttributeBool, StarParagraphAttribute::StarPAttributeBool, StarPageAttribute::StarPAttributeBool, and StarCellAttribute::StarCAttributeBool.
| virtual void StarAttributeBool::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
debug function to print the data
Reimplemented from StarAttribute.
| bool StarAttributeBool::read | ( | StarZone & | zone, |
| int | ver, | ||
| long | endPos, | ||
| StarObject & | object | ||
| ) | [virtual] |
read a zone
Implements StarAttribute.
bool StarAttributeBool::m_value [protected] |