#include <OVR_Array.h>
Public Types | |
typedef Allocator | AllocatorType |
typedef ArrayDataBase< T, Allocator, SizePolicy > | SelfType |
typedef SizePolicy | SizePolicyType |
typedef T | ValueType |
Public Member Functions | |
ArrayDataBase () | |
ArrayDataBase (const SizePolicy &p) | |
void | ClearAndRelease () |
UPInt | GetCapacity () const |
void | Reserve (UPInt newCapacity) |
void | ResizeNoConstruct (UPInt newSize) |
~ArrayDataBase () | |
Public Attributes | |
ValueType * | Data |
SizePolicy | Policy |
UPInt | Size |
Definition at line 76 of file OVR_Array.h.
typedef Allocator OVR::ArrayDataBase< T, Allocator, SizePolicy >::AllocatorType |
Reimplemented in OVR::ArrayDataCC< T, Allocator, SizePolicy >, OVR::ArrayDataCC< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< T, Allocator, SizePolicy >, OVR::ArrayData< String, ContainerAllocator< String >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Node >, ContainerAllocator< Ptr< Node > >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< UInt16, ContainerAllocator< UInt16 >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator_POD< T >, SizePolicy >, OVR::ArrayData< HIDDevice *, ContainerAllocator< HIDDevice * >, ArrayDefaultPolicy >, OVR::ArrayData< Uniform, ContainerAllocator< Uniform >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< CollisionModel >, ContainerAllocator< Ptr< CollisionModel > >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Texture >, ContainerAllocator< Ptr< Texture > >, ArrayDefaultPolicy >, OVR::ArrayData< Planef, ContainerAllocator< Planef >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Profile >, ContainerAllocator< Ptr< Profile > >, ArrayDefaultPolicy >, OVR::ArrayData< Color, ContainerAllocator< Color >, ArrayDefaultPolicy >, OVR::ArrayData< Notifier *, ContainerAllocator< Notifier * >, ArrayDefaultPolicy >, OVR::ArrayData< Vertex, ContainerAllocator< Vertex >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Model >, ContainerAllocator< Ptr< Model > >, ArrayDefaultPolicy >, OVR::ArrayData< HANDLE, ContainerAllocator< HANDLE >, ArrayDefaultPolicy >, OVR::ArrayData< DeviceStatusNotificationDesc, ContainerAllocator< DeviceStatusNotificationDesc >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< RBuffer >, ContainerAllocator< Ptr< RBuffer > >, ArrayDefaultPolicy >, OVR::ArrayData< RecoveryTimerDesc, ContainerAllocator< RecoveryTimerDesc >, ArrayDefaultPolicy >, OVR::ArrayData< struct pollfd, ContainerAllocator< struct pollfd >, ArrayDefaultPolicy >, and OVR::ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy >.
Definition at line 79 of file OVR_Array.h.
typedef ArrayDataBase<T, Allocator, SizePolicy> OVR::ArrayDataBase< T, Allocator, SizePolicy >::SelfType |
Reimplemented in OVR::ArrayDataCC< T, Allocator, SizePolicy >, OVR::ArrayDataCC< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< T, Allocator, SizePolicy >, OVR::ArrayData< String, ContainerAllocator< String >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Node >, ContainerAllocator< Ptr< Node > >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< UInt16, ContainerAllocator< UInt16 >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator_POD< T >, SizePolicy >, OVR::ArrayData< HIDDevice *, ContainerAllocator< HIDDevice * >, ArrayDefaultPolicy >, OVR::ArrayData< Uniform, ContainerAllocator< Uniform >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< CollisionModel >, ContainerAllocator< Ptr< CollisionModel > >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Texture >, ContainerAllocator< Ptr< Texture > >, ArrayDefaultPolicy >, OVR::ArrayData< Planef, ContainerAllocator< Planef >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Profile >, ContainerAllocator< Ptr< Profile > >, ArrayDefaultPolicy >, OVR::ArrayData< Color, ContainerAllocator< Color >, ArrayDefaultPolicy >, OVR::ArrayData< Notifier *, ContainerAllocator< Notifier * >, ArrayDefaultPolicy >, OVR::ArrayData< Vertex, ContainerAllocator< Vertex >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Model >, ContainerAllocator< Ptr< Model > >, ArrayDefaultPolicy >, OVR::ArrayData< HANDLE, ContainerAllocator< HANDLE >, ArrayDefaultPolicy >, OVR::ArrayData< DeviceStatusNotificationDesc, ContainerAllocator< DeviceStatusNotificationDesc >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< RBuffer >, ContainerAllocator< Ptr< RBuffer > >, ArrayDefaultPolicy >, OVR::ArrayData< RecoveryTimerDesc, ContainerAllocator< RecoveryTimerDesc >, ArrayDefaultPolicy >, OVR::ArrayData< struct pollfd, ContainerAllocator< struct pollfd >, ArrayDefaultPolicy >, and OVR::ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy >.
Definition at line 81 of file OVR_Array.h.
typedef SizePolicy OVR::ArrayDataBase< T, Allocator, SizePolicy >::SizePolicyType |
Reimplemented in OVR::ArrayDataCC< T, Allocator, SizePolicy >, OVR::ArrayDataCC< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< T, Allocator, SizePolicy >, OVR::ArrayData< String, ContainerAllocator< String >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Node >, ContainerAllocator< Ptr< Node > >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< UInt16, ContainerAllocator< UInt16 >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator_POD< T >, SizePolicy >, OVR::ArrayData< HIDDevice *, ContainerAllocator< HIDDevice * >, ArrayDefaultPolicy >, OVR::ArrayData< Uniform, ContainerAllocator< Uniform >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< CollisionModel >, ContainerAllocator< Ptr< CollisionModel > >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Texture >, ContainerAllocator< Ptr< Texture > >, ArrayDefaultPolicy >, OVR::ArrayData< Planef, ContainerAllocator< Planef >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Profile >, ContainerAllocator< Ptr< Profile > >, ArrayDefaultPolicy >, OVR::ArrayData< Color, ContainerAllocator< Color >, ArrayDefaultPolicy >, OVR::ArrayData< Notifier *, ContainerAllocator< Notifier * >, ArrayDefaultPolicy >, OVR::ArrayData< Vertex, ContainerAllocator< Vertex >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Model >, ContainerAllocator< Ptr< Model > >, ArrayDefaultPolicy >, OVR::ArrayData< HANDLE, ContainerAllocator< HANDLE >, ArrayDefaultPolicy >, OVR::ArrayData< DeviceStatusNotificationDesc, ContainerAllocator< DeviceStatusNotificationDesc >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< RBuffer >, ContainerAllocator< Ptr< RBuffer > >, ArrayDefaultPolicy >, OVR::ArrayData< RecoveryTimerDesc, ContainerAllocator< RecoveryTimerDesc >, ArrayDefaultPolicy >, OVR::ArrayData< struct pollfd, ContainerAllocator< struct pollfd >, ArrayDefaultPolicy >, and OVR::ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy >.
Definition at line 80 of file OVR_Array.h.
typedef T OVR::ArrayDataBase< T, Allocator, SizePolicy >::ValueType |
Reimplemented in OVR::ArrayDataCC< T, Allocator, SizePolicy >, OVR::ArrayDataCC< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< T, Allocator, SizePolicy >, OVR::ArrayData< String, ContainerAllocator< String >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Node >, ContainerAllocator< Ptr< Node > >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator< T >, SizePolicy >, OVR::ArrayData< UInt16, ContainerAllocator< UInt16 >, ArrayDefaultPolicy >, OVR::ArrayData< T, ContainerAllocator_POD< T >, SizePolicy >, OVR::ArrayData< HIDDevice *, ContainerAllocator< HIDDevice * >, ArrayDefaultPolicy >, OVR::ArrayData< Uniform, ContainerAllocator< Uniform >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< CollisionModel >, ContainerAllocator< Ptr< CollisionModel > >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Texture >, ContainerAllocator< Ptr< Texture > >, ArrayDefaultPolicy >, OVR::ArrayData< Planef, ContainerAllocator< Planef >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Profile >, ContainerAllocator< Ptr< Profile > >, ArrayDefaultPolicy >, OVR::ArrayData< Color, ContainerAllocator< Color >, ArrayDefaultPolicy >, OVR::ArrayData< Notifier *, ContainerAllocator< Notifier * >, ArrayDefaultPolicy >, OVR::ArrayData< Vertex, ContainerAllocator< Vertex >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< Model >, ContainerAllocator< Ptr< Model > >, ArrayDefaultPolicy >, OVR::ArrayData< HANDLE, ContainerAllocator< HANDLE >, ArrayDefaultPolicy >, OVR::ArrayData< DeviceStatusNotificationDesc, ContainerAllocator< DeviceStatusNotificationDesc >, ArrayDefaultPolicy >, OVR::ArrayData< Ptr< RBuffer >, ContainerAllocator< Ptr< RBuffer > >, ArrayDefaultPolicy >, OVR::ArrayData< RecoveryTimerDesc, ContainerAllocator< RecoveryTimerDesc >, ArrayDefaultPolicy >, OVR::ArrayData< struct pollfd, ContainerAllocator< struct pollfd >, ArrayDefaultPolicy >, and OVR::ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy >.
Definition at line 78 of file OVR_Array.h.
OVR::ArrayDataBase< T, Allocator, SizePolicy >::ArrayDataBase | ( | ) | [inline] |
Definition at line 83 of file OVR_Array.h.
OVR::ArrayDataBase< T, Allocator, SizePolicy >::ArrayDataBase | ( | const SizePolicy & | p | ) | [inline] |
Definition at line 86 of file OVR_Array.h.
OVR::ArrayDataBase< T, Allocator, SizePolicy >::~ArrayDataBase | ( | ) | [inline] |
Definition at line 89 of file OVR_Array.h.
void OVR::ArrayDataBase< T, Allocator, SizePolicy >::ClearAndRelease | ( | ) | [inline] |
Definition at line 100 of file OVR_Array.h.
UPInt OVR::ArrayDataBase< T, Allocator, SizePolicy >::GetCapacity | ( | ) | const [inline] |
Definition at line 95 of file OVR_Array.h.
void OVR::ArrayDataBase< T, Allocator, SizePolicy >::Reserve | ( | UPInt | newCapacity | ) | [inline] |
Definition at line 109 of file OVR_Array.h.
void OVR::ArrayDataBase< T, Allocator, SizePolicy >::ResizeNoConstruct | ( | UPInt | newSize | ) | [inline] |
IMPORTANT to modify Size only after Reserve completes, because garbage collectable
Definition at line 168 of file OVR_Array.h.
ValueType* OVR::ArrayDataBase< T, Allocator, SizePolicy >::Data |
Definition at line 190 of file OVR_Array.h.
SizePolicy OVR::ArrayDataBase< T, Allocator, SizePolicy >::Policy |
Definition at line 192 of file OVR_Array.h.
UPInt OVR::ArrayDataBase< T, Allocator, SizePolicy >::Size |
Definition at line 191 of file OVR_Array.h.