Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
PlacementIndex::Validator Class Reference

Description

PlacementIndex self-verification code Executes all built-in checks automatically on object creation.

Exceptions
SelfCheckFailure

Definition at line 580 of file placement-index.cpp.

Public Member Functions

 Validator (Table &indexTable)
 

Private Member Functions

PlacementMOelm (ID id)
 
PlacementMOsco (ID id)
 
void checkRoot (PMO *root)
 
void checkEntry (ID id)
 
void checkScope (ID id)
 
void checkScopeEntry (ID scope, ID entry)
 
void checkAllocation ()
 

Private Attributes

PlacementIndex::Tabletab
 

Constructor & Destructor Documentation

◆ Validator()

Member Function Documentation

◆ elm()

PlacementMO * elm ( ID  id)
inlineprivate

Definition at line 585 of file placement-index.cpp.

References PlacementIndex::Table::_element_4check(), and PlacementIndex::Validator::tab.

Referenced by PlacementIndex::Validator::checkEntry(), PlacementIndex::Validator::checkScope(), and PlacementIndex::Validator::checkScopeEntry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sco()

PlacementMO * sco ( ID  id)
inlineprivate

Definition at line 586 of file placement-index.cpp.

References PlacementIndex::Table::_scope_4check(), and PlacementIndex::Validator::tab.

Referenced by PlacementIndex::Validator::checkEntry(), PlacementIndex::Validator::checkScope(), and PlacementIndex::Validator::checkScopeEntry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkRoot()

void checkRoot ( PMO root)
inlineprivate

Definition at line 596 of file placement-index.cpp.

References MObject::isValid(), and VERIFY.

Referenced by PlacementIndex::Validator::Validator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkEntry()

void checkEntry ( ID  id)
inlineprivate

Definition at line 604 of file placement-index.cpp.

References PlacementIndex::Table::_root_4check(), PlacementIndex::Table::contains(), PlacementIndex::Validator::elm(), PlacementIndex::isValid(), PlacementIndex::Table::queryScopeContents(), PlacementIndex::Validator::sco(), PlacementIndex::Validator::tab, and VERIFY.

Referenced by PlacementIndex::Validator::Validator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkScope()

void checkScope ( ID  id)
inlineprivate

Definition at line 630 of file placement-index.cpp.

References PlacementIndex::Table::_contents_4check(), PlacementIndex::Table::_root_4check(), PlacementIndex::Validator::checkScopeEntry(), PlacementIndex::Table::contains(), PlacementIndex::Validator::elm(), PlacementIndex::Validator::sco(), PlacementIndex::Validator::tab, and VERIFY.

Referenced by PlacementIndex::Validator::Validator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkScopeEntry()

void checkScopeEntry ( ID  scope,
ID  entry 
)
inlineprivate

Definition at line 647 of file placement-index.cpp.

References PlacementIndex::Table::contains(), PlacementIndex::Validator::elm(), PlacementIndex::Validator::sco(), PlacementIndex::Validator::tab, and VERIFY.

Referenced by PlacementIndex::Validator::checkScope().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkAllocation()

void checkAllocation ( )
inlineprivate

Definition at line 657 of file placement-index.cpp.

References PlacementIndex::Table::element_cnt(), PlacementIndex::Table::scope_cnt(), PlacementIndex::Table::size(), PlacementIndex::Validator::tab, and VERIFY.

Referenced by PlacementIndex::Validator::Validator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ tab

+ Collaboration diagram for PlacementIndex::Validator:

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