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. | |
virtual void | show (std::ostream &os) const |
Print the object in an ostream. | |
virtual void | save (AipsIO &aio) const |
Save the object. | |
Static Public Member Functions | |
static TaQLMultiNodeRep * | restore (AipsIO &aio) |
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 casacore::TaQLMultiNodeRep::~TaQLMultiNodeRep | ( | ) | [virtual] |
void casacore::TaQLMultiNodeRep::add | ( | const TaQLNode & | node | ) | [inline] |
Definition at line 265 of file TaQLNodeDer.h.
References itsNodes.
const std::vector<TaQLNode>& casacore::TaQLMultiNodeRep::getNodes | ( | ) | const [inline] |
Definition at line 267 of file TaQLNodeDer.h.
References itsNodes.
static TaQLMultiNodeRep* casacore::TaQLMultiNodeRep::restore | ( | AipsIO & | aio | ) | [static] |
virtual void casacore::TaQLMultiNodeRep::save | ( | AipsIO & | aio | ) | const [virtual] |
Save the object.
Implements casacore::TaQLNodeRep.
void casacore::TaQLMultiNodeRep::setIsSetOrArray | ( | ) | [inline] |
Definition at line 257 of file TaQLNodeDer.h.
References itsIsSetOrArray, and casacore::True.
void casacore::TaQLMultiNodeRep::setPPFix | ( | const String & | prefix, | |
const String & | postfix | |||
) | [inline] |
Definition at line 259 of file TaQLNodeDer.h.
References itsPostfix, and itsPrefix.
Definition at line 263 of file TaQLNodeDer.h.
void casacore::TaQLMultiNodeRep::setSeparator | ( | const String & | sep | ) | [inline] |
Definition at line 261 of file TaQLNodeDer.h.
References itsSep.
virtual void casacore::TaQLMultiNodeRep::show | ( | std::ostream & | os | ) | const [virtual] |
Print the object in an ostream.
Implements casacore::TaQLNodeRep.
virtual TaQLNodeResult casacore::TaQLMultiNodeRep::visit | ( | TaQLNodeVisitor & | ) | const [virtual] |
Visit a node for tree traversal.
Implements casacore::TaQLNodeRep.
Definition at line 280 of file TaQLNodeDer.h.
Referenced by setSeparator().
Definition at line 275 of file TaQLNodeDer.h.
Referenced by setIsSetOrArray().
std::vector<TaQLNode> casacore::TaQLMultiNodeRep::itsNodes |
Definition at line 274 of file TaQLNodeDer.h.
Referenced by add(), and getNodes().
Definition at line 277 of file TaQLNodeDer.h.
Referenced by setPPFix().
Definition at line 276 of file TaQLNodeDer.h.
Referenced by setPPFix().
Definition at line 278 of file TaQLNodeDer.h.
Referenced by setSeparator().
Definition at line 279 of file TaQLNodeDer.h.
Referenced by setSeparator().