28 #ifndef TABLES_RECORDGRAM_H 29 #define TABLES_RECORDGRAM_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/BasicSL/String.h> 34 #include <casacore/tables/TaQL/TableGram.h> 35 #include <casacore/tables/TaQL/TaQLStyle.h> 36 #include <casacore/tables/Tables/Table.h> 37 #include <casacore/casa/Containers/Record.h> 38 #include <casacore/casa/Arrays/Array.h> 39 #include <casacore/casa/OS/Mutex.h> 46 class TableExprNodeSet;
47 class TableExprNodeSetElem;
83 int recordGramParseCommand (
const String& command);
87 void RecordGramerror (
const char*);
91 Int& recordGramPosition();
94 int recordGramInput (
char* buf,
int max_size);
98 {
return tableGramRemoveEscapes (in); }
102 {
return tableGramRemoveQuotes (in); }
189 const String& expression);
196 const String& expression);
245 { theirNodePtr = nodePtr; }
268 static void deleteTokenStorage();
275 { theirTokens[ptr] =
type; }
278 { theirTokens.erase (ptr); }
static const RecordInterface * theirRecPtr
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
static TableExprNode * theirNodePtr
Main interface class to a read/write table.
static void addToken(void *ptr, Token type)
Add a token to the list of tokens to be deleted.
Class to hold multiple table expression nodes.
Handle class for a table column expression tree.
String recordGramRemoveQuotes(const String &in)
A function to remove quotes from a quoted string.
Helper class for values in RecordGram.
static const Table * theirTabPtr
static void removeToken(void *ptr)
Remove a token from the list of tokens to be deleted.
static std::map< void *, Token > theirTokens
Class to hold the table expression nodes for an element in a set.
std::complex< Double > DComplex
Class with static members defining the TaQL style.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
static void setNodePtr(TableExprNode *nodePtr)
Set the final node pointer.
Select-class for flex/bison scanner/parser for RecordGram.
String recordGramRemoveEscapes(const String &in)
A function to remove escaped characters.
Wrapper around a pthreads mutex.
Token
Define the types of tokens in the grammar.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
String: the storage and methods of handling collections of characters.
Abstract base class for Record classes.
Class to handle date/time type conversions and I/O.
static TaQLStyle theirTaQLStyle
Define the global TaQLStyle to use.
this file contains all the compiler specific defines