Internal: the state of a StarAttribute. More...
Public Member Functions | |
| State () | |
| constructor | |
| void | initAttributeMap () |
| init the attribute map list | |
Public Attributes | |
| std::map< int, shared_ptr < StarAttribute > > | m_whichToAttributeMap |
| a map which to an attribute | |
Protected Member Functions | |
| void | addAttributeVoid (StarAttribute::Type type, std::string const &debugName) |
| add a void attribute | |
| void | addAttributeXML (StarAttribute::Type type, std::string const &debugName) |
| add a XML attribute | |
| void | addAttributeBool (StarAttribute::Type type, std::string const &debugName, bool defValue) |
| add a bool attribute | |
| void | addAttributeInt (StarAttribute::Type type, std::string const &debugName, int numBytes, int defValue) |
| add a int attribute | |
| void | addAttributeUInt (StarAttribute::Type type, std::string const &debugName, int numBytes, unsigned int defValue) |
| add a unsigned int attribute | |
| void | addAttributeDouble (StarAttribute::Type type, std::string const &debugName, double defValue) |
| add a double attribute | |
| void | addAttributeColor (StarAttribute::Type type, std::string const &debugName, STOFFColor const &defValue) |
| add a color attribute | |
| void | addAttributeItemSet (StarAttribute::Type type, std::string const &debugName, std::vector< STOFFVec2i > const &limits) |
| add a itemSet attribute | |
Internal: the state of a StarAttribute.
| StarAttributeInternal::State::State | ( | ) | [inline] |
constructor
| void StarAttributeInternal::State::addAttributeBool | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| bool | defValue | ||
| ) | [inline, protected] |
add a bool attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeColor | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| STOFFColor const & | defValue | ||
| ) | [inline, protected] |
add a color attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeDouble | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| double | defValue | ||
| ) | [inline, protected] |
add a double attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeInt | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| int | numBytes, | ||
| int | defValue | ||
| ) | [inline, protected] |
add a int attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeItemSet | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| std::vector< STOFFVec2i > const & | limits | ||
| ) | [inline, protected] |
add a itemSet attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeUInt | ( | StarAttribute::Type | type, |
| std::string const & | debugName, | ||
| int | numBytes, | ||
| unsigned int | defValue | ||
| ) | [inline, protected] |
add a unsigned int attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeVoid | ( | StarAttribute::Type | type, |
| std::string const & | debugName | ||
| ) | [inline, protected] |
add a void attribute
Referenced by initAttributeMap().
| void StarAttributeInternal::State::addAttributeXML | ( | StarAttribute::Type | type, |
| std::string const & | debugName | ||
| ) | [inline, protected] |
add a XML attribute
Referenced by initAttributeMap().
init the attribute map list
Referenced by State().
| std::map<int, shared_ptr<StarAttribute> > StarAttributeInternal::State::m_whichToAttributeMap |
a map which to an attribute
Referenced by addAttributeBool(), addAttributeColor(), addAttributeDouble(), addAttributeInt(), addAttributeItemSet(), addAttributeUInt(), addAttributeVoid(), addAttributeXML(), and initAttributeMap().