FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
AcImplArray< T, A > Class Template Reference

#include <_AcArray.h>

Classes

struct  Buffer
 
class  reallocator
 

Public Types

typedef A::size_type size_type
 
typedef Titerator
 
typedef const Tconst_iterator
 

Public Member Functions

const_iterator begin_const () const
 
iterator begin_non_const ()
 
const_iterator end_const ()
 
iterator end_non_const ()
 
void copy_before_write (size_type len, bool may_use_realloc=false)
 
void copy_if_referenced ()
 
void copy_buffer (size_type len, bool may_use_realloc=false, bool force_size=false)
 
void assertValid (size_type index) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void insert (iterator before, const_iterator first, const_iterator afterLast)
 
void resize (size_type logicalLength, const T &value)
 
void resize (size_type logicalLength)
 
size_type size () const
 
bool empty () const
 
size_type capacity () const
 
void reserve (size_type reserveLength)
 
void assign (const_iterator first, const_iterator afterLast)
 
iterator erase (iterator first, iterator afterLast)
 
iterator erase (iterator where)
 
void clear ()
 
void push_back (const T &value)
 
iterator insert (iterator before, size_type numElements, const T &value)
 
iterator insert (iterator before, const T &value=T())
 
bool contains (const T &value, size_type start=0) const
 
size_type length () const
 
bool isEmpty () const
 
size_type logicalLength () const
 
size_type physicalLength () const
 
int growLength () const
 
const TasArrayPtr () const
 
const TgetPtr () const
 
TasArrayPtr ()
 
const Toperator[] (size_type index) const
 
Toperator[] (size_type index)
 
Tat (size_type arrayIndex)
 
const Tat (size_type arrayIndex) const
 
AcImplArraysetAt (size_type arrayIndex, const T &value)
 
const TgetAt (size_type arrayIndex) const
 
Tfirst ()
 
const Tfirst () const
 
Tlast ()
 
const Tlast () const
 
size_type append (const T &value)
 
iterator append ()
 
AcImplArrayremoveFirst ()
 
AcImplArrayremoveLast ()
 
AcImplArraysetGrowLength (int growLength)
 
 AcImplArray (size_type physicalLength, int growLength=8)
 
 AcImplArray ()
 
 AcImplArray (const AcImplArray &source)
 
 ~AcImplArray ()
 
AcImplArrayoperator= (const AcImplArray &source)
 
bool operator== (const AcImplArray &array) const
 
AcImplArraysetAll (const T &value)
 
AcImplArrayappend (const AcImplArray &otherArray)
 
AcImplArrayinsertAt (size_type arrayIndex, const T &value)
 
AcImplArrayremoveAt (size_type arrayIndex)
 
AcImplArrayremoveSubArray (size_type startIndex, size_type endIndex)
 
bool find (const T &value, size_type &findIndex, size_type start=0) const
 
AcImplArraysetLogicalLength (size_type logLength)
 
AcImplArraysetPhysicalLength (size_type physLength)
 
AcImplArrayreverse ()
 
AcImplArrayswap (size_type firstIndex, size_type secondIndex)
 
bool remove (const T &value, size_type start=0)
 
bool isValid (size_type i) const
 
Tdata ()
 
const Tdata () const
 
Bufferbuffer () const
 
bool referenced () const
 

Static Public Member Functions

static void rise_error (int e)
 

Public Attributes

Tm_pData
 

Friends

class reallocator
 

Detailed Description

template<class T, class A>
class AcImplArray< T, A >

Definition at line 543 of file _AcArray.h.

Member Typedef Documentation

◆ const_iterator

template<class T , class A >
typedef const T* AcImplArray< T, A >::const_iterator

Definition at line 548 of file _AcArray.h.

◆ iterator

Definition at line 547 of file _AcArray.h.

◆ size_type

template<class T , class A >
typedef A::size_type AcImplArray< T, A >::size_type

Definition at line 546 of file _AcArray.h.

Constructor & Destructor Documentation

◆ AcImplArray() [1/3]

template<class T , class A >
AcImplArray< T, A >::AcImplArray ( size_type physicalLength,
int growLength = 8 )
inlineexplicit

