casacore
|
#include <TaQLNodeResult.h>
Public Member Functions | |
TaQLNodeResultRep () | |
Default constructor clears the reference count. More... | |
virtual | ~TaQLNodeResultRep () |
Destructor. More... | |
Static Public Member Functions | |
static TaQLNodeResultRep * | link (TaQLNodeResultRep *rep) |
Increment the reference count. More... | |
static void | unlink (TaQLNodeResultRep *rep) |
Decrement the reference count. More... | |
Private Member Functions | |
TaQLNodeResultRep (const TaQLNodeResultRep &) | |
Letter objects cannot be copied. More... | |
TaQLNodeResultRep & | operator= (const TaQLNodeResultRep &) |
Private Attributes | |
int | itsCount |
Abstract base class to hold the result of a visit to the node tree.
Internal
TaQLNodeResultRep is the abstract base 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. TaQLNodeResultRep is the counted referenced letter class in the envelope class TaQLNodeResult.
Definition at line 62 of file TaQLNodeResult.h.
|
inline |
Default constructor clears the reference count.
The count is updated by functions link and unlink.
Definition at line 67 of file TaQLNodeResult.h.
|
virtual |
Destructor.
|
private |
Letter objects cannot be copied.
|
inlinestatic |
Increment the reference count.
Definition at line 74 of file TaQLNodeResult.h.
References itsCount.
Referenced by casacore::TaQLNodeResult::operator=(), and casacore::TaQLNodeResult::TaQLNodeResult().
|
private |
|
inlinestatic |
Decrement the reference count.
Delete the letter if no more references.
Definition at line 82 of file TaQLNodeResult.h.
References itsCount.
Referenced by casacore::TaQLNodeResult::operator=(), and casacore::TaQLNodeResult::~TaQLNodeResult().
|
private |
Definition at line 94 of file TaQLNodeResult.h.