Public Types | Public Member Functions | Public Attributes
OVR::ArrayDataBase< T, Allocator, SizePolicy > Struct Template Reference

#include <OVR_Array.h>

Inheritance diagram for OVR::ArrayDataBase< T, Allocator, SizePolicy >:
Inheritance graph
[legend]

List of all members.

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

ValueTypeData
SizePolicy Policy
UPInt Size

Detailed Description

template<class T, class Allocator, class SizePolicy>
struct OVR::ArrayDataBase< T, Allocator, SizePolicy >

Definition at line 76 of file OVR_Array.h.


Member Typedef Documentation

template<class T, class Allocator, class SizePolicy>
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.

template<class T, class Allocator, class SizePolicy>
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.

template<class T, class Allocator, class SizePolicy>
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.

template<class T, class Allocator, class SizePolicy>
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.


Constructor & Destructor Documentation

template<class T, class Allocator, class SizePolicy>
OVR::ArrayDataBase< T, Allocator, SizePolicy >::ArrayDataBase ( ) [inline]

Definition at line 83 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
OVR::ArrayDataBase< T, Allocator, SizePolicy >::ArrayDataBase ( const SizePolicy &  p) [inline]

Definition at line 86 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
OVR::ArrayDataBase< T, Allocator, SizePolicy >::~ArrayDataBase ( ) [inline]

Definition at line 89 of file OVR_Array.h.


Member Function Documentation

template<class T, class Allocator, class SizePolicy>
void OVR::ArrayDataBase< T, Allocator, SizePolicy >::ClearAndRelease ( ) [inline]

Definition at line 100 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
UPInt OVR::ArrayDataBase< T, Allocator, SizePolicy >::GetCapacity ( ) const [inline]

Definition at line 95 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
void OVR::ArrayDataBase< T, Allocator, SizePolicy >::Reserve ( UPInt  newCapacity) [inline]

Definition at line 109 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
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.


Member Data Documentation

template<class T, class Allocator, class SizePolicy>
ValueType* OVR::ArrayDataBase< T, Allocator, SizePolicy >::Data

Definition at line 190 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
SizePolicy OVR::ArrayDataBase< T, Allocator, SizePolicy >::Policy

Definition at line 192 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
UPInt OVR::ArrayDataBase< T, Allocator, SizePolicy >::Size

Definition at line 191 of file OVR_Array.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49