![]() |
Ths class wraps leftv by taking into acount memory allocation, destruction as well as shallowly copying of a given leftv, i.e.
More...
#include <countedref.h>
Public Member Functions | |
| LeftvShallow () | |
Just allocate (all-zero) leftv. More... | |
| LeftvShallow (leftv data) | |
| Shallow copy the input data. More... | |
| LeftvShallow (const self &rhs) | |
Construct (shallow) copy of *this. More... | |
| ~LeftvShallow () | |
| Destruct. More... | |
| self & | operator= (leftv rhs) |
| Assign shallow copy of the input. More... | |
| self & | operator= (const self &rhs) |
Assign (shallow) copy of *this. More... | |
Private Types | |
| typedef LeftvShallow | self |
Pointer-style access | |
| leftv | m_data |
| The actual data pointer. More... | |
| leftv | operator-> () const |
| The actual data pointer. More... | |
| leftv | operator-> () |
| The actual data pointer. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from LeftvHelper | |
| static leftv | idify (leftv head, idhdl *root) |
| static idhdl | newid (leftv head, idhdl *root) |
| static void | clearid (idhdl handle, idhdl *root) |
| template<class Type > | |
| static Type * | cpy (Type *result, Type *data) |
| template<class Type > | |
| static Type * | cpy (Type *data) |
| template<class Type > | |
| static Type * | recursivecpy (Type *data) |
| template<class Type > | |
| static Type * | shallowcpy (Type *result, Type *data) |
| template<class Type > | |
| static Type * | shallowcpy (Type *data) |
| template<class Type > | |
| static void | recursivekill (Type *current) |
| static leftv | allocate () |
Ths class wraps leftv by taking into acount memory allocation, destruction as well as shallowly copying of a given leftv, i.e.
we just copy auxiliary information (like subexpressions), but not the actual data.
leftv while operating on th Definition at line 284 of file countedref.h.
|
private |
Definition at line 286 of file countedref.h.
|
inline |
|
inline |
Shallow copy the input data.
Definition at line 292 of file countedref.h.
Construct (shallow) copy of *this.
Definition at line 294 of file countedref.h.
|
inline |
|
inline |
|
inline |
Assign shallow copy of the input.
Definition at line 303 of file countedref.h.
Assign (shallow) copy of *this.
Definition at line 309 of file countedref.h.
|
protected |
The actual data pointer.
Definition at line 320 of file countedref.h.