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