score::EntityList< T > Class Template Reference

Public Types

using value_type = T
 

Public Member Functions

auto begin () const
 
auto cbegin () const
 
auto end () const
 
auto cend () const
 
auto size () const
 
bool empty () const
 
auto & unsafe_list ()
 
const auto & list () const
 
const auto & get () const
 
T & at (const Id< T > &id)
 
T & at (const Id< T > &id) const
 
T & at_pos (std::size_t n) const
 
auto find (const Id< T > &id) const
 
auto find (const Id< T > &id)
 
auto index (const Id< T > &id) const
 
void add (T *t)
 
void erase (T &elt)
 
void remove (T &elt)
 
void remove (T *elt)
 
void remove (const Id< T > &id)
 
void clear ()
 
void insert_at (std::size_t pos, T *t)
 
void move (const Id< T > &id, std::size_t pos)
 

Public Attributes

Nano::Signal< void(T &)> mutable_added
 
Nano::Signal< void(const T &)> added
 
Nano::Signal< void(const T &)> removing
 
Nano::Signal< void(const T &)> removed
 
Nano::Signal< void()> orderChanged
 

The documentation for this class was generated from the following file: