Classes | Public Types | Public Member Functions | Protected Attributes
OVR::ArrayBase< ArrayData > Class Template Reference

#include <OVR_Array.h>

List of all members.

Classes

class  ConstIterator
class  Iterator

Public Types

typedef ArrayData::AllocatorType AllocatorType
typedef ArrayBase< ArrayDataSelfType
typedef ArrayData::SizePolicyType SizePolicyType
typedef ArrayData::ValueType ValueType

Public Member Functions

void Append (const SelfType &other)
void Append (const ValueType other[], UPInt count)
 ArrayBase ()
 ArrayBase (int size)
 ArrayBase (const SelfType &a)
 ArrayBase (const ValueType &defval)
 ArrayBase (const ValueType &defval, int size)
ValueTypeAt (UPInt index)
const ValueTypeAt (UPInt index) const
ValueTypeBack ()
const ValueTypeBack () const
Iterator Begin ()
ConstIterator Begin () const
void Clear ()
void ClearAndRelease ()
Iterator End ()
ConstIterator End () const
ValueTypeFront ()
const ValueTypeFront () const
UPInt GetCapacity () const
const ValueTypeGetDataPtr () const
ValueTypeGetDataPtr ()
UPInt GetNumBytes () const
UPInt GetSize () const
SizePolicyTypeGetSizePolicy () const
void InsertAt (UPInt index, const ValueType &val=ValueType())
void InsertMultipleAt (UPInt index, UPInt num, const ValueType &val=ValueType())
bool IsEmpty () const
Iterator Last ()
ConstIterator Last () const
bool NeverShrinking () const
const SelfTypeoperator= (const SelfType &a)
ValueTypeoperator[] (UPInt index)
const ValueTypeoperator[] (UPInt index) const
ValueType Pop ()
void PopBack (UPInt count=1)
void PushBack (const ValueType &val)
template<class S >
void PushBackAlt (const S &val)
ValueTypePushDefault ()
void RemoveAt (UPInt index)
void RemoveMultipleAt (UPInt index, UPInt num)
void Reserve (UPInt newCapacity)
void Resize (UPInt newSize)
void SetSizePolicy (const SizePolicyType &p)
ValueType ValueAt (UPInt index) const

Protected Attributes

ArrayData Data

Detailed Description

template<class ArrayData>
class OVR::ArrayBase< ArrayData >

Definition at line 332 of file OVR_Array.h.


Member Typedef Documentation

template<class ArrayData>
typedef ArrayData::AllocatorType OVR::ArrayBase< ArrayData >::AllocatorType
template<class ArrayData>
typedef ArrayBase<ArrayData> OVR::ArrayBase< ArrayData >::SelfType
template<class ArrayData>
typedef ArrayData::SizePolicyType OVR::ArrayBase< ArrayData >::SizePolicyType
template<class ArrayData>
typedef ArrayData::ValueType OVR::ArrayBase< ArrayData >::ValueType

Constructor & Destructor Documentation

template<class ArrayData>
OVR::ArrayBase< ArrayData >::ArrayBase ( ) [inline]

Definition at line 349 of file OVR_Array.h.

template<class ArrayData>
OVR::ArrayBase< ArrayData >::ArrayBase ( int  size) [inline]

Definition at line 351 of file OVR_Array.h.

template<class ArrayData>
OVR::ArrayBase< ArrayData >::ArrayBase ( const SelfType a) [inline]

Definition at line 353 of file OVR_Array.h.

template<class ArrayData>
OVR::ArrayBase< ArrayData >::ArrayBase ( const ValueType defval) [inline]

Definition at line 356 of file OVR_Array.h.

template<class ArrayData>
OVR::ArrayBase< ArrayData >::ArrayBase ( const ValueType defval,
int  size 
) [inline]

Definition at line 358 of file OVR_Array.h.


Member Function Documentation

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::Append ( const SelfType other) [inline]

Definition at line 543 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::Append ( const ValueType  other[],
UPInt  count 
) [inline]

Definition at line 549 of file OVR_Array.h.

template<class ArrayData>
ValueType& OVR::ArrayBase< ArrayData >::At ( UPInt  index) [inline]

Definition at line 382 of file OVR_Array.h.

template<class ArrayData>
const ValueType& OVR::ArrayBase< ArrayData >::At ( UPInt  index) const [inline]

Definition at line 387 of file OVR_Array.h.

template<class ArrayData>
ValueType& OVR::ArrayBase< ArrayData >::Back ( ) [inline]

Definition at line 457 of file OVR_Array.h.

template<class ArrayData>
const ValueType& OVR::ArrayBase< ArrayData >::Back ( ) const [inline]

Definition at line 458 of file OVR_Array.h.

template<class ArrayData>
Iterator OVR::ArrayBase< ArrayData >::Begin ( ) [inline]

Definition at line 624 of file OVR_Array.h.

template<class ArrayData>
ConstIterator OVR::ArrayBase< ArrayData >::Begin ( ) const [inline]

Definition at line 691 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::Clear ( ) [inline]

Definition at line 371 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::ClearAndRelease ( ) [inline]

Definition at line 370 of file OVR_Array.h.

template<class ArrayData>
Iterator OVR::ArrayBase< ArrayData >::End ( ) [inline]

Definition at line 625 of file OVR_Array.h.

template<class ArrayData>
ConstIterator OVR::ArrayBase< ArrayData >::End ( ) const [inline]

Definition at line 692 of file OVR_Array.h.

template<class ArrayData>
ValueType& OVR::ArrayBase< ArrayData >::Front ( ) [inline]

Definition at line 453 of file OVR_Array.h.

template<class ArrayData>
const ValueType& OVR::ArrayBase< ArrayData >::Front ( ) const [inline]

Definition at line 454 of file OVR_Array.h.

template<class ArrayData>
UPInt OVR::ArrayBase< ArrayData >::GetCapacity ( ) const [inline]

Definition at line 367 of file OVR_Array.h.

template<class ArrayData>
const ValueType* OVR::ArrayBase< ArrayData >::GetDataPtr ( ) const [inline]

Definition at line 412 of file OVR_Array.h.

template<class ArrayData>
ValueType* OVR::ArrayBase< ArrayData >::GetDataPtr ( ) [inline]

Definition at line 413 of file OVR_Array.h.

template<class ArrayData>
UPInt OVR::ArrayBase< ArrayData >::GetNumBytes ( ) const [inline]

Definition at line 368 of file OVR_Array.h.

template<class ArrayData>
UPInt OVR::ArrayBase< ArrayData >::GetSize ( ) const [inline]

Definition at line 365 of file OVR_Array.h.

template<class ArrayData>
SizePolicyType* OVR::ArrayBase< ArrayData >::GetSizePolicy ( ) const [inline]

Definition at line 361 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::InsertAt ( UPInt  index,
const ValueType val = ValueType() 
) [inline]

Definition at line 510 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::InsertMultipleAt ( UPInt  index,
UPInt  num,
const ValueType val = ValueType() 
) [inline]

Definition at line 526 of file OVR_Array.h.

template<class ArrayData>
bool OVR::ArrayBase< ArrayData >::IsEmpty ( ) const [inline]

Definition at line 366 of file OVR_Array.h.

template<class ArrayData>
Iterator OVR::ArrayBase< ArrayData >::Last ( ) [inline]

Definition at line 626 of file OVR_Array.h.

template<class ArrayData>
ConstIterator OVR::ArrayBase< ArrayData >::Last ( ) const [inline]

Definition at line 693 of file OVR_Array.h.

template<class ArrayData>
bool OVR::ArrayBase< ArrayData >::NeverShrinking ( ) const [inline]

Definition at line 364 of file OVR_Array.h.

template<class ArrayData>
const SelfType& OVR::ArrayBase< ArrayData >::operator= ( const SelfType a) [inline]
template<class ArrayData>
ValueType& OVR::ArrayBase< ArrayData >::operator[] ( UPInt  index) [inline]

Definition at line 400 of file OVR_Array.h.

template<class ArrayData>
const ValueType& OVR::ArrayBase< ArrayData >::operator[] ( UPInt  index) const [inline]

Definition at line 405 of file OVR_Array.h.

template<class ArrayData>
ValueType OVR::ArrayBase< ArrayData >::Pop ( ) [inline]

Definition at line 444 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::PopBack ( UPInt  count = 1) [inline]

Definition at line 432 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::PushBack ( const ValueType val) [inline]

Definition at line 416 of file OVR_Array.h.

template<class ArrayData>
template<class S >
void OVR::ArrayBase< ArrayData >::PushBackAlt ( const S &  val) [inline]

Definition at line 426 of file OVR_Array.h.

template<class ArrayData>
ValueType& OVR::ArrayBase< ArrayData >::PushDefault ( ) [inline]

Definition at line 438 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::RemoveAt ( UPInt  index) [inline]

Definition at line 491 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::RemoveMultipleAt ( UPInt  index,
UPInt  num 
) [inline]

Definition at line 471 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::Reserve ( UPInt  newCapacity) [inline]

Definition at line 375 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::Resize ( UPInt  newSize) [inline]

Definition at line 372 of file OVR_Array.h.

template<class ArrayData>
void OVR::ArrayBase< ArrayData >::SetSizePolicy ( const SizePolicyType p) [inline]

Definition at line 362 of file OVR_Array.h.

template<class ArrayData>
ValueType OVR::ArrayBase< ArrayData >::ValueAt ( UPInt  index) const [inline]

Definition at line 393 of file OVR_Array.h.


Member Data Documentation

template<class ArrayData>
ArrayData OVR::ArrayBase< ArrayData >::Data [protected]

Definition at line 696 of file OVR_Array.h.


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


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