Definition at line 1049 of file _AcArray.h.

◆ AcImplArray() [2/3]

template<class T , class A >
AcImplArray< T, A >::AcImplArray ( )
inline

Definition at line 1060 of file _AcArray.h.

◆ AcImplArray() [3/3]

template<class T , class A >
AcImplArray< T, A >::AcImplArray ( const AcImplArray< T, A > & source)
inline

Definition at line 1067 of file _AcArray.h.

◆ ~AcImplArray()

template<class T , class A >
AcImplArray< T, A >::~AcImplArray ( )
inline

Definition at line 1074 of file _AcArray.h.

Member Function Documentation

◆ append() [1/3]

template<class T , class A >
iterator AcImplArray< T, A >::append ( )
inline

Definition at line 1019 of file _AcArray.h.

◆ append() [2/3]

template<class T , class A >
AcImplArray & AcImplArray< T, A >::append ( const AcImplArray< T, A > & otherArray)
inline

Definition at line 1115 of file _AcArray.h.

◆ append() [3/3]

template<class T , class A >
size_type AcImplArray< T, A >::append ( const T & value)
inline

Definition at line 1013 of file _AcArray.h.

◆ asArrayPtr() [1/2]

template<class T , class A >
T * AcImplArray< T, A >::asArrayPtr ( )
inline

Definition at line 951 of file _AcArray.h.

◆ asArrayPtr() [2/2]

template<class T , class A >
const T * AcImplArray< T, A >::asArrayPtr ( ) const
inline

Definition at line 941 of file _AcArray.h.

◆ assertValid()

template<class T , class A >
void AcImplArray< T, A >::assertValid ( size_type index) const
inline

Definition at line 696 of file _AcArray.h.

◆ assign()

template<class T , class A >
void AcImplArray< T, A >::assign ( const_iterator first,
const_iterator afterLast )
inline

Definition at line 847 of file _AcArray.h.

◆ at() [1/2]

template<class T , class A >
T & AcImplArray< T, A >::at ( size_type arrayIndex)
inline

Definition at line 969 of file _AcArray.h.

◆ at() [2/2]

template<class T , class A >
const T & AcImplArray< T, A >::at ( size_type arrayIndex) const
inline

Definition at line 975 of file _AcArray.h.

◆ begin() [1/2]

template<class T , class A >
iterator AcImplArray< T, A >::begin ( )
inline

Definition at line 712 of file _AcArray.h.

◆ begin() [2/2]

template<class T , class A >
const_iterator AcImplArray< T, A >::begin ( ) const
inline

Definition at line 721 of file _AcArray.h.

◆ begin_const()

template<class T , class A >
const_iterator AcImplArray< T, A >::begin_const ( ) const
inline

Definition at line 627 of file _AcArray.h.

◆ begin_non_const()

template<class T , class A >
iterator AcImplArray< T, A >::begin_non_const ( )
inline

Definition at line 631 of file _AcArray.h.

◆ buffer()

template<class T , class A >
Buffer * AcImplArray< T, A >::buffer ( ) const
inline

Definition at line 1286 of file _AcArray.h.

◆ capacity()

template<class T , class A >
size_type AcImplArray< T, A >::capacity ( ) const
inline

Definition at line 834 of file _AcArray.h.

◆ clear()

template<class T , class A >
void AcImplArray< T, A >::clear ( )
inline

Definition at line 870 of file _AcArray.h.

◆ contains()

template<class T , class A >
bool AcImplArray< T, A >::contains ( const T & value,
size_type start = 0 ) const
inline

Definition at line 910 of file _AcArray.h.

◆ copy_before_write()

template<class T , class A >
void AcImplArray< T, A >::copy_before_write ( size_type len,
bool may_use_realloc = false )
inline

Definition at line 643 of file _AcArray.h.

◆ copy_buffer()

template<class T , class A >
void AcImplArray< T, A >::copy_buffer ( size_type len,
bool may_use_realloc = false,
bool force_size = false )
inline

Definition at line 657 of file _AcArray.h.

◆ copy_if_referenced()

template<class T , class A >
void AcImplArray< T, A >::copy_if_referenced ( )
inline

