DDD  1.9.0.20240826145154
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
_MLShom Class Referenceabstract

#include <MLSHom.h>

Inheritance diagram for _MLShom:
Inheritance graph
Collaboration diagram for _MLShom:
Collaboration graph

Public Member Functions

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

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...
 

Friends

class MLShom
 open access to container class MLHom. More...
 

Constructor & Destructor Documentation

◆ _MLShom()

_MLShom::_MLShom ( int  ref = 0)
inline

◆ ~_MLShom()

virtual _MLShom::~_MLShom ( )
inlinevirtual

Virtual Destructor.

Member Function Documentation

◆ clone()

virtual _MLShom* _MLShom::clone ( ) const
pure virtual

◆ eval()

virtual SHomNodeMap _MLShom::eval ( const GSDD ) const
pure virtual

◆ hash()

virtual size_t _MLShom::hash ( ) const
pure virtual

◆ mark()

virtual void _MLShom::mark ( ) const
inlineprivatevirtual

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

◆ operator==()

virtual bool _MLShom::operator== ( const _MLShom h) const
pure virtual

◆ shouldCache()

virtual bool _MLShom::shouldCache ( ) const
inlinevirtual

test if caching should be done : default means should cache

Reimplemented in nsMLShom::Identity.

Friends And Related Function Documentation

◆ MLShom

friend class MLShom
friend

open access to container class MLHom.

Member Data Documentation

◆ marking

bool _MLShom::marking
mutableprivate

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
mutableprivate

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 Mon Aug 26 2024 14:54:00 for DDD by doxygen 1.9.1