#include <ccarray.h>
Public Types | |
typedef std::vector< TYPE > | CArrayClass |
typedef CArrayClass::iterator | iterator |
Public Member Functions | |
BOOL | SetSize (INT32 nNewSize, INT32 nGrowBy=-1) |
BOOL | SetAtGrow (INT32 nIndex, ARG_TYPE newElement) |
size_t | Add (ARG_TYPE newElement) |
TYPE & | operator[] (INT32 nIndex) |
const TYPE & | operator[] (INT32 nIndex) const |
Protected Attributes | |
CArrayClass | m_Array |
Definition at line 114 of file ccarray.h.
|
|
|
|
|
Definition at line 169 of file ccarray.h.
|
|
Definition at line 182 of file ccarray.h. 00183 { 00184 return *( m_Array.begin() + nIndex ); 00185 }
|
|
Definition at line 176 of file ccarray.h. 00177 { 00178 return *( m_Array.begin() + nIndex ); 00179 }
|
|
Definition at line 152 of file ccarray.h. 00153 { 00154 // TRY 00155 { 00156 m_Array.insert( m_Array.begin() + nIndex, newElement ); 00157 } 00158 /* CATCH_ALL(e) 00159 { 00160 return FALSE; 00161 } 00162 END_CATCH_ALL */ 00163 00164 return TRUE; 00165 }
|
|
Definition at line 134 of file ccarray.h. 00135 { 00136 // TRY 00137 { 00138 nNewSize = ( ( nNewSize + ( nGrowBy - 1 ) ) / nGrowBy ) * nGrowBy; 00139 m_Array.resize( nNewSize ); 00140 } 00141 /* CATCH_ALL(e) 00142 { 00143 return FALSE; 00144 } 00145 END_CATCH_ALL */ 00146 00147 return TRUE; 00148 }
|
|
|