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

Raw TaQL parse tree node defining a constant regex value. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLRegexNodeRep:

Public Member Functions

 TaQLRegexNodeRep (const String &value)
 TaQLRegexNodeRep (const String &value, Bool caseInsensitive, Bool negate, Bool ignoreBlanks, Int maxDistance)
virtual ~TaQLRegexNodeRep ()
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
virtual void show (std::ostream &os) const
 Print the object in an ostream. More...
virtual void save (AipsIO &aio) const
 Save the object. More...
- Public Member Functions inherited from casacore::TaQLNodeRep
 TaQLNodeRep (int nodeType)
 Constructor for derived classes specifying the type. More...
virtual ~TaQLNodeRep ()
char nodeType () const
 Get the node type of the derived class. More...
const TaQLStylestyle () const
 Get the TaQL style. More...
String addEscape (const String &str) const
 Add escape characters to a table name where needed. More...

Static Public Member Functions

static TaQLRegexNodeReprestore (AipsIO &aio)
- Static Public Member Functions inherited from casacore::TaQLNodeRep
static String checkDataType (const String &)
 Check the data type string and return its standard form. More...

Public Attributes

String itsValue
Bool itsCaseInsensitive
Bool itsNegate
Bool itsIgnoreBlanks
Int itsMaxDistance

Detailed Description

Raw TaQL parse tree node defining a constant regex value.

Intended use:


Review Status

Test programs:



This class is a TaQLNodeRep holding a constant regex/pattern value. Part of the regex are the delimiters (like p//). It also holds if the regex is case-insensitive and if a match or no match operator is given.

Definition at line 119 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLRegexNodeRep::TaQLRegexNodeRep ( const String value)
casacore::TaQLRegexNodeRep::TaQLRegexNodeRep ( const String value,
Bool  caseInsensitive,
Bool  negate,
Bool  ignoreBlanks,
Int  maxDistance 
virtual casacore::TaQLRegexNodeRep::~TaQLRegexNodeRep ( )

Member Function Documentation

static TaQLRegexNodeRep* casacore::TaQLRegexNodeRep::restore ( AipsIO aio)
virtual void casacore::TaQLRegexNodeRep::save ( AipsIO aio) const

Save the object.

Implements casacore::TaQLNodeRep.

virtual void casacore::TaQLRegexNodeRep::show ( std::ostream &  os) const

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

virtual TaQLNodeResult casacore::TaQLRegexNodeRep::visit ( TaQLNodeVisitor ) const

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

Bool casacore::TaQLRegexNodeRep::itsCaseInsensitive

Definition at line 132 of file TaQLNodeDer.h.

Bool casacore::TaQLRegexNodeRep::itsIgnoreBlanks

Definition at line 135 of file TaQLNodeDer.h.

Int casacore::TaQLRegexNodeRep::itsMaxDistance

Definition at line 136 of file TaQLNodeDer.h.

Bool casacore::TaQLRegexNodeRep::itsNegate

Definition at line 133 of file TaQLNodeDer.h.

String casacore::TaQLRegexNodeRep::itsValue

Definition at line 131 of file TaQLNodeDer.h.

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