momo  3.9
momo::Array< TItem, TMemManager, TItemTraits, TSettings > Class Template Reference

#include <Array.h>

Public Types

typedef TItem Item
 
typedef TMemManager MemManager
 
typedef TItemTraits ItemTraits
 
typedef TSettings Settings
 
typedef IteratorSelector::ConstIterator ConstIterator
 
typedef IteratorSelector::Iterator Iterator
 

Public Member Functions

 Array () noexcept(std::is_nothrow_default_constructible< MemManager >::value)
 
 Array (MemManager memManager) noexcept
 
 Array (size_t count, MemManager memManager=MemManager())
 
 Array (size_t count, const Item &item, MemManager memManager=MemManager())
 
template<typename ArgIterator , typename = typename std::iterator_traits<ArgIterator>::iterator_category>
 Array (ArgIterator begin, ArgIterator end, MemManager memManager=MemManager())
 
 Array (std::initializer_list< Item > items)
 
 Array (std::initializer_list< Item > items, MemManager memManager)
 
 Array (Array &&array) noexcept
 
 Array (const Array &array)
 
 Array (const Array &array, bool shrink)
 
 Array (const Array &array, MemManager memManager)
 
 ~Array ()=default
 
Arrayoperator= (Array &&array) noexcept
 
Arrayoperator= (const Array &array)
 
void Swap (Array &array) noexcept
 
ConstIterator GetBegin () const noexcept
 
Iterator GetBegin () noexcept
 
ConstIterator GetEnd () const noexcept
 
Iterator GetEnd () noexcept
 
const ItemGetItems () const noexcept
 
ItemGetItems () noexcept
 
const MemManagerGetMemManager () const noexcept
 
MemManagerGetMemManager () noexcept
 
size_t GetCount () const noexcept
 
template<typename MultiItemCreator >
void SetCountCrt (size_t count, const MultiItemCreator &multiItemCreator)
 
void SetCount (size_t count)
 
void SetCount (size_t count, const Item &item)
 
bool IsEmpty () const noexcept
 
void Clear (bool shrink=false) noexcept
 
size_t GetCapacity () const noexcept
 
void Reserve (size_t capacity)
 
void Shrink ()
 
void Shrink (size_t capacity)
 
const Itemoperator[] (size_t index) const
 
Itemoperator[] (size_t index)
 
const ItemGetBackItem () const
 
ItemGetBackItem ()
 
template<typename ItemCreator >
void AddBackNogrowCrt (ItemCreator &&itemCreator)
 
template<typename... ItemArgs>
void AddBackNogrowVar (ItemArgs &&... itemArgs)
 
void AddBackNogrow (Item &&item)
 
void AddBackNogrow (const Item &item)
 
template<typename ItemCreator >
void AddBackCrt (ItemCreator &&itemCreator)
 
template<typename... ItemArgs>
void AddBackVar (ItemArgs &&... itemArgs)
 
void AddBack (Item &&item)
 
void AddBack (const Item &item)
 
template<typename ItemCreator >
void InsertCrt (size_t index, ItemCreator &&itemCreator)
 
template<typename... ItemArgs>
void InsertVar (size_t index, ItemArgs &&... itemArgs)
 
void Insert (size_t index, Item &&item)
 
void Insert (size_t index, const Item &item)
 
void Insert (size_t index, size_t count, const Item &item)
 
template<typename ArgIterator , typename = typename std::iterator_traits<ArgIterator>::iterator_category>
void Insert (size_t index, ArgIterator begin, ArgIterator end)
 
void Insert (size_t index, std::initializer_list< Item > items)
 
void RemoveBack (size_t count=1)
 
void Remove (size_t index, size_t count=1)
 
template<typename ItemFilter >
internal::EnableIf< internal::IsInvocable< const ItemFilter &, bool, const Item & >::value, size_t > Remove (const ItemFilter &itemFilter)
 
template<typename EqualFunc = std::equal_to<Item>>
bool Contains (const Item &item, const EqualFunc &equalFunc=EqualFunc()) const
 
template<typename EqualFunc = std::equal_to<Item>>
bool IsEqual (const Array &array, const EqualFunc &equalFunc=EqualFunc()) const
 

