casa
$Rev:20696$
|
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 | add (const TaQLNode &node) |
const std::vector< TaQLNode > & | getNodes () |
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 |
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 274 of file TaQLNodeDer.h.
casa::TaQLMultiNodeRep::TaQLMultiNodeRep | ( | Bool | isSetOrArray = False | ) | [inline, explicit] |
Definition at line 277 of file TaQLNodeDer.h.
casa::TaQLMultiNodeRep::TaQLMultiNodeRep | ( | const String & | prefix, |
const String & | postfix, | ||
Bool | isSetOrArray = False |
||
) | [inline] |
Definition at line 279 of file TaQLNodeDer.h.
virtual casa::TaQLMultiNodeRep::~TaQLMultiNodeRep | ( | ) | [virtual] |
void casa::TaQLMultiNodeRep::add | ( | const TaQLNode & | node | ) | [inline] |
Definition at line 289 of file TaQLNodeDer.h.
References itsNodes.
const std::vector<TaQLNode>& casa::TaQLMultiNodeRep::getNodes | ( | ) | [inline] |
Definition at line 291 of file TaQLNodeDer.h.
References itsNodes.
static TaQLMultiNodeRep* casa::TaQLMultiNodeRep::restore | ( | AipsIO & | aio | ) | [static] |
virtual void casa::TaQLMultiNodeRep::save | ( | AipsIO & | aio | ) | const [virtual] |
Save the object.
Implements casa::TaQLNodeRep.
void casa::TaQLMultiNodeRep::setIsSetOrArray | ( | ) | [inline] |
Definition at line 285 of file TaQLNodeDer.h.
References itsIsSetOrArray, and casa::True.
void casa::TaQLMultiNodeRep::setPPFix | ( | const String & | prefix, |
const String & | postfix | ||
) | [inline] |
Definition at line 287 of file TaQLNodeDer.h.
References itsPostfix, and itsPrefix.
virtual void casa::TaQLMultiNodeRep::show | ( | std::ostream & | os | ) | const [virtual] |
Print the object in an ostream.
Implements casa::TaQLNodeRep.
virtual TaQLNodeResult casa::TaQLMultiNodeRep::visit | ( | TaQLNodeVisitor & | ) | const [virtual] |
Visit a node for tree traversal.
Implements casa::TaQLNodeRep.
Definition at line 299 of file TaQLNodeDer.h.
Referenced by setIsSetOrArray().
std::vector<TaQLNode> casa::TaQLMultiNodeRep::itsNodes |
Definition at line 298 of file TaQLNodeDer.h.
Referenced by add(), and getNodes().
Definition at line 301 of file TaQLNodeDer.h.
Referenced by setPPFix().
Definition at line 300 of file TaQLNodeDer.h.
Referenced by setPPFix().