My Project
|
This file defines reusable classes supporting reference counted interpreter objects and initiates the blackbox
operations for high-level types 'reference' and 'shared'.
More...
#include "omalloc/omalloc.h"
#include "kernel/structs.h"
#include "Singular/subexpr.h"
#include "Singular/idrec.h"
#include "Singular/ipid.h"
Go to the source code of this file.
Data Structures | |
class | CountedRefPtr< PtrType, Nondestructive, NeverNull, CountType > |
This class implements a smart pointer which handles pointer-style access to a reference-counted structure and destructing the latter after use. More... | |
class | RefCounter |
This class implements implements a refernce counter which we can use as a public base of objects managed by @CountedRefPtr. More... | |
class | CountedRefIndirectPtr< PtrType > |
class | CountedRefWeakPtr< PtrType > |
class | LeftvHelper |
This class implements some recurrent code sniplets to be used with leftv and idhdl.implements a refernce counter which we can use. More... | |
class | LeftvShallow |
Ths class wraps leftv by taking into acount memory allocation, destruction as well as shallowly copying of a given leftv , i.e. More... | |
class | LeftvDeep |
This class wraps leftv by taking into acount memory allocation, destruction as well as deeply copying of a given leftv , i.e. More... | |
struct | LeftvDeep::copy_tag |
Construct even deeper copy: Skip identifier (if any) and take care of the data on our own. More... | |
Functions | |
template<class PtrType > | |
void | CountedRefPtr_kill (CountedRefIndirectPtr< PtrType > *pval) |
void | countedref_reference_load () |
Initialize blackbox types 'reference' and 'shared', or both. More... | |
void | countedref_shared_load () |
void | countedref_init () |
This file defines reusable classes supporting reference counted interpreter objects and initiates the blackbox
operations for high-level types 'reference' and 'shared'.
Definition in file countedref.h.
struct LeftvDeep::copy_tag |
Construct even deeper copy: Skip identifier (if any) and take care of the data on our own.
Definition at line 357 of file countedref.h.
|
inline |
Definition at line 458 of file countedref.h.
void countedref_reference_load | ( | ) |
Initialize blackbox
types 'reference' and 'shared', or both.
Definition at line 700 of file countedref.cc.
void countedref_shared_load | ( | ) |
Definition at line 724 of file countedref.cc.
|
inline |
Definition at line 151 of file countedref.h.