26#ifndef TABLES_TABLEITER_H
27#define TABLES_TABLEITER_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/Tables/Table.h>
32#include <casacore/casa/Utilities/Sort.h>
33#include <casacore/casa/Utilities/Compare.h>
38class BaseTableIterator;
40template<
class T>
class Block;
179 const Block<std::shared_ptr<BaseCompare>>& cmpObjs,
181 bool cacheIterationBoundaries =
false);
String: the storage and methods of handling collections of characters.
BaseTableIterator * tabIterPtr_p
TableIterator(const TableIterator &)
Copy constructor (copy semantics).
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.
const String & keyChangeAtLastNext() const
Report Name of slowest column that changes at end of current iteration.
TableIterator & operator=(const TableIterator &)
Assignment (copy semantics).
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< std::shared_ptr< 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.