28 #ifndef TABLES_TABLETRACE_H
29 #define TABLES_TABLETRACE_H
124 static void trace (
int tabid,
const String& columnName,
char oper);
126 static void trace (
int tabid,
const String& columnName,
char oper,
129 static void trace (
int tabid,
const String& columnName,
char oper,
132 static void trace (
int tabid,
const String& columnName,
char oper,
135 static void trace (
int tabid,
const String& columnName,
char oper,
138 static void trace (
int tabid,
const String& columnName,
char oper,
141 static void trace (
int tabid,
const String& columnName,
char oper,
146 static void trace (
int tabid,
const String& columnName,
char oper,
151 static void trace (
int tabid,
const String& columnName,
char oper,
Wrapper around std::call_once.
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.
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.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
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
Wrapper around a pthreads mutex.
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 void initTracing()
Initialize the tracing mechanism which should be done only once.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
static CallOnce0 theirCallOnce