Definition at line 650 of file _AcArray.h.

◆ data() [1/2]

template<class T , class A >
T * AcImplArray< T, A >::data ( )
inline

Definition at line 1276 of file _AcArray.h.

◆ data() [2/2]

template<class T , class A >
const T * AcImplArray< T, A >::data ( ) const
inline

Definition at line 1281 of file _AcArray.h.

◆ empty()

template<class T , class A >
bool AcImplArray< T, A >::empty ( ) const
inline

Definition at line 829 of file _AcArray.h.

◆ end() [1/2]

template<class T , class A >
iterator AcImplArray< T, A >::end ( )
inline

Definition at line 730 of file _AcArray.h.

◆ end() [2/2]

template<class T , class A >
const_iterator AcImplArray< T, A >::end ( ) const
inline

Definition at line 739 of file _AcArray.h.

◆ end_const()

template<class T , class A >
const_iterator AcImplArray< T, A >::end_const ( )
inline

Definition at line 635 of file _AcArray.h.

◆ end_non_const()

template<class T , class A >
iterator AcImplArray< T, A >::end_non_const ( )
inline

Definition at line 639 of file _AcArray.h.

◆ erase() [1/2]

template<class T , class A >
iterator AcImplArray< T, A >::erase ( iterator first,
iterator afterLast )
inline

Definition at line 853 of file _AcArray.h.

◆ erase() [2/2]

template<class T , class A >
iterator AcImplArray< T, A >::erase ( iterator where)
inline

Definition at line 863 of file _AcArray.h.

◆ find()

template<class T , class A >
bool AcImplArray< T, A >::find ( const T & value,
size_type & findIndex,
size_type start = 0 ) const
inline

Definition at line 1182 of file _AcArray.h.

◆ first() [1/2]

template<class T , class A >
T & AcImplArray< T, A >::first ( )
inline

Definition at line 995 of file _AcArray.h.

◆ first() [2/2]

template<class T , class A >
const T & AcImplArray< T, A >::first ( ) const
inline

Definition at line 999 of file _AcArray.h.

◆ getAt()

template<class T , class A >
const T & AcImplArray< T, A >::getAt ( size_type arrayIndex) const
inline

Definition at line 989 of file _AcArray.h.

◆ getPtr()

template<class T , class A >
const T * AcImplArray< T, A >::getPtr ( ) const
inline

Definition at line 946 of file _AcArray.h.

◆ growLength()

template<class T , class A >
int AcImplArray< T, A >::growLength ( ) const
inline

Definition at line 936 of file _AcArray.h.

◆ insert() [1/3]

template<class T , class A >
iterator AcImplArray< T, A >::insert ( iterator before,
const T & value = T() )
inline

Definition at line 901 of file _AcArray.h.

◆ insert() [2/3]

template<class T , class A >
void AcImplArray< T, A >::insert ( iterator before,
const_iterator first,
const_iterator afterLast )
inline

Definition at line 748 of file _AcArray.h.

◆ insert() [3/3]

template<class T , class A >
iterator AcImplArray< T, A >::insert ( iterator before,
size_type numElements,
const T & value )
inline

Definition at line 880 of file _AcArray.h.

◆ insertAt()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::insertAt ( size_type arrayIndex,
const T & value )
inline

Definition at line 1121 of file _AcArray.h.

◆ isEmpty()

template<class T , class A >
bool AcImplArray< T, A >::isEmpty ( ) const
inline

Definition at line 921 of file _AcArray.h.

◆ isValid()

template<class T , class A >
bool AcImplArray< T, A >::isValid ( size_type i) const
inline

Definition at line 1271 of file _AcArray.h.

◆ last() [1/2]

template<class T , class A >
T & AcImplArray< T, A >::last ( )
inline

Definition at line 1004 of file _AcArray.h.

◆ last() [2/2]

template<class T , class A >
const T & AcImplArray< T, A >::last ( ) const
inline

Definition at line 1008 of file _AcArray.h.

◆ length()

template<class T , class A >
size_type AcImplArray< T, A >::length ( ) const
inline

Definition at line 916 of file _AcArray.h.

