DDD  1.9.0.20240425101308
Public Member Functions | Private Member Functions | Private Attributes | List of all members
nsMLShom::Identity Class Reference
Inheritance diagram for nsMLShom::Identity:
Inheritance graph
Collaboration diagram for nsMLShom::Identity:
Collaboration graph

Public Member Functions

 Identity (int ref=0)
 
virtual bool shouldCache () const
 test if caching should be done : default means should cache More...
 
bool operator== (const _MLShom &) const
 
size_t hash () const
 unique table trivia More...
 
_MLShomclone () const
 
bool skip_variable (int) const
 
SHomNodeMap eval (const GSDD &d) const
 

Private Member Functions

virtual void mark () const
 For garbage collection. Used in first phase of garbage collection. More...
 

Private Attributes

int refCounter
 For garbage collection. More...
 
bool marking
 For garbage collection. More...
 

Constructor & Destructor Documentation

◆ Identity()

nsMLShom::Identity::Identity ( int  ref = 0)
inline

Referenced by clone().

Member Function Documentation

◆ clone()

_MLShom* nsMLShom::Identity::clone ( ) const
inlinevirtual

Implements _MLShom.

References Identity().

◆ eval()

SHomNodeMap nsMLShom::Identity::eval ( const GSDD d) const
inlinevirtual

◆ hash()

size_t nsMLShom::Identity::hash ( ) const
inlinevirtual

unique table trivia

Implements _MLShom.

◆ mark()

virtual void _MLShom::mark ( ) const
inlineprivatevirtualinherited

For garbage collection. Used in first phase of garbage collection.

◆ operator==()

bool nsMLShom::Identity::operator== ( const _MLShom ) const
inlinevirtual

Implements _MLShom.

◆ shouldCache()

virtual bool nsMLShom::Identity::shouldCache ( ) const
inlinevirtual

test if caching should be done : default means should cache

Reimplemented from _MLShom.

◆ skip_variable()

bool nsMLShom::Identity::skip_variable ( int  ) const
inline

Member Data Documentation

◆ marking

bool _MLShom::marking
mutableprivateinherited

For garbage collection.

Used in the two phase garbage collection process. A Shom that is not marked after the first pass over the unicity table, will be sweeped in the second phase. Outside of garbage collection routine, marking should always bear the value false.

Referenced by MLShom::garbage().

◆ refCounter

int _MLShom::refCounter
mutableprivateinherited

For garbage collection.

Counts the number of times a _MLHom is referenced from the context of an MLHom.


The documentation for this class was generated from the following file:

Please comment this page and report errors about it on the RefDocComments page.
Generated on Thu Apr 25 2024 10:15:16 for DDD by doxygen 1.9.1