28 #ifndef TABLES_TABLETRACE_H
29 #define TABLES_TABLETRACE_H
125 static void trace (
int tabid,
const String& columnName,
char oper);
127 static void trace (
int tabid,
const String& columnName,
char oper,
130 static void trace (
int tabid,
const String& columnName,
char oper,
133 static void trace (
int tabid,
const String& columnName,
char oper,
136 static void trace (
int tabid,
const String& columnName,
char oper,
139 static void trace (
int tabid,
const String& columnName,
char oper,
142 static void trace (
int tabid,
const String& columnName,
char oper,
147 static void trace (
int tabid,
const String& columnName,
char oper,
152 static void trace (
int tabid,
const String& columnName,
char oper,
static void writeRefRows(const RefRows &rownrs)
Write the RefRows as vector of rows or slices.
A Vector of integers, for indexing into Array<T> objects.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
static std::vector< Regex > theirColumns
Class with static functions for tracing column IO.
static int findTable(const String &name)
Find the table name in the vector.
static std::mutex theirMutex
Envelope class for the description of a table column.
static int traceTable(const String &tableName, char oper)
If needed, write a trace message for table open or create.
static void traceRefTable(const String &parentName, char oper)
If needed, write a trace message for reftable open, create, or close.
static void writeSlice(const IPosition &blc, const IPosition &trc, const IPosition &inc)
Write the blc, trc, and inc of an array slice.
static std::ofstream theirTraceFile
static void writeTraceFirst(int tabid, const String &name, char oper)
Write the first part of the trace message.
static void traceClose(const String &tableName)
If needed, trace closing a table.
Class holding the row numbers in a RefTable.
static void trace(int tabid, const String &columnName, char oper)
If needed, write a trace message Write a trace message for a scalar column.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
static std::vector< String > theirTables
static void traceFile(int tabid, const String &oper)
If needed, trace an operation on a table.
static std::ostream * theirStream
String: the storage and methods of handling collections of characters.
static int traceColumn(const ColumnDesc &)
Does the given column have to be traced for read and/or write? bit 0 set means read tracing; bit 1 wr...
static std::once_flag theirCallOnceFlag
static void initTracing()
Initialize the tracing mechanism which should be done only once.