Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Column::ColumnTem< ElemT > Class Template Reference

Class definition for table column with an arbitrary number of elements, each represented by an ElemT. More...

#include <ColumnTem.h>

Collaboration diagram for Impala::Core::Column::ColumnTem< ElemT >:

Collaboration graph
[legend]
List of all members.

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.
ColumnTemoperator= (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

Detailed Description

template<class ElemT>
class Impala::Core::Column::ColumnTem< ElemT >

Class definition for table column with an arbitrary number of elements, each represented by an ElemT.

Definition at line 20 of file ColumnTem.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:06:47 2010 for ImpalaSrc by  doxygen 1.5.1