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

#include "OVR_Array.h"

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

Public Types

typedef T ValueType
 
typedef ContainerAllocator_CPP< T > AllocatorType
 
typedef SizePolicy SizePolicyType
 
typedef ArrayCPP< T, SizePolicy > SelfType
 
typedef ArrayBase< ArrayData
< T, ContainerAllocator_CPP< T >
, SizePolicy > > 
BaseType
 
- Public Types inherited from OVR::ArrayBase< ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy > >
typedef ArrayData< T,
ContainerAllocator_CPP< T >
, SizePolicy >::ValueType 
ValueType
 
typedef ArrayData< T,
ContainerAllocator_CPP< T >
, SizePolicy >::AllocatorType 
AllocatorType
 
typedef ArrayData< T,
ContainerAllocator_CPP< T >
, SizePolicy >::SizePolicyType 
SizePolicyType
 
typedef ArrayBase< ArrayData
< T, ContainerAllocator_CPP< T >
, SizePolicy > > 
SelfType
 

Public Member Functions

 ArrayCPP ()
 
 ArrayCPP (UPInt size)
 
 ArrayCPP (const SizePolicyType &p)
 
 ArrayCPP (const SelfType &a)
 
const SelfTypeoperator= (const SelfType &a)
 
- Public Member Functions inherited from OVR::ArrayBase< ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy > >
 ArrayBase ()
 
 ArrayBase (UPInt size)
 
 ArrayBase (const SelfType &a)
 
 ArrayBase (const ValueType &defval)
 
 ArrayBase (const ValueType &defval, UPInt size)
 
SizePolicyTypeGetSizePolicy () const
 
void SetSizePolicy (const SizePolicyType &p)
 
bool NeverShrinking () const
 
UPInt GetSize () const
 
bool IsEmpty () const
 
UPInt GetCapacity () const
 
UPInt GetNumBytes () const
 
void ClearAndRelease ()
 
void Clear ()
 
void Resize (UPInt newSize)
 
void Reserve (UPInt newCapacity)
 
ValueTypeAt (UPInt index)
 
const ValueTypeAt (UPInt index) const
 
ValueType ValueAt (UPInt index) const
 
ValueTypeoperator[] (UPInt index)
 
const ValueTypeoperator[] (UPInt index) const
 
const ValueTypeGetDataPtr () const
 
ValueTypeGetDataPtr ()
 
void PushBack (const ValueType &val)
 
void PushBackAlt (const S &val)
 
void PopBack (UPInt count=1)
 
ValueTypePushDefault ()
 
ValueType Pop ()
 
ValueTypeFront ()
 
const ValueTypeFront () const
 
ValueTypeBack ()
 
const ValueTypeBack () const
 
const SelfTypeoperator= (const SelfType &a)
 
void RemoveMultipleAt (UPInt index, UPInt num)
 
void RemoveAt (UPInt index)
 
void RemoveAtUnordered (UPInt index)
 
void InsertAt (UPInt index, const ValueType &val=ValueType())
 
void InsertMultipleAt (UPInt index, UPInt num, const ValueType &val=ValueType())
 
void Append (const SelfType &other)
 
void Append (const ValueType other[], UPInt count)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
Iterator Last ()
 
ConstIterator Last () const
 

Additional Inherited Members

- Protected Attributes inherited from OVR::ArrayBase< ArrayData< T, ContainerAllocator_CPP< T >, SizePolicy > >
ArrayData< T,
ContainerAllocator_CPP< T >
, SizePolicy > 
Data
 

Detailed Description

template<class T, class SizePolicy = ArrayDefaultPolicy>
class OVR::ArrayCPP< T, SizePolicy >

Definition at line 791 of file OVR_Array.h.

Member Typedef Documentation

template<class T , class SizePolicy = ArrayDefaultPolicy>
typedef ContainerAllocator_CPP<T> OVR::ArrayCPP< T, SizePolicy >::AllocatorType

Definition at line 795 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
typedef ArrayBase<ArrayData<T, ContainerAllocator_CPP<T>, SizePolicy> > OVR::ArrayCPP< T, SizePolicy >::BaseType

Definition at line 798 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
typedef ArrayCPP<T, SizePolicy> OVR::ArrayCPP< T, SizePolicy >::SelfType

Definition at line 797 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
typedef SizePolicy OVR::ArrayCPP< T, SizePolicy >::SizePolicyType

Definition at line 796 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
typedef T OVR::ArrayCPP< T, SizePolicy >::ValueType

Definition at line 794 of file OVR_Array.h.

Constructor & Destructor Documentation

template<class T , class SizePolicy = ArrayDefaultPolicy>
OVR::ArrayCPP< T, SizePolicy >::ArrayCPP ( )
inline

Definition at line 800 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
OVR::ArrayCPP< T, SizePolicy >::ArrayCPP ( UPInt  size)
inline

Definition at line 801 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
OVR::ArrayCPP< T, SizePolicy >::ArrayCPP ( const SizePolicyType p)
inline

Definition at line 802 of file OVR_Array.h.

template<class T , class SizePolicy = ArrayDefaultPolicy>
OVR::ArrayCPP< T, SizePolicy >::ArrayCPP ( const SelfType a)
inline

Definition at line 803 of file OVR_Array.h.

Member Function Documentation

template<class T , class SizePolicy = ArrayDefaultPolicy>
const SelfType& OVR::ArrayCPP< T, SizePolicy >::operator= ( const SelfType a)
inline

Definition at line 804 of file OVR_Array.h.


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