next up previous contents
Next: GetNumRows Up: General Methods Previous: GetName

GetNumColumns

NAME GetNumColumns

PROTOTYPE

#include "SSTable.h"

int SSTable::GetNumColumns();

EXAMPLE

#include "SSTable.h"

SSTable * pTable = new SSTable("MyTable");

// Add some columns and stuff, then loop over them

for (int i = 0; i < pTable->GetNumColumns(); i++) {
  // Do something to each column
}
PURPOSE

GetNumColumns returns the number of columns in the table.

RECEIVES

No Arguments  

RETURN VALUE

The number of columns in the table.

REMARKS

See also: GetNumRows



Olivera Tosic
12/17/1999