Internal: the state of a StarItemPool. More...
Public Member Functions | |
| State (StarObject &document, StarItemPool::Type type) | |
| constructor | |
| void | init (StarItemPool::Type type) |
| initialize a pool | |
| void | clean () |
| clean the state | |
| void | setPoolName (librevenge::RVNGString const &name) |
| set the pool name | |
| int | isInRange (int which) const |
| returns true if the value is in expected range | |
| void | addVersionMap (uint16_t nVers, uint16_t nStart, std::vector< int > const &list) |
| add a new version map | |
| int | getWhich (int nFileWhich) const |
| try to return ??? | |
| State * | getPoolStateFor (int which) |
| returns the state corresponding to which | |
| Values * | getValues (int id, bool create=false) |
| returns a pointer to the values data | |
| std::shared_ptr< StarAttribute > | getDefaultAttribute (int which) |
| try to return a default attribute corresponding to which | |
Public Attributes | |
| StarObject & | m_document |
| the document | |
| StarItemPool::Type | m_type |
| the document type | |
| int | m_majorVersion |
| the majorVersion | |
| int | m_minorVersion |
| the minorVersion | |
| int | m_loadingVersion |
| the loading version | |
| librevenge::RVNGString | m_name |
| the name | |
| double | m_relativeUnit |
| the relative unit | |
| bool | m_isSecondaryPool |
| a flag to know if a pool is a secondary pool | |
| std::shared_ptr< StarItemPool > | m_secondaryPool |
| the secondary pool | |
| int | m_currentVersion |
| the current version | |
| int | m_verStart |
| the minimum version | |
| int | m_verEnd |
| the maximum version | |
| std::vector< Version > | m_versionList |
| the list of version | |
| std::vector< int > | m_idToAttributeList |
| list whichId to attribute list | |
| std::map< int, Values > | m_slotIdToValuesMap |
| a map slot to the attribute list | |
| std::map< StyleId, StarItemStyle > | m_styleIdToStyleMap |
| the set of style | |
| std::map< librevenge::RVNGString, librevenge::RVNGString > | m_simplifyNameToStyleNameMap |
| map simplify style name to style name | |
| std::map< int, std::shared_ptr< StarAttribute > > | m_idToDefaultMap |
| map of created default attribute | |
| std::vector< std::shared_ptr< StarItem > > | m_delayedItemList |
| list of item which need to be read | |
Private Member Functions | |
| State (State const &orig)=delete | |
| State | operator= (State const &orig)=delete |
Internal: the state of a StarItemPool.
|
inline |
constructor
Referenced by getPoolStateFor(), operator=(), and State().
|
privatedelete |
|
inline |
add a new version map
Referenced by init().
|
inline |
clean the state
|
inline |
try to return a default attribute corresponding to which
|
inline |
returns the state corresponding to which
Referenced by getDefaultAttribute().
|
inline |
returns a pointer to the values data
|
inline |
try to return ???
| void StarItemPoolInternal::State::init | ( | StarItemPool::Type | type | ) |
initialize a pool
Referenced by setPoolName(), and State().
|
inline |
returns true if the value is in expected range
|
inline |
set the pool name
| int StarItemPoolInternal::State::m_currentVersion |
the current version
Referenced by addVersionMap(), getWhich(), init(), and State().
| std::vector<std::shared_ptr<StarItem> > StarItemPoolInternal::State::m_delayedItemList |
| StarObject& StarItemPoolInternal::State::m_document |
the document
Referenced by getDefaultAttribute(), and State().
| std::vector<int> StarItemPoolInternal::State::m_idToAttributeList |
| std::map<int,std::shared_ptr<StarAttribute> > StarItemPoolInternal::State::m_idToDefaultMap |
map of created default attribute
Referenced by clean(), getDefaultAttribute(), and State().
| bool StarItemPoolInternal::State::m_isSecondaryPool |
a flag to know if a pool is a secondary pool
Referenced by State().
| int StarItemPoolInternal::State::m_loadingVersion |
the loading version
Referenced by getWhich(), and State().
| int StarItemPoolInternal::State::m_majorVersion |
the majorVersion
Referenced by State().
| int StarItemPoolInternal::State::m_minorVersion |
the minorVersion
Referenced by State().
| librevenge::RVNGString StarItemPoolInternal::State::m_name |
the name
Referenced by setPoolName(), and State().
| double StarItemPoolInternal::State::m_relativeUnit |
the relative unit
Referenced by State().
| std::shared_ptr<StarItemPool> StarItemPoolInternal::State::m_secondaryPool |
the secondary pool
Referenced by clean(), getPoolStateFor(), getWhich(), isInRange(), and State().
| std::map<librevenge::RVNGString, librevenge::RVNGString> StarItemPoolInternal::State::m_simplifyNameToStyleNameMap |
| std::map<int, Values> StarItemPoolInternal::State::m_slotIdToValuesMap |
a map slot to the attribute list
Referenced by clean(), getValues(), and State().
| std::map<StyleId,StarItemStyle> StarItemPoolInternal::State::m_styleIdToStyleMap |
| StarItemPool::Type StarItemPoolInternal::State::m_type |
| int StarItemPoolInternal::State::m_verEnd |
the maximum version
Referenced by addVersionMap(), getPoolStateFor(), getWhich(), init(), isInRange(), and State().
| std::vector<Version> StarItemPoolInternal::State::m_versionList |
the list of version
Referenced by addVersionMap(), clean(), getWhich(), init(), and State().
| int StarItemPoolInternal::State::m_verStart |
the minimum version
Referenced by addVersionMap(), getDefaultAttribute(), getPoolStateFor(), init(), isInRange(), and State().