casacore
|
Raw TaQL parse tree node defining a constant regex value. More...
#include <TaQLNodeDer.h>
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... | |
![]() | |
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 TaQLStyle & | style () const |
Get the TaQL style. More... | |
Static Public Member Functions | |
static TaQLRegexNodeRep * | restore (AipsIO &aio) |
![]() | |
static TaQLNodeRep * | link (TaQLNodeRep *rep) |
Increment the reference count. More... | |
static void | unlink (TaQLNodeRep *rep) |
Decrement the reference count. More... | |
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 |
Raw TaQL parse tree node defining a constant regex value.
Internal
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 136 of file TaQLNodeDer.h.
|
explicit |
|
inline |
Definition at line 140 of file TaQLNodeDer.h.
References casacore::TaQLConstNodeRep::restore(), casacore::TaQLConstNodeRep::save(), casacore::TaQLConstNodeRep::show(), and casacore::TaQLConstNodeRep::visit().
|
virtual |
|
static |
|
virtual |
Save the object.
Implements casacore::TaQLNodeRep.
|
virtual |
Print the object in an ostream.
Implements casacore::TaQLNodeRep.
|
virtual |
Visit a node for tree traversal.
Implements casacore::TaQLNodeRep.
Bool casacore::TaQLRegexNodeRep::itsCaseInsensitive |
Definition at line 152 of file TaQLNodeDer.h.
Bool casacore::TaQLRegexNodeRep::itsIgnoreBlanks |
Definition at line 155 of file TaQLNodeDer.h.
Int casacore::TaQLRegexNodeRep::itsMaxDistance |
Definition at line 156 of file TaQLNodeDer.h.
Bool casacore::TaQLRegexNodeRep::itsNegate |
Definition at line 153 of file TaQLNodeDer.h.
String casacore::TaQLRegexNodeRep::itsValue |
Definition at line 151 of file TaQLNodeDer.h.