Go to the documentation of this file.
28 #ifndef TABLES_TABLEITER_H
29 #define TABLES_TABLEITER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/Table.h>
34 #include <casacore/casa/Utilities/Sort.h>
35 #include <casacore/casa/Utilities/Compare.h>
40 class BaseTableIterator;
42 template<
class T>
class Block;
Base class for table iterator.
TableIterator()
Create a null TableIterator object (i.e.
Option
Define the possible sorts.
TableIterator(const Table &, const Block< String > &columnNames, Order=Ascending, Option=ParSort)
void next()
Go to the next group.
Referenced counted pointer for constant data.
TableIterator(const Table &, const Block< String > &columnNames, const Block< CountedPtr< BaseCompare > > &, const Block< Int > &orders, Option=ParSort)
Give the iteration order per column.
TableIterator(const Table &, const Block< String > &columnNames, const Block< Int > &orders, Option=ParSort)
Give the iteration order per column.
Bool isNull() const
Test if the object is null, i.e.
void throwIfNull() const
Throw an exception if the object is null, i.e.
Main interface class to a read/write table.
TableIterator(const Table &, const String &columnName, Order=Ascending, Option=ParSort)
Create a table iterator on the given column(s) for the given table.
Table table() const
Get the current group.
const String & keyChangeAtLastNext() const
Report Name of slowest column that changes at end of current iteration.
Bool pastEnd() const
Test if at the end.
this file contains all the compiler specific defines
uInt nrow() const
Get the number of rows.
void reset()
Reset the iterator (i.e.
void copyState(const TableIterator &)
String: the storage and methods of handling collections of characters.
TableIterator(const TableIterator &)
Copy constructor (copy semantics).
bool Bool
Define the standard types used by Casacore.
BaseTableIterator * tabIterPtr_p
Order
Define the possible iteration orders.
TableIterator & operator=(const TableIterator &)
Assignment (copy semantics).