◆ logicalLength()

template<class T , class A >
size_type AcImplArray< T, A >::logicalLength ( ) const
inline

Definition at line 926 of file _AcArray.h.

◆ operator=()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::operator= ( const AcImplArray< T, A > & source)
inline

Definition at line 1079 of file _AcArray.h.

◆ operator==()

template<class T , class A >
bool AcImplArray< T, A >::operator== ( const AcImplArray< T, A > & array) const
inline

Definition at line 1087 of file _AcArray.h.

◆ operator[]() [1/2]

template<class T , class A >
T & AcImplArray< T, A >::operator[] ( size_type index)
inline

Definition at line 962 of file _AcArray.h.

◆ operator[]() [2/2]

template<class T , class A >
const T & AcImplArray< T, A >::operator[] ( size_type index) const
inline

Definition at line 957 of file _AcArray.h.

◆ physicalLength()

template<class T , class A >
size_type AcImplArray< T, A >::physicalLength ( ) const
inline

Definition at line 931 of file _AcArray.h.

◆ push_back()

template<class T , class A >
void AcImplArray< T, A >::push_back ( const T & value)
inline

Definition at line 875 of file _AcArray.h.

◆ referenced()

template<class T , class A >
bool AcImplArray< T, A >::referenced ( ) const
inline

Definition at line 1290 of file _AcArray.h.

◆ remove()

template<class T , class A >
bool AcImplArray< T, A >::remove ( const T & value,
size_type start = 0 )
inline

Definition at line 1258 of file _AcArray.h.

◆ removeAt()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::removeAt ( size_type arrayIndex)
inline

Definition at line 1146 of file _AcArray.h.

◆ removeFirst()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::removeFirst ( )
inline

Definition at line 1025 of file _AcArray.h.

◆ removeLast()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::removeLast ( )
inline

Definition at line 1030 of file _AcArray.h.

◆ removeSubArray()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::removeSubArray ( size_type startIndex,
size_type endIndex )
inline

Definition at line 1162 of file _AcArray.h.

◆ reserve()

template<class T , class A >
void AcImplArray< T, A >::reserve ( size_type reserveLength)
inline

Definition at line 839 of file _AcArray.h.

◆ resize() [1/2]

template<class T , class A >
void AcImplArray< T, A >::resize ( size_type logicalLength)
inline

Definition at line 800 of file _AcArray.h.

◆ resize() [2/2]

template<class T , class A >
void AcImplArray< T, A >::resize ( size_type logicalLength,
const T & value )
inline

Definition at line 775 of file _AcArray.h.

◆ reverse()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::reverse ( )
inline

Definition at line 1222 of file _AcArray.h.

◆ rise_error()

template<class T , class A >
static void AcImplArray< T, A >::rise_error ( int e)
inlinestatic

Definition at line 704 of file _AcArray.h.

◆ setAll()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::setAll ( const T & value)
inline

Definition at line 1103 of file _AcArray.h.

◆ setAt()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::setAt ( size_type arrayIndex,
const T & value )
inline

Definition at line 981 of file _AcArray.h.

◆ setGrowLength()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::setGrowLength ( int growLength)
inline

Definition at line 1035 of file _AcArray.h.

◆ setLogicalLength()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::setLogicalLength ( size_type logLength)
inline

Definition at line 1203 of file _AcArray.h.

◆ setPhysicalLength()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::setPhysicalLength ( size_type physLength)
inline

Definition at line 1209 of file _AcArray.h.

◆ size()

template<class T , class A >
size_type AcImplArray< T, A >::size ( ) const
inline

Definition at line 824 of file _AcArray.h.

◆ swap()

template<class T , class A >
AcImplArray & AcImplArray< T, A >::swap ( size_type firstIndex,
size_type secondIndex )
inline

Definition at line 1243 of file _AcArray.h.

Friends And Related Symbol Documentation

◆ reallocator

template<class T , class A >
friend class reallocator
friend

Definition at line 626 of file _AcArray.h.

Member Data Documentation

◆ m_pData

template<class T , class A >
T* AcImplArray< T, A >::m_pData

Definition at line 1269 of file _AcArray.h.


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