40 #include <xercesc/util/PlatformUtils.hpp>
41 #include <xercesc/util/XMLString.hpp>
51 using namespace xercesc;
125 std::vector<TBTableTabs*> tables();
132 std::map<TBTableTabs*, std::vector<int>*>
results;
162 static void dprint(
int level,
casacore::String message,
int indentLevel = 0);
231 static bool increment(std::vector<int>&
shape, std::vector<int>& d);
234 static void insert(QFrame* frame, QWidget* widget);
237 static void insert(QFrame* frame, QLayout*
layout);
278 static std::vector<casacore::String>* allTypes();
281 static std::vector<casacore::String>* arrayTypes();
284 static std::vector<casacore::String>* nonArrayTypes();
408 static const XMLCh* xstr(
char* str);
434 static casacore::String ftoa(
float f,
int decimals = -1,
bool scientific =
false);
437 static casacore::String dtoa(
double d,
int decimals = -1,
bool scientific =
false);
460 static int round(
double d);
463 static bool isWS(
char c);
static const unsigned int DEFAULT_SELECT_NUM
The default number of rows to load from the table at a time.
A Vector of integers, for indexing into Array<T> objects.
static const casacore::String OPEN_TEXT_LOCATION
static const casacore::String VIEW_TAQL
casacore::String result
Result string.
static const casacore::String OPEN_TEXT_XML
static const casacore::String TYPE_SHORT
static const casacore::String OPEN_TEXT_DOM
static const int DEFAULT_DATE_DECIMALS
Holds the default number of decimals displayed in a date.
static const casacore::String VIEW_LOCATION
static const casacore::String VIEW_FILTER_RULE_COMPARATOR
Results of a row locate on at least one table.
static const casacore::String XML_FIELD_TYPE
static const casacore::String XML_KEYWORD
LatticeExprNode toComplex(const LatticeExprNode &expr)
static const casacore::String TYPE_ARRAY_CHAR
static const casacore::String VIEW_ROWS
static const casacore::String OPEN_TEXT_HOME
static const casacore::String TYPE_UCHAR
static const casacore::String TYPE_BOOL
static const casacore::String VIEW_FORMAT_COL
Convenience class for a casacore::String/bool tuple.
static const casacore::String QUERY_FULL
static const casacore::String OPEN_TEXT_HOST
static const casacore::String TYPE_INT
static const casacore::String XML_TD
static const casacore::String XML_ROW
static const casacore::String XML_TR
static const casacore::String XML_TABLEDATA
static const casacore::String OPEN_PAGE
Common string in the TBConnection defaults.
static const casacore::String QUERY_UPDATE
static const casacore::String VIEW_FORMAT_SFORMAT
static const casacore::String OPEN_TEXT_REMOTE
static const casacore::String HELP_XML_GROUP
static const casacore::String VIEW_HISTLIMIT
static const casacore::String XML_FALSE
static const int SLICER_ROW_AXIS
Constants used for an array slicer.
static const casacore::String XML_COLUMNKW
static const casacore::String XML_DATA
static const casacore::String VIEW_ROWS_NUM
static const casacore::String TYPE_ARRAY_INT
static const casacore::String TYPE_COMPLEX
static const casacore::String XML_REMOVEROW
static const casacore::String HELP_XML_HELP
static const casacore::String VIEW_LASTDIR
static const casacore::String HELP_XML_NAME
virtual casacore::String type() const
Implements RegionShape::type.
static const casacore::String OPEN_TEXT_LOCAL
Help descriptions used by TBConnection.
static const casacore::String XML_FIELD_UNIT
static const casacore::String XML_FIELD_PRECISION
static const Plotter::Implementation defaultPlotterImplementation
Plotting defaults.
static const casacore::String TYPE_FLOAT
Comparator
Enum listing the possible types of comparisons that can be made in, for example, a filter rule...
static const int DEBUG_LOW
Parser
Enum to indicate the different parsers available for XML drivers.
static const casacore::String VIEW_FILTER_RULE_ANY
static const casacore::String VIEW_FORMAT_FONT
static const casacore::String VIEW_SAVE_LOC
View constants.
static const casacore::String VIEW_FORMAT
static const casacore::String VIEW_FORMAT_STRIKE
static const casacore::String VIEW_VIEW
static const casacore::String TYPE_CHAR
virtual casacore::String typeName()
Return type name as string.
static const casacore::String TYPE_ARRAY_BOOL
static const casacore::String ARRAY_AXES_LENGTHS
casacore::String used in parsing arrays.
static const casacore::String TYPE_ARRAY_DCOMPLEX
static const casacore::String VIEW_FORMAT_VTHRESHOLD
static const casacore::String VIEW_FORMAT_DFORMAT
static const casacore::String TYPE_ARRAY_COMPLEX
static const casacore::String OPEN_TEXT_NUM
static const int DEBUG_OFF
Debug levels.
static const unsigned int DEFAULT_ROW_INTERVAL
The default row interval for plotting.
static const casacore::String XML_KEYWORD_NAME
static const casacore::String XML_TRUE
static const casacore::String XML_FIELD_NAME
static const casacore::String HELP_XML
static const casacore::String QUERY_QUERY
Kinds of queries that can be sent to the table through the TBXMLDriver.
static const casacore::String VIEW_DOCUMENT
static const casacore::String OPEN_TEXT_PORT
static const casacore::String XML_RESOURCE
static casacore::String DOT_CASAPY_DIR
Holds the absolute location of the ~/.casa directory.
static const casacore::String OPEN_TEXT_DIRECT
static const casacore::String HELP_DIR
Constants for the help system.
static const casacore::String VIEW_FORMATS
static const casacore::String XML_INSERTROW
static const casacore::String TYPE_ARRAY_FLOAT
std::string path(const std::string &name)
static const casacore::String XML_FIELD_WIDTH
static const casacore::String VIEW_FORMAT_ITALICS
static const casacore::String HELP_XML_ITEM
static const casacore::String QUERY_ARRAY
static const casacore::String VIEW_FILTER_RULE_FIELD
static const casacore::String VIEW_SELECTED
static const casacore::String VIEW_TABLE
Constants, defaults, and commonly-used functions for the table browser.
static const casacore::String VIEW_FORMAT_ULINE
static const casacore::String VIEW_FORMAT_COLOR
static const casacore::String TYPE_DATE
static const casacore::String XML_COLKW_COL
static const casacore::String TYPE_ARRAY_STRING
static const casacore::String TYPE_ARRAY_SHORT
static const casacore::String XML_NAME
static const casacore::String XML_FIELD_REF
Driver
Enum to indicate the different driver types.
static const casacore::String XML_FIELD_UCD
static const casacore::String XML_KEYWORD_VAL
static const casacore::String TYPE_RECORD
static const int DEFAULT_DECIMALS
Holds the default number of decimals displayed in a number.
static const casacore::String TYPE_ARRAY_UCHAR
static const casacore::String VIEW_FORMAT_SIZE
std::map< TBTableTabs *, std::vector< int > * > results
Results.
static const int SLICER_COL_AXIS
static const casacore::String TYPE_STRING
casacore::Table data types.
static const casacore::String TYPE_DOUBLE
static const casacore::String VIEW_FILTER_RULE_NOT
static const casacore::String XML_TOTAL
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
static const casacore::String VIEW_FILTER_RULE
static const casacore::String XML_VOTABLE
XML token names that are used in table parsing.
static const casacore::String VIEW_FORMAT_BFORMAT
static const casacore::String VIEW_FORMAT_ALLFONT
static const casacore::String VIEW_FORMAT_FAMILY
static const casacore::String ERROR_EMPTY
Error text that is thrown/returned on an empty table or row.
static const int DEBUG_MED
static const casacore::String TYPE_ARRAY_UINT
static const casacore::String XML_ID
static casacore::String AIPS_PATH
casacore::Path to the CASA top-level directory.
static const unsigned int DEFAULT_RECORD_VISIBLE_ROWS
Number of rows in an embedded record widget to show by default.
static const casacore::String OPEN_TEXT_SAX
static const casacore::String VIEW_FORMAT_BOLD
static const unsigned int DEFAULT_EXPORT_NUM
The default number of rows to load at a time while exporting.
static const int DEBUG_HIGH
static const casacore::String VIEW_SORT
Collection of table backend and display tabs.
static const casacore::String VIEW_HIDDEN_LENGTH
std::string date()
get the current data
static const unsigned int MAX_ACTION_BUFFER
The maximum number of actions to keep in action lists.
static const casacore::String VIEW_FILTER
const Double c
Fundamental physical constants (SI units):
static const casacore::String XML_TABLE
static const casacore::String XML_FIELD
String: the storage and methods of handling collections of characters.
static int debugThreshold
The current debug level.
static const casacore::String VIEW_NAME
static const casacore::String VIEW_FORMAT_DECIMALS
static const casacore::String VIEW_HIDDEN
static const casacore::String TYPE_ARRAY_DOUBLE
static const casacore::String HELP_INDEX
static const unsigned int MAX_SELECT_NUM
The maximum number of rows to load from the table at a time.
static const casacore::String VIEW_VISIND
GRID LAYOUT CLASSES casacore::Coordinate for a grid layout
BooleanFormat
Enum listing the format for boolean values: "true/false", "t/f", "1/0", etc.
static const casacore::String COMMENT_DATE
The comments for casacore::Double fields that indicate that they should be interpreted as a date...
static const casacore::String OPEN_TEXT_START
static const casacore::String VIEW_FILTER_RULE_VALUE2
static const casacore::String HELP_XML_CATEGORY
static const casacore::String VIEW_ROWS_FROM
static const casacore::String XML_KEYWORD_TYPE
static const casacore::String COMMENT_TIMP
static const casacore::String TYPE_TABLE
static const casacore::String TYPE_UINT
static const casacore::String COMMENT_TIMP2
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const casacore::String XML_RWINFO
static const casacore::String VIEW_FILTER_RULE_TYPE
Result(casacore::String r="", bool v=true)
Construct a Result with the given values.
static const casacore::String VIEW_FILTER_RULE_VALUE
static const casacore::String VIEW_SORT_ASCENDING
static const casacore::String TYPE_DCOMPLEX