CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdManagedSlots< TVal, TAlloc > Class Template Reference

#include <SlotManager.h>

Inheritance diagram for OdManagedSlots< TVal, TAlloc >:
OdSlots< TVal, TAlloc > OdSlotManager OdArray< T, A >

Public Types

typedef OdSlots< TVal, TAlloc >::size_type size_type
 
- Public Types inherited from OdSlots< TVal, TAlloc >
typedef OdArray< TVal, TAlloc >::size_type size_type
 
- Public Types inherited from OdArray< T, A >
using size_type = typename A::size_type
 
using iterator = T *
 
using const_iterator = const T *
 
using value_type = T
 
using const_reference = const T &
 
using reference = T &
 
using ConstForPtrT = typename std::conditional< std::is_pointer< T >::value, typename std::add_const< typename std::remove_pointer< T >::type >::type *, T >::type
 

Public Member Functions

 OdManagedSlots ()
 
 OdManagedSlots (size_type physicalLength, int growLength=8)
 
- Public Member Functions inherited from OdSlots< TVal, TAlloc >
 OdSlots ()
 
 OdSlots (size_type physicalLength, int growLength=8)
 
const TVal & operator[] (OdSlotId slotId) const
 
TVal & operator[] (OdSlotId slotId)
 
const TVal & getAt (OdSlotId slotId) const
 
void setAt (OdSlotId slotId, const TVal &value)
 
- Public Member Functions inherited from OdArray< T, A >
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
std::reverse_iterator< iteratorrbegin ()
 
std::reverse_iterator< const_iteratorrbegin () const
 
std::reverse_iterator< iteratorrend ()
 
std::reverse_iterator< const_iteratorrend () const
 
void insert (iterator before, const_iterator first, const_iterator afterLast)
 
void insertMove (iterator before, iterator first, iterator afterLast)
 
void resize (size_type logicalLength, const T &value)
 
void resize (size_type logicalLength)
 
size_type size () const
 
bool empty () const
 
size_type capacity () const
 
void reserve (size_type reserveLength)
 
void assign (const_iterator first, const_iterator afterLast)
 
void assignMove (iterator first, iterator afterLast)
 
iterator erase (iterator first, iterator afterLast)
 
iterator erase (iterator where)
 
void clear ()
 
void push_back (const T &value)
 
void push_back (T &&value)
 
iterator insert (iterator before, size_type numElements, const T &value)
 
iterator insert (iterator before, const T &value=T())
 
iterator insert (iterator before, T &&value)
 
bool contains (const ConstForPtrT &value, size_type start=0) const
 
size_type length () const
 
bool isEmpty () const
 
size_type logicalLength () const
 
size_type physicalLength () const
 
int growLength () const
 
const T * asArrayPtr () const
 
const T * getPtr () const
 
T * asArrayPtr ()
 
const T & operator[] (size_type index) const
 
T & operator[] (size_type index)
 
T & at (size_type arrayIndex)
 
const T & at (size_type arrayIndex) const
 
OdArraysetAt (size_type arrayIndex, const T &value)
 
const T & getAt (size_type arrayIndex) const
 
T & first ()
 
const T & first () const
 
T & last ()
 
const T & last () const
 
size_type append (const T &value)
 
size_type append (T &&value)
 
OdArrayinsertAtMove (size_type index, T &value)
 
size_type appendMove (T &value)
 
OdArrayappendMove (OdArray &otherArray)
 
OdArrayappendRep (const T &value, size_type nCount)
 
template<typename... Args>
OdArrayappendList (const Args &... args)
 
iterator append ()
 
OdArrayremoveFirst ()
 
OdArrayremoveLast ()
 
OdArraysetGrowLength (int growLength)
 
 OdArray (size_type physicalLength, int growLength=8)
 
 OdArray ()
 
 OdArray (const OdArray &source)
 
 OdArray (OdArray &&source)
 
 ~OdArray ()
 
OdArrayoperator= (const OdArray &source)
 
OdArrayoperator= (OdArray &&source)
 
bool operator== (const OdArray &array) const
 
bool operator!= (const OdArray &array) const
 
OdArraysetAll (const T &value)
 
OdArrayappend (const OdArray &otherArray)
 
OdArrayappend (OdArray &&otherArray)
 
OdArrayinsertAt (size_type arrayIndex, const T &value)
 
OdArrayinsertAt (size_type index, T &&val)
 
OdArrayremoveAt (size_type arrayIndex)
 
OdArrayremoveSubArray (size_type startIndex, size_type endIndex)
 
bool find (const ConstForPtrT &value, size_type &findIndex, size_type start=0) const
 
OdArraysetLogicalLength (size_type logLength)
 
OdArraysetPhysicalLength (size_type physLength)
 
OdArrayreverse ()
 
OdArrayswap (size_type firstIndex, size_type secondIndex)
 
void swap (OdArray &other)
 
bool remove (const T &value, size_type start=0)
 
- Public Member Functions inherited from OdSlotManager
 OdSlotManager ()
 
OdSlotId newSlot ()
 
void freeSlot (OdSlotId slotId)
 
bool contains (OdSlotId slotId) const
 
unsigned int numSlots () const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdSlots< TVal, TAlloc >
static const TVal * emptySlotValue ()
 
- Static Public Member Functions inherited from OdArray< T, A >
static OdArray< T, A > create (T *sourceArray, int sourceLength)
 

Detailed Description

template<class TVal, class TAlloc = OdObjectsAllocator<TVal>>
class OdManagedSlots< TVal, TAlloc >

This template class implements Managed collections of Slots. <group Other_Classes>

Definition at line 193 of file SlotManager.h.

Member Typedef Documentation

◆ size_type

template<class TVal , class TAlloc = OdObjectsAllocator<TVal>>
typedef OdSlots<TVal,TAlloc>::size_type OdManagedSlots< TVal, TAlloc >::size_type

Definition at line 198 of file SlotManager.h.

Constructor & Destructor Documentation

◆ OdManagedSlots() [1/2]

template<class TVal , class TAlloc = OdObjectsAllocator<TVal>>
OdManagedSlots< TVal, TAlloc >::OdManagedSlots ( )
inline

Constructor for the OdManagedSlots class.

Definition at line 203 of file SlotManager.h.

◆ OdManagedSlots() [2/2]

template<class TVal , class TAlloc = OdObjectsAllocator<TVal>>
OdManagedSlots< TVal, TAlloc >::OdManagedSlots ( size_type  physicalLength,
int  growLength = 8 
)
inline
Parameters
physicalLength[in] Initial physical length.
growLength[in] Initial grow length.

Definition at line 208 of file SlotManager.h.


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