IdContainer< Element, Model, false > Class Template Reference
Detailed Description
template<typename Element, typename Model>
class IdContainer< Element, Model, false >
Most common specialization, for non-ordered stuff
Public Types | |
using | model_type = Model |
using | map_t = ossia::hash_map< Id< Model >, Element * > |
using | value_type = Element |
using | iterator = score::indirect_map_iterator< typename map_t::iterator > |
using | const_iterator = score::indirect_map_iterator< typename map_t::const_iterator > |
Public Member Functions | |
IdContainer (const IdContainer &other)=delete | |
IdContainer (IdContainer &&other) noexcept=delete | |
IdContainer & | operator= (const IdContainer &other)=delete |
IdContainer & | operator= (IdContainer &&other)=delete |
const_iterator | begin () const INLINE_EXPORT |
const_iterator | cbegin () const INLINE_EXPORT |
const_iterator | end () const INLINE_EXPORT |
const_iterator | cend () const INLINE_EXPORT |
std::size_t | size () const INLINE_EXPORT |
bool | empty () const INLINE_EXPORT |
std::vector< Element * > | as_vec () const INLINE_EXPORT |
score::IndirectContainer< Element > | as_indirect_vec () const INLINE_EXPORT |
void | insert (value_type *t) INLINE_EXPORT |
void | remove (typename map_t::iterator it) INLINE_EXPORT |
void | remove (typename map_t::const_iterator it) INLINE_EXPORT |
void | remove (const Id< Model > &id) INLINE_EXPORT |
void | clear () INLINE_EXPORT |
const_iterator | find (const Id< Model > &id) const INLINE_EXPORT |
Element & | at (const Id< Model > &id) const INLINE_EXPORT |
Public Attributes | |
map_t | m_map |
The documentation for this class was generated from the following file: