casacore
|
Raw TaQL parse tree node defining a list of nodes. More...
#include <TaQLNodeDer.h>
Public Member Functions | |
TaQLMultiNodeRep (Bool isSetOrArray=False) | |
TaQLMultiNodeRep (const String &prefix, const String &postfix, Bool isSetOrArray=False) | |
virtual | ~TaQLMultiNodeRep () |
void | setIsSetOrArray () |
void | setPPFix (const String &prefix, const String &postfix) |
void | setSeparator (const String &sep) |
void | setSeparator (uInt incr, const String &sep) |
void | add (const TaQLNode &node) |
const std::vector< TaQLNode > & | getNodes () const |
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 TaQLMultiNodeRep * | 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 | |
std::vector< TaQLNode > | itsNodes |
Bool | itsIsSetOrArray |
String | itsPrefix |
String | itsPostfix |
String | itsSep |
String | itsSep2 |
uInt | itsIncr |
Raw TaQL parse tree node defining a list of nodes.
Internal
This class is a TaQLNodeRep holding a list of heterogeneous nodes.
Definition at line 250 of file TaQLNodeDer.h.
casacore::TaQLMultiNodeRep::TaQLMultiNodeRep | ( | const String & | prefix, |
const String & | postfix, | ||
Bool | isSetOrArray = False |
||
) |
|
virtual |
|
inline |
Definition at line 265 of file TaQLNodeDer.h.
|
inline |
Definition at line 267 of file TaQLNodeDer.h.
References casacore::TaQLConstNodeRep::restore(), casacore::TaQLConstNodeRep::save(), casacore::TaQLConstNodeRep::show(), and casacore::TaQLConstNodeRep::visit().
|
static |
|
virtual |
Save the object.
Implements casacore::TaQLNodeRep.
|
inline |
Definition at line 257 of file TaQLNodeDer.h.
References casacore::True.
Definition at line 259 of file TaQLNodeDer.h.
|
inline |
Definition at line 261 of file TaQLNodeDer.h.
Definition at line 263 of file TaQLNodeDer.h.
|
virtual |
Print the object in an ostream.
Implements casacore::TaQLNodeRep.
|
virtual |
Visit a node for tree traversal.
Implements casacore::TaQLNodeRep.
uInt casacore::TaQLMultiNodeRep::itsIncr |
Definition at line 280 of file TaQLNodeDer.h.
Bool casacore::TaQLMultiNodeRep::itsIsSetOrArray |
Definition at line 275 of file TaQLNodeDer.h.
std::vector<TaQLNode> casacore::TaQLMultiNodeRep::itsNodes |
Definition at line 274 of file TaQLNodeDer.h.
String casacore::TaQLMultiNodeRep::itsPostfix |
Definition at line 277 of file TaQLNodeDer.h.
String casacore::TaQLMultiNodeRep::itsPrefix |
Definition at line 276 of file TaQLNodeDer.h.
String casacore::TaQLMultiNodeRep::itsSep |
Definition at line 278 of file TaQLNodeDer.h.
String casacore::TaQLMultiNodeRep::itsSep2 |
Definition at line 279 of file TaQLNodeDer.h.