|
PPL
1.2
|
The possibly shared representation of a Determinate object. More...
Public Member Functions | |
| Rep (dimension_type num_dimensions, Degenerate_Element kind) | |
| Builds a new representation by creating a pointset of the specified kind, in the specified vector space. More... | |
| Rep (const PSET &p) | |
Builds a new representation by copying the pointset p. More... | |
| Rep (const Constraint_System &cs) | |
Builds a new representation by copying the constraints in cs. More... | |
| Rep (const Congruence_System &cgs) | |
Builds a new representation by copying the constraints in cgs. More... | |
| ~Rep () | |
| Destructor. More... | |
| void | new_reference () const |
| Registers a new reference. More... | |
| bool | del_reference () const |
Unregisters one reference; returns true if and only if the representation has become unreferenced. More... | |
| bool | is_shared () const |
| True if and only if this representation is currently shared. More... | |
| memory_size_type | total_memory_in_bytes () const |
Returns a lower bound to the total size in bytes of the memory occupied by *this. More... | |
| memory_size_type | external_memory_in_bytes () const |
Returns a lower bound to the size in bytes of the memory managed by *this. More... | |
Public Attributes | |
| PSET | pset |
| The possibly shared, embedded pointset. More... | |
Private Member Functions | |
| Rep & | operator= (const Rep &y) |
| Private and unimplemented: assignment not allowed. More... | |
| Rep (const Rep &y) | |
| Private and unimplemented: copies not allowed. More... | |
| Rep () | |
| Private and unimplemented: default construction not allowed. More... | |
Private Attributes | |
| unsigned long | references |
| Count the number of references: More... | |
The possibly shared representation of a Determinate object.
By adopting the copy-on-write technique, a single representation of the base-level object may be shared by more than one object of the class Determinate.
Definition at line 249 of file Determinate_defs.hh.
|
private |
Private and unimplemented: copies not allowed.
|
private |
Private and unimplemented: default construction not allowed.
|
inline |
Builds a new representation by creating a pointset of the specified kind, in the specified vector space.
Definition at line 33 of file Determinate_inlines.hh.
|
inline |
Builds a new representation by copying the pointset p.
Definition at line 40 of file Determinate_inlines.hh.
|
inline |
Builds a new representation by copying the constraints in cs.
Definition at line 46 of file Determinate_inlines.hh.
|
inline |
Builds a new representation by copying the constraints in cgs.
Definition at line 52 of file Determinate_inlines.hh.
|
inline |
Destructor.
Definition at line 58 of file Determinate_inlines.hh.
|
inline |
Unregisters one reference; returns true if and only if the representation has become unreferenced.
Definition at line 70 of file Determinate_inlines.hh.
|
inline |
Returns a lower bound to the size in bytes of the memory managed by *this.
Definition at line 82 of file Determinate_inlines.hh.
|
inline |
True if and only if this representation is currently shared.
Definition at line 76 of file Determinate_inlines.hh.
|
inline |
Registers a new reference.
Definition at line 64 of file Determinate_inlines.hh.
Referenced by Parma_Polyhedra_Library::Determinate< PSET >::Determinate(), Parma_Polyhedra_Library::Determinate< PSET >::mutate(), and Parma_Polyhedra_Library::Determinate< PSET >::operator=().
|
private |
Private and unimplemented: assignment not allowed.
|
inline |
Returns a lower bound to the total size in bytes of the memory occupied by *this.
Definition at line 88 of file Determinate_inlines.hh.
References Parma_Polyhedra_Library::Determinate< PSET >::external_memory_in_bytes().
| PSET Parma_Polyhedra_Library::Determinate< PSET >::Rep::pset |
The possibly shared, embedded pointset.
Definition at line 270 of file Determinate_defs.hh.
Referenced by Parma_Polyhedra_Library::Determinate< PSET >::definitely_entails(), and Parma_Polyhedra_Library::Determinate< PSET >::is_definitely_equivalent_to().
|
mutableprivate |
Count the number of references:
pset is non-const;pset is non-const;pset is const. Definition at line 257 of file Determinate_defs.hh.