casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
casa::TBTableView Class Reference

Current "view" or state of a single table. More...

#include <TBView.h>

Public Member Functions

 TBTableView ()
 Default Constructor. More...
 
 ~TBTableView ()
 

Public Attributes

casacore::String location
 Location of the table. More...
 
bool selected
 Whether the table is currently selected. More...
 
std::vector< bool > hidden
 Whether each column is hidden (true) or not (false). More...
 
std::vector< int > visInd
 The visual index of each column in case they were moved. More...
 
int loadedFrom
 The starting number of the loaded rows. More...
 
int loadedNum
 The number of loaded rows. More...
 
TBFilterRuleSequencefilter
 Row filter, or NULL if there is none. More...
 
std::vector< TBFormat * > formats
 The format for each field, or NULL if that field has none. More...
 
std::vector< std::pair
< casacore::String, bool > > 
sort
 The current sort order, or an empty list if there is none. More...
 
bool taql
 Whether this table is from a TaQL command or not. More...
 

Detailed Description

Current "view" or state of a single table.

Synopsis

The TBTableView defines the state of an opened table and includes: the location, whether the table is the currently selected table, which columns are hidden, the visual index of each column, the loaded rows, the row filter (if any), the field formats (if any), and the sort order (if any).

Definition at line 56 of file TBView.h.

Constructor & Destructor Documentation

casa::TBTableView::TBTableView ( )

Default Constructor.

casa::TBTableView::~TBTableView ( )

Member Data Documentation

TBFilterRuleSequence* casa::TBTableView::filter

Row filter, or NULL if there is none.

Definition at line 83 of file TBView.h.

std::vector<TBFormat*> casa::TBTableView::formats

The format for each field, or NULL if that field has none.

Definition at line 86 of file TBView.h.

std::vector<bool> casa::TBTableView::hidden

Whether each column is hidden (true) or not (false).

Definition at line 71 of file TBView.h.

int casa::TBTableView::loadedFrom

The starting number of the loaded rows.

Definition at line 77 of file TBView.h.

int casa::TBTableView::loadedNum

The number of loaded rows.

Definition at line 80 of file TBView.h.

casacore::String casa::TBTableView::location

Location of the table.

Definition at line 65 of file TBView.h.

bool casa::TBTableView::selected

Whether the table is currently selected.

Definition at line 68 of file TBView.h.

std::vector<std::pair<casacore::String, bool> > casa::TBTableView::sort

The current sort order, or an empty list if there is none.

Definition at line 89 of file TBView.h.

bool casa::TBTableView::taql

Whether this table is from a TaQL command or not.

Definition at line 92 of file TBView.h.

std::vector<int> casa::TBTableView::visInd

The visual index of each column in case they were moved.

Definition at line 74 of file TBView.h.


The documentation for this class was generated from the following file: