Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::Container_Imp< TraxType, Base > Class Template Reference
Inheritance diagram for trax::Container_Imp< TraxType, Base >:

Public Member Functions

bool IsValid () const noexcept override
IDType Add (std::shared_ptr< TraxType > pTraxType) override
IDType AddRelaxed (std::shared_ptr< TraxType > pTraxType) override
bool Remove (TraxType *pTraxType, bool zeroIDs=false) override
int Take (typename Base::collection_type &collection) override
void Clear () noexcept override
int Count () const noexcept override
Base::collection_type::iterator begin () noexcept override
Base::collection_type::iterator end () noexcept override
Base::collection_type::const_iterator begin () const noexcept override
Base::collection_type::const_iterator cbegin () const noexcept override
Base::collection_type::const_iterator end () const noexcept override
Base::collection_type::const_iterator cend () const noexcept override
std::shared_ptr< TraxType > GetFirst () const noexcept override
std::shared_ptr< TraxType > GetNext (const std::shared_ptr< TraxType > &pTraxType) const override
std::shared_ptr< TraxType > GetLast () const override
std::shared_ptr< TraxType > GetPrevious (const std::shared_ptr< TraxType > &pTraxType) const override
std::shared_ptr< TraxType > Get (IDType id) const override
std::shared_ptr< TraxType > Get (const std::string &name) const override
void PushActive (IDType id) override
void PopActive () override
std::shared_ptr< TraxType > GetActive () const override
bool IsMember (const TraxType &item) const override
bool IsMember (IDType id) const override
void ShiftIDs (int offset) override
IDType MaxID () const override
IDType MinID () const override

Protected Types

using ContainerType = std::map<IDType,std::shared_ptr<TraxType>>

Protected Member Functions

void SetDecorator (Base *pDecorator) noexcept override
Base * Decorator () const noexcept

Protected Attributes

ContainerType m_Container

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