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

#include <MLHom.h>

Inheritance diagram for _MLHom:
Inheritance graph
Collaboration diagram for _MLHom:
Collaboration graph

Public Member Functions

 _MLHom (int ref=0)
 
virtual bool shouldCache () const
 test if caching should be done : default means should cache More...
 
virtual ~_MLHom ()
 Virtual Destructor. More...
 
virtual HomNodeMap eval (const GDDD &) const =0
 
virtual size_t hash () const =0
 unique table trivia More...
 
virtual bool operator== (const _MLHom &h) const =0
 
virtual _MLHomclone () 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 MLHom
 open access to container class MLHom. More...
 

Constructor & Destructor Documentation

◆ _MLHom()

_MLHom::_MLHom ( int  ref = 0)
inline

◆ ~_MLHom()

virtual _MLHom::~_MLHom ( )
inlinevirtual

Virtual Destructor.

Member Function Documentation

◆ clone()

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

◆ eval()

virtual HomNodeMap _MLHom::eval ( const GDDD ) const
pure virtual

◆ hash()

virtual size_t _MLHom::hash ( ) const
pure virtual

◆ mark()

virtual void _MLHom::mark ( ) const
inlineprivatevirtual

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

◆ operator==()

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

◆ shouldCache()

virtual bool _MLHom::shouldCache ( ) const
inlinevirtual

test if caching should be done : default means should cache

Reimplemented in nsMLHom::Identity.

Friends And Related Function Documentation

◆ MLHom

friend class MLHom
friend

open access to container class MLHom.

Member Data Documentation

◆ marking

bool _MLHom::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 MLHom::garbage().

◆ refCounter

int _MLHom::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