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;
183 bool cacheIterationBoundaries =
false);
Referenced counted pointer for constant data.
String: the storage and methods of handling collections of characters.
BaseTableIterator * tabIterPtr_p
TableIterator(const TableIterator &)
Copy constructor (copy semantics).
TableIterator & operator=(const TableIterator &)
Assignment (copy semantics).
const String & keyChangeAtLastNext() const
Report Name of slowest column that changes at end of current iteration.
Bool pastEnd() const
Test if at the end.
void copyState(const TableIterator &)
TableIterator(const Table &, const String &columnName, Order=Ascending, Option=ParSort)
Create a table iterator on the given column(s) for the given table.
void throwIfNull() const
Throw an exception if the object is null, i.e.
Order
Define the possible iteration orders.
void next()
Go to the next group.
TableIterator(const Table &, const Block< String > &columnNames, const Block< Int > &orders, Option=ParSort)
Give the iteration order per column.
Table table() const
Get the current group.
TableIterator(const Table &, const Block< String > &columnNames, const Block< CountedPtr< BaseCompare > > &cmpObjs, const Block< Int > &orders, Option=ParSort, bool cacheIterationBoundaries=false)
Give the iteration order per column.
Option
Define the possible sorts.
TableIterator(const Table &, const Block< String > &columnNames, Order=Ascending, Option=ParSort)
void reset()
Reset the iterator (i.e.
TableIterator()
Create a null TableIterator object (i.e.
Bool isNull() const
Test if the object is null, i.e.
rownr_t nrow() const
Get the number of rows.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.