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

#include <SegmentedArray.h>

Public Types

typedef TItem Item
 
typedef TMemManager MemManager
 
typedef TItemTraits ItemTraits
 
typedef TSettings Settings
 
typedef internal::ArrayIndexIterator< SegmentedArray, ItemIterator
 
typedef Iterator::ConstIterator ConstIterator
 

Public Member Functions

 SegmentedArray () noexcept(std::is_nothrow_default_constructible< MemManager >::value)
 
 SegmentedArray (MemManager memManager) noexcept
 
 SegmentedArray (size_t count, MemManager memManager=MemManager())
 
 SegmentedArray (size_t count, const Item &item, MemManager memManager=MemManager())
 
template<typename ArgIterator , typename = typename std::iterator_traits<ArgIterator>::iterator_category>
 SegmentedArray (ArgIterator begin, ArgIterator end, MemManager memManager=MemManager())
 
 SegmentedArray (std::initializer_list< Item > items)
 
 SegmentedArray (std::initializer_list< Item > items, MemManager memManager)
 
 SegmentedArray (SegmentedArray &&array) noexcept
 
 SegmentedArray (const SegmentedArray &array)
 
 SegmentedArray (const SegmentedArray &array, bool shrink)
 
 SegmentedArray (const SegmentedArray &array, MemManager memManager)
 
 ~SegmentedArray () noexcept
 
SegmentedArrayoperator= (SegmentedArray &&array) noexcept
 
SegmentedArrayoperator= (const SegmentedArray &array)
 
void Swap (SegmentedArray &array) noexcept
 
ConstIterator GetBegin () const noexcept
 
Iterator GetBegin () noexcept
 
ConstIterator GetEnd () const noexcept
 
Iterator GetEnd () 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 () noexcept
 
void Shrink (size_t capacity) noexcept
 
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 SegmentedArray &array, const EqualFunc &equalFunc=EqualFunc()) const
 

Static Public Member Functions

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

Detailed Description

template<typename TItem, typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
class momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >

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

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

Swap and move operations invalidate all container iterators.

Member Typedef Documentation

◆ ConstIterator

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef Iterator::ConstIterator momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::ConstIterator

◆ Item

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef TItem momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Item

◆ ItemTraits

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef TItemTraits momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::ItemTraits

◆ Iterator

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef internal::ArrayIndexIterator<SegmentedArray, Item> momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Iterator

◆ MemManager

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef TMemManager momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::MemManager

◆ Settings

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
typedef TSettings momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Settings

Constructor & Destructor Documentation

◆ SegmentedArray() [1/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( )
inlinenoexcept

◆ SegmentedArray() [2/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( MemManager  memManager)
inlineexplicitnoexcept

◆ SegmentedArray() [3/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( size_t  count,
MemManager  memManager = MemManager() 
)
inlineexplicit

◆ SegmentedArray() [4/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( size_t  count,
const Item item,
MemManager  memManager = MemManager() 
)
inlineexplicit

◆ SegmentedArray() [5/11]

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

◆ SegmentedArray() [6/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( std::initializer_list< Item items)
inline

◆ SegmentedArray() [7/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( std::initializer_list< Item items,
MemManager  memManager 
)
inlineexplicit

◆ SegmentedArray() [8/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &&  array)
inlinenoexcept

◆ SegmentedArray() [9/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( const SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &  array)
inline

◆ SegmentedArray() [10/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( const SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &  array,
bool  shrink 
)
inlineexplicit

◆ SegmentedArray() [11/11]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SegmentedArray ( const SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &  array,
MemManager  memManager 
)
inlineexplicit

◆ ~SegmentedArray()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::~SegmentedArray ( )
inlinenoexcept

Member Function Documentation

◆ AddBack() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBack ( const Item item)
inline

◆ AddBack() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBack ( Item &&  item)
inline

◆ AddBackCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename ItemCreator >
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackCrt ( ItemCreator &&  itemCreator)
inline

◆ AddBackNogrow() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrow ( const Item item)
inline

◆ AddBackNogrow() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrow ( Item &&  item)
inline

◆ AddBackNogrowCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename ItemCreator >
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrowCrt ( ItemCreator &&  itemCreator)
inline

◆ AddBackNogrowVar()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename... ItemArgs>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackNogrowVar ( ItemArgs &&...  itemArgs)
inline

◆ AddBackVar()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename... ItemArgs>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::AddBackVar ( ItemArgs &&...  itemArgs)
inline

◆ Clear()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Clear ( bool  shrink = false)
inlinenoexcept

◆ Contains()

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

◆ CreateCap()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
static SegmentedArray momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::CreateCap ( size_t  capacity,
MemManager  memManager = MemManager() 
)
inlinestatic

◆ CreateCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename MultiItemCreator >
static SegmentedArray momo::SegmentedArray< 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 = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
Item& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetBackItem ( )
inline

◆ GetBackItem() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
const Item& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetBackItem ( ) const
inline

◆ GetBegin() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
ConstIterator momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetBegin ( ) const
inlinenoexcept

◆ GetBegin() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
Iterator momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetBegin ( )
inlinenoexcept

◆ GetCapacity()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
size_t momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetCapacity ( ) const
inlinenoexcept

◆ GetCount()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
size_t momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetCount ( ) const
inlinenoexcept

◆ GetEnd() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
ConstIterator momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetEnd ( ) const
inlinenoexcept

◆ GetEnd() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
Iterator momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetEnd ( )
inlinenoexcept

◆ GetMemManager() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
const MemManager& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetMemManager ( ) const
inlinenoexcept

◆ GetMemManager() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
MemManager& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::GetMemManager ( )
inlinenoexcept

◆ Insert() [1/5]

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

◆ Insert() [2/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
const Item item 
)
inline

◆ Insert() [3/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
Item &&  item 
)
inline

◆ Insert() [4/5]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< 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 = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Insert ( size_t  index,
std::initializer_list< Item items 
)
inline

◆ InsertCrt()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
template<typename ItemCreator >
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::InsertCrt ( size_t  index,
ItemCreator &&  itemCreator 
)
inline

◆ InsertVar()

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

◆ IsEmpty()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
bool momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::IsEmpty ( ) const
inlinenoexcept

◆ IsEqual()

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

◆ operator=() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
SegmentedArray& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::operator= ( const SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &  array)
inline

◆ operator=() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
SegmentedArray& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::operator= ( SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &&  array)
inlinenoexcept

◆ operator[]() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
Item& momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::operator[] ( size_t  index)
inline

◆ operator[]() [2/2]

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

◆ Remove() [1/2]

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

◆ Remove() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Remove ( size_t  index,
size_t  count = 1 
)
inline

◆ RemoveBack()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::RemoveBack ( size_t  count = 1)
inline

◆ Reserve()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Reserve ( size_t  capacity)
inline

◆ SetCount() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SetCount ( size_t  count)
inline

◆ SetCount() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::SetCount ( size_t  count,
const Item item 
)
inline

◆ SetCountCrt()

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

◆ Shrink() [1/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Shrink ( )
inlinenoexcept

◆ Shrink() [2/2]

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Shrink ( size_t  capacity)
inlinenoexcept

◆ Swap()

template<typename TItem , typename TMemManager = MemManagerDefault, typename TItemTraits = SegmentedArrayItemTraits<TItem, TMemManager>, typename TSettings = SegmentedArraySettings<>>
void momo::SegmentedArray< TItem, TMemManager, TItemTraits, TSettings >::Swap ( SegmentedArray< TItem, TMemManager, TItemTraits, TSettings > &  array)
inlinenoexcept

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