Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::ArrayDataBase< T, Allocator, SizePolicy > Struct Template Reference

#include "OVR_Array.h"

Inheritance diagram for OVR::ArrayDataBase< T, Allocator, SizePolicy >:
Inheritance graph
Collaboration diagram for OVR::ArrayDataBase< T, Allocator, SizePolicy >:
Collaboration graph

Public Types

typedef T ValueType
 
typedef Allocator AllocatorType
 
typedef SizePolicy SizePolicyType
 
typedef ArrayDataBase< T,
Allocator, SizePolicy > 
SelfType
 

Public Member Functions

 ArrayDataBase ()
 
 ArrayDataBase (const SizePolicy &p)
 
 ~ArrayDataBase ()
 
UPInt GetCapacity () const
 
void ClearAndRelease ()
 
void Reserve (UPInt newCapacity)
 
void ResizeNoConstruct (UPInt newSize)
 

Data Fields

ValueTypeData
 
UPInt Size
 
SizePolicy Policy
 

Detailed Description

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

Definition at line 87 of file OVR_Array.h.

Member Typedef Documentation

template<class T, class Allocator, class SizePolicy>
typedef Allocator OVR::ArrayDataBase< T, Allocator, SizePolicy >::AllocatorType

Definition at line 90 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
typedef ArrayDataBase<T, Allocator, SizePolicy> OVR::ArrayDataBase< T, Allocator, SizePolicy >::SelfType

Definition at line 92 of file OVR_Array.h.

template<class T, class Allocator, class SizePolicy>
typedef SizePolicy OVR::ArrayDataBase< T, Allocator, SizePolicy >::SizePolicyType

Definition at line 91 of file OVR_Array.h.

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

Definition at line 89 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 94 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 97 of file OVR_Array.h.

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

Definition at line 100 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 111 of file OVR_Array.h.

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

Definition at line 106 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 120 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 179 of file OVR_Array.h.

Field Documentation

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

Definition at line 201 of file OVR_Array.h.

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

Definition at line 203 of file OVR_Array.h.

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

Definition at line 202 of file OVR_Array.h.


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