33 #if !defined(Pegasus_ArrayInter_h) || defined(PEGASUS_ARRAY_T) 34 #if !defined(PEGASUS_ARRAY_T) 35 #define Pegasus_ArrayInter_h 38 #include <Pegasus/Common/Linkage.h> 40 #ifndef PEGASUS_ARRAY_T 44 template<
class PEGASUS_ARRAY_T>
class Array 46 PEGASUS_TEMPLATE_SPECIALIZATION
47 class PEGASUS_COMMON_LINKAGE
Array<PEGASUS_ARRAY_T>
77 Array(Uint32
size,
const PEGASUS_ARRAY_T& x);
85 Array(
const PEGASUS_ARRAY_T* items, Uint32
size);
124 void grow(Uint32
size,
const PEGASUS_ARRAY_T& x);
150 const PEGASUS_ARRAY_T*
getData()
const;
165 const PEGASUS_ARRAY_T&
operator[](Uint32 index)
const;
172 void append(
const PEGASUS_ARRAY_T& x);
179 void append(
const PEGASUS_ARRAY_T* x, Uint32
size);
193 void prepend(
const PEGASUS_ARRAY_T& x);
200 void prepend(
const PEGASUS_ARRAY_T* x, Uint32
size);
208 void insert(Uint32 index,
const PEGASUS_ARRAY_T& x);
218 void insert(Uint32 index,
const PEGASUS_ARRAY_T* x, Uint32
size);
225 void remove(Uint32 index);
234 void remove(Uint32 index, Uint32
size);
238 PEGASUS_ARRAY_T* _data()
const;
Array< PEGASUS_ARRAY_T > & operator=(const Array< PEGASUS_ARRAY_T > &x)
PEGASUS_ARRAY_T & operator[](Uint32 index)
void grow(Uint32 size, const PEGASUS_ARRAY_T &x)
void appendArray(const Array< PEGASUS_ARRAY_T > &x)
Uint32 getCapacity() const
void append(const PEGASUS_ARRAY_T &x)
void reserveCapacity(Uint32 capacity)
void insert(Uint32 index, const PEGASUS_ARRAY_T &x)
const PEGASUS_ARRAY_T * getData() const
void prepend(const PEGASUS_ARRAY_T &x)
Definition: ArrayInter.h:44
void swap(Array< PEGASUS_ARRAY_T > &x)