a list of item attribute of StarAttributeInternal More...
#include <StarAttribute.hxx>
Public Member Functions | |
StarAttributeItemSet (Type type, std::string const &debugName, std::vector< STOFFVec2i > const &limits) | |
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 | print (libstoff::DebugStream &o, std::set< StarAttribute const * > &done) const |
debug function to print the data | |
Protected Member Functions | |
virtual void | addTo (StarState &state, std::set< StarAttribute const * > &done) const |
add to a state | |
virtual bool | send (STOFFListenerPtr listener, StarState &state, std::set< StarAttribute const * > &done) const |
try to send the sone data | |
StarAttributeItemSet (StarAttributeItemSet const &orig) | |
copy constructor | |
Protected Attributes | |
std::vector< STOFFVec2i > | m_limits |
the pool limits id | |
StarItemSet | m_itemSet |
the list of items |
a list of item attribute of StarAttributeInternal
StarAttributeItemSet::StarAttributeItemSet | ( | Type | type, |
std::string const & | debugName, | ||
std::vector< STOFFVec2i > const & | limits | ||
) | [inline] |
constructor
Referenced by create().
StarAttributeItemSet::StarAttributeItemSet | ( | StarAttributeItemSet const & | orig | ) | [inline, protected] |
copy constructor
void StarAttributeItemSet::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | done | ||
) | const [protected, virtual] |
add to a state
Reimplemented from StarAttribute.
Reimplemented in StarPageAttribute::StarPAttributeItemSet.
virtual shared_ptr<StarAttribute> StarAttributeItemSet::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
Reimplemented in StarCellAttribute::StarCAttributePattern, StarGraphicAttribute::StarGAttributeItemSet, and StarPageAttribute::StarPAttributeItemSet.
void StarAttributeItemSet::print | ( | libstoff::DebugStream & | o, |
std::set< StarAttribute const * > & | done | ||
) | const [virtual] |
debug function to print the data
Reimplemented from StarAttribute.
Reimplemented in StarCellAttribute::StarCAttributePattern.
bool StarAttributeItemSet::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
bool StarAttributeItemSet::send | ( | STOFFListenerPtr | listener, |
StarState & | state, | ||
std::set< StarAttribute const * > & | done | ||
) | const [protected, virtual] |
try to send the sone data
Reimplemented from StarAttribute.
StarItemSet StarAttributeItemSet::m_itemSet [protected] |
the list of items
Referenced by addTo(), print(), StarCellAttribute::StarCAttributePattern::read(), read(), and send().
std::vector<STOFFVec2i> StarAttributeItemSet::m_limits [protected] |
the pool limits id
Referenced by StarCellAttribute::StarCAttributePattern::read(), read(), and StarCellAttribute::StarCAttributePattern::StarCAttributePattern().