Static Public Member Functions

static Array CreateCap (size_t capacity, MemManager memManager=MemManager())
 
template<typename MultiItemCreator >
static Array CreateCrt (size_t count, const MultiItemCreator &multiItemCreator, MemManager memManager=MemManager())
 

Static Public Attributes

static const size_t internalCapacity = Settings::internalCapacity
 

Detailed Description

template<typename TItem, typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
class momo::Array< TItem, TMemManager, TItemTraits, TSettings >

All Array functions and constructors have strong exception safety, but not the following cases:

  • Functions Insert, InsertVar, InsertCrt, Remove have basic exception safety.

Member Typedef Documentation

◆ ConstIterator

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef IteratorSelector::ConstIterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::ConstIterator

◆ Item

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef TItem momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Item

◆ ItemTraits

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef TItemTraits momo::Array< TItem, TMemManager, TItemTraits, TSettings >::ItemTraits

◆ Iterator

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef IteratorSelector::Iterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Iterator

◆ MemManager

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef TMemManager momo::Array< TItem, TMemManager, TItemTraits, TSettings >::MemManager

◆ Settings

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
typedef TSettings momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Settings

Constructor & Destructor Documentation

◆ Array() [1/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( )
inlinenoexcept

◆ Array() [2/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( MemManager  memManager)
inlineexplicitnoexcept

◆ Array() [3/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( size_t  count,
MemManager  memManager = MemManager() 
)
inlineexplicit

◆ Array() [4/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( size_t  count,
const Item item,
MemManager  memManager = MemManager() 
)
inlineexplicit

◆ Array() [5/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ArgIterator , typename = typename std::iterator_traits<ArgIterator>::iterator_category>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( ArgIterator  begin,
ArgIterator  end,
MemManager  memManager = MemManager() 
)
inlineexplicit

◆ Array() [6/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( std::initializer_list< Item items)
inline

◆ Array() [7/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( std::initializer_list< Item items,
MemManager  memManager 
)
inlineexplicit

◆ Array() [8/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( Array< TItem, TMemManager, TItemTraits, TSettings > &&  array)
inlinenoexcept

◆ Array() [9/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( const Array< TItem, TMemManager, TItemTraits, TSettings > &  array)
inline

◆ Array() [10/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( const Array< TItem, TMemManager, TItemTraits, TSettings > &  array,
bool  shrink 
)
inlineexplicit

◆ Array() [11/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Array ( const Array< TItem, TMemManager, TItemTraits, TSettings > &  array,
MemManager  memManager 
)
inlineexplicit

◆ ~Array()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
momo::Array< TItem, TMemManager, TItemTraits, TSettings >::~Array ( )
default

Member Function Documentation

◆ AddBack() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBack ( const Item item)
inline

◆ AddBack() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBack ( Item &&  item)
inline

◆ AddBackCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ItemCreator >
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackCrt ( ItemCreator &&  itemCreator)
inline

◆ AddBackNogrow() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrow ( const Item item)
inline

◆ AddBackNogrow() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrow ( Item &&  item)
inline

◆ AddBackNogrowCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ItemCreator >
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrowCrt ( ItemCreator &&  itemCreator)
inline

◆ AddBackNogrowVar()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename... ItemArgs>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrowVar ( ItemArgs &&...  itemArgs)
inline

◆ AddBackVar()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename... ItemArgs>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::AddBackVar ( ItemArgs &&...  itemArgs)
inline

◆ Clear()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Clear ( bool  shrink = false)
inlinenoexcept

◆ Contains()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename EqualFunc = std::equal_to<Item>>
bool momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Contains ( const Item item,
const EqualFunc &  equalFunc = EqualFunc() 
) const
inline

◆ CreateCap()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
static Array momo::Array< TItem, TMemManager, TItemTraits, TSettings >::CreateCap ( size_t  capacity,
MemManager  memManager = MemManager() 
)
inlinestatic

◆ CreateCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename MultiItemCreator >
static Array momo::Array< TItem, TMemManager, TItemTraits, TSettings >::CreateCrt ( size_t  count,
const MultiItemCreator &  multiItemCreator,
MemManager  memManager = MemManager() 
)
inlinestatic

◆ GetBackItem() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Item& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetBackItem ( )
inline

◆ GetBackItem() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
const Item& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetBackItem ( ) const
inline

◆ GetBegin() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
ConstIterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetBegin ( ) const
inlinenoexcept

◆ GetBegin() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Iterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetBegin ( )
inlinenoexcept

◆ GetCapacity()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
size_t momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetCapacity ( ) const
inlinenoexcept

◆ GetCount()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
size_t momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetCount ( ) const
inlinenoexcept

◆ GetEnd() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
ConstIterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetEnd ( ) const
inlinenoexcept

◆ GetEnd() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Iterator momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetEnd ( )
inlinenoexcept

◆ GetItems() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
const Item* momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetItems ( ) const
inlinenoexcept

◆ GetItems() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Item* momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetItems ( )
inlinenoexcept

◆ GetMemManager() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
const MemManager& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetMemManager ( ) const
inlinenoexcept

◆ GetMemManager() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
MemManager& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::GetMemManager ( )
inlinenoexcept

◆ Insert() [1/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ArgIterator , typename = typename std::iterator_traits<ArgIterator>::iterator_category>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
ArgIterator  begin,
ArgIterator  end 
)
inline

◆ Insert() [2/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
const Item item 
)
inline

◆ Insert() [3/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
Item &&  item 
)
inline

◆ Insert() [4/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
size_t  count,
const Item item 
)
inline

◆ Insert() [5/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
std::initializer_list< Item items 
)
inline

◆ InsertCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ItemCreator >
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::InsertCrt ( size_t  index,
ItemCreator &&  itemCreator 
)
inline

◆ InsertVar()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename... ItemArgs>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::InsertVar ( size_t  index,
ItemArgs &&...  itemArgs 
)
inline

◆ IsEmpty()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
bool momo::Array< TItem, TMemManager, TItemTraits, TSettings >::IsEmpty ( ) const
inlinenoexcept

◆ IsEqual()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename EqualFunc = std::equal_to<Item>>
bool momo::Array< TItem, TMemManager, TItemTraits, TSettings >::IsEqual ( const Array< TItem, TMemManager, TItemTraits, TSettings > &  array,
const EqualFunc &  equalFunc = EqualFunc() 
) const
inline

◆ operator=() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Array& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::operator= ( Array< TItem, TMemManager, TItemTraits, TSettings > &&  array)
inlinenoexcept

◆ operator=() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Array& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::operator= ( const Array< TItem, TMemManager, TItemTraits, TSettings > &  array)
inline

◆ operator[]() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
Item& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::operator[] ( size_t  index)
inline

◆ operator[]() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
const Item& momo::Array< TItem, TMemManager, TItemTraits, TSettings >::operator[] ( size_t  index) const
inline

◆ Remove() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename ItemFilter >
internal::EnableIf<internal::IsInvocable<const ItemFilter&, bool, const Item&>::value, size_t> momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Remove ( const ItemFilter &  itemFilter)
inline

◆ Remove() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Remove ( size_t  index,
size_t  count = 1 
)
inline

◆ RemoveBack()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::RemoveBack ( size_t  count = 1)
inline

◆ Reserve()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Reserve ( size_t  capacity)
inline

◆ SetCount() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::SetCount ( size_t  count)
inline

◆ SetCount() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::SetCount ( size_t  count,
const Item item 
)
inline

◆ SetCountCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
template<typename MultiItemCreator >
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::SetCountCrt ( size_t  count,
const MultiItemCreator &  multiItemCreator 
)
inline

◆ Shrink() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Shrink ( )
inline

◆ Shrink() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Shrink ( size_t  capacity)
inline

◆ Swap()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
void momo::Array< TItem, TMemManager, TItemTraits, TSettings >::Swap ( Array< TItem, TMemManager, TItemTraits, TSettings > &  array)
inlinenoexcept

Member Data Documentation

◆ internalCapacity

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = ArrayItemTraits<TItem, TMemManager>, typename TSettings = ArraySettings<>>
const size_t momo::Array< TItem, TMemManager, TItemTraits, TSettings >::internalCapacity = Settings::internalCapacity
static

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