#include <ColumnTem.h>
Collaboration diagram for Impala::Core::Column::ColumnTem< ElemT >:
Public Types | |
typedef ElemT | ColElemType |
Public Member Functions | |
ColumnTem () | |
Empty column. | |
ColumnTem (int n) | |
Empty column of given size. | |
ColumnTem (const ColumnTem &c) | |
Copy constructor. | |
virtual | ~ColumnTem () |
Destructor. | |
bool | Valid () const |
Indicates whether the column is valid. | |
bool | Reserve (int newCapacity, bool copyData) |
Adjust number of elements and copy old element if requested. | |
ColumnTem & | operator= (const ColumnTem &c) |
Assignment operator. | |
ElemT & | operator[] (int i) |
Subscripting, start with 0. | |
ElemT & | Elem (int i) |
ElemT | Get (int i) const |
void | Set (int i, ElemT e) |
ElemT * | GetData () |
void | SetData (ElemT *data, int nrElem) |
void | Print (int from=0, int to=-1) |
int | Capacity () const |
Number of elements. | |
int | Size () const |
Private Member Functions | |
void | CheckIndex (int index, String tag="CheckIndex") const |
Private Attributes | |
int | mCapacity |
ElemT * | mData |
Definition at line 20 of file ColumnTem.h.