Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::ModuleCollection Struct Reference

A collection of modules. More...

#include <C:/Trend/Development/Trax3/Code/trax/rigid/modules/ModuleCollection.h>

Inheritance diagram for trax::ModuleCollection:

Static Public Member Functions

static dclspc std::unique_ptr< ModuleCollectionMake () noexcept
 Makes a standard ModuleCollection object.

Additional Inherited Members

Public Types inherited from trax::Collection< ModuleCollection, Module >
using iterator
using const_iterator
using collection_type
using value_type
Public Member Functions inherited from trax::Collection< ModuleCollection, Module >
virtual const char * TypeName () const noexcept=0
virtual bool IsValid () const noexcept=0
 Checks whether the elements in this collection are valid.
virtual IDType Add (std::shared_ptr< Module > pValue_Type)=0
 Adds an element to the container and returns its index in the container.
virtual IDType AddRelaxed (std::shared_ptr< Module > pTraxType)=0
 Adds an element to the container and returns its index in the container. Does not throw.
virtual bool Remove (Module *pValue_Type, bool zeroIDs=false)=0
 Removes an element from this container.
virtual int Take (ModuleCollection &collection_Type)=0
 Moves all the items from another container to this container.
virtual void Clear ()=0
 Removes all the elements from this container.
virtual int Count () const=0
virtual iterator begin ()=0
virtual const_iterator cbegin () const=0
virtual iterator end ()=0
virtual const_iterator cend () const=0
virtual std::shared_ptr< ModuleGetFirst () const=0
virtual std::shared_ptr< ModuleGetNext (const std::shared_ptr< Module > &pValue_Type) const=0
virtual std::shared_ptr< ModuleGetLast () const=0
virtual std::shared_ptr< ModuleGetPrevious (const std::shared_ptr< Module > &pValue_Type) const=0
virtual void PushActive (IDType id)=0
 Pushes an element on the activety stack.
virtual void PopActive ()=0
 Pops an element from the activity stack.
virtual std::shared_ptr< ModuleGetActive () const=0
virtual void ShiftIDs (int offset)=0
 Adds an offset to all ids.
virtual IDType MaxID () const=0
virtual IDType MinID () const=0
 Collection (const Collection &)=delete
Collection & operator= (const Collection &)=delete
virtual std::shared_ptr< ModuleGet (IDType id) const=0
virtual bool IsMember (const value_type &item) const=0
Protected Member Functions inherited from trax::Collection< ModuleCollection, Module >
virtual void SetDecorator (ModuleCollection *pCollection_TypeDecorator)=0
Protected Attributes inherited from trax::Collection< ModuleCollection, Module >
friend Decorator< Collection_Type >

Detailed Description

A collection of modules.

Holds several modules that m


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