casacore
|
Envelope class to hold the result of a visit to the node tree. More...
#include <TaQLNodeResult.h>
Public Member Functions | |
TaQLNodeResult () | |
Default constructor has no letter. More... | |
TaQLNodeResult (TaQLNodeResultRep *rep) | |
Take the given letter and increment its reference count. More... | |
TaQLNodeResult (const TaQLNodeResult &that) | |
Copy constructor (reference semantics). More... | |
TaQLNodeResult & | operator= (const TaQLNodeResult &that) |
Assignment (reference semantics). More... | |
~TaQLNodeResult () | |
Destructor decrements the reference count. More... | |
Bool | isValid () const |
Does the envelope hold a letter? More... | |
const TaQLNodeResultRep * | getRep () const |
Get the actual underlying object. More... | |
Private Attributes | |
TaQLNodeResultRep * | itsRep |
Envelope class to hold the result of a visit to the node tree.
Internal
TaQLNodeResult is the envelope class for classes holding values filled by visitors to the raw TaQL parse tree. Visitors are classes derived from TaQLNodeVisitor which traverse the parse tree. The counted referenced letter base class for the envelope is class TaQLNodeResultRep.
Definition at line 123 of file TaQLNodeResult.h.
|
inline |
Default constructor has no letter.
Definition at line 127 of file TaQLNodeResult.h.
|
inline |
Take the given letter and increment its reference count.
Definition at line 131 of file TaQLNodeResult.h.
References itsRep, and casacore::TaQLNodeResultRep::link().
|
inline |
Copy constructor (reference semantics).
Definition at line 135 of file TaQLNodeResult.h.
References itsRep, and casacore::TaQLNodeResultRep::link().
|
inline |
Destructor decrements the reference count.
The letter is deleted if no more references.
Definition at line 149 of file TaQLNodeResult.h.
References itsRep, and casacore::TaQLNodeResultRep::unlink().
|
inline |
Get the actual underlying object.
Definition at line 161 of file TaQLNodeResult.h.
References itsRep.
Referenced by casacore::TaQLNodeHandler::getHR().
|
inline |
Does the envelope hold a letter?
Definition at line 153 of file TaQLNodeResult.h.
References itsRep.
|
inline |
Assignment (reference semantics).
Definition at line 139 of file TaQLNodeResult.h.
References itsRep, casacore::TaQLNodeResultRep::link(), and casacore::TaQLNodeResultRep::unlink().
|
private |
Definition at line 157 of file TaQLNodeResult.h.
Referenced by getRep(), isValid(), operator=(), TaQLNodeResult(), and ~TaQLNodeResult().