FrameIT
AbstractLineFactWrappedCRTP< T > Class Template Referenceabstract

Implements CRTP for AbstractLineFact; Escalates constructors; More...

Inheritance diagram for AbstractLineFactWrappedCRTP< T >:
AbstractLineFact FactWrappedCRTP< AbstractLineFact >

Protected Member Functions

 AbstractLineFactWrappedCRTP ()
 
 AbstractLineFactWrappedCRTP (AbstractLineFactWrappedCRTP< T > fact, Dictionary< string, string > old_to_new, FactOrganizer organizer)
 
 AbstractLineFactWrappedCRTP (string pid1, string pid2, FactOrganizer organizer)
 
 AbstractLineFactWrappedCRTP (string pid1, string pid2, string backendURI, FactOrganizer organizer)
 
override bool EquivalentWrapped (AbstractLineFact f1, AbstractLineFact f2)
 Compares f1 against f2 . More...
 
abstract bool EquivalentWrapped (T f1, T f2)
 CRTP step of EquivalentWrapped(AbstractLineFact, AbstractLineFact) More...
 
- Protected Member Functions inherited from AbstractLineFact
 AbstractLineFact ()
 
 AbstractLineFact (AbstractLineFact fact, Dictionary< string, string > old_to_new, FactOrganizer organizer)
 Copies fact by initiating new MMT Fact. More...
 
 AbstractLineFact (string pid1, string pid2, FactOrganizer organizer)
 Standard Constructor More...
 
 AbstractLineFact (string pid1, string pid2, string backendURI, FactOrganizer organizer)
 Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence. More...
 
- Protected Member Functions inherited from FactWrappedCRTP< AbstractLineFact >
 FactWrappedCRTP ()
 
 FactWrappedCRTP (FactOrganizer organizer)
 
 FactWrappedCRTP (FactWrappedCRTP< T > fact, FactOrganizer organizer)
 

Additional Inherited Members

- Public Member Functions inherited from AbstractLineFact
override bool hasDependentFacts ()
 
Returns
true if Fact depends on other Facts; equivalent to getDependentFactIds returns non empty array
More...
 
override string[] getDependentFactIds ()
 
override int GetHashCode ()
 canonical More...
 
- Public Member Functions inherited from FactWrappedCRTP< AbstractLineFact >
override bool Equivalent (Fact f2)
 Compares this against f2 . More...
 
override bool Equivalent (Fact f1, Fact f2)
 Compares f1 against f2 . More...
 
- Public Attributes inherited from AbstractLineFact
Vector3 Dir
 Normalized Direction from Pid1 to Pid2. More...
 
string Pid1
 One Id of two PointFact defining Dir. More...
 
string Pid2
 One Id of two PointFact defining Dir. More...
 

Detailed Description

Implements CRTP for AbstractLineFact; Escalates constructors;

Template Parameters
Tclass, which inherits from AbstractLineFactWrappedCRTP
Type Constraints
T :AbstractLineFactWrappedCRTP<T> 

Constructor & Destructor Documentation

◆ AbstractLineFactWrappedCRTP() [1/4]

◆ AbstractLineFactWrappedCRTP() [2/4]

AbstractLineFactWrappedCRTP< T >.AbstractLineFactWrappedCRTP ( AbstractLineFactWrappedCRTP< T >  fact,
Dictionary< string, string >  old_to_new,
FactOrganizer  organizer 
)
protected

◆ AbstractLineFactWrappedCRTP() [3/4]

AbstractLineFactWrappedCRTP< T >.AbstractLineFactWrappedCRTP ( string  pid1,
string  pid2,
FactOrganizer  organizer 
)
protected

Standard Constructor

Parameters
pid1sets AbstractLineFact.Pid1
pid2sets AbstractLineFact.Pid2
organizersets Fact._Facts

◆ AbstractLineFactWrappedCRTP() [4/4]

AbstractLineFactWrappedCRTP< T >.AbstractLineFactWrappedCRTP ( string  pid1,
string  pid2,
string  backendURI,
FactOrganizer  organizer 
)
protected

Bypasses initialization of new MMT Fact by using existend URI, which is not checked for existence.

Parameters
pid1sets Pid1
pid2sets Pid2
backendURIMMT URI
organizersets Fact._Facts

Member Function Documentation

◆ EquivalentWrapped() [1/2]

override bool AbstractLineFactWrappedCRTP< T >.EquivalentWrapped ( AbstractLineFact  f1,
AbstractLineFact  f2 
)
protected

Compares f1 against f2 .

Parameters
f1Fact to compare to
f2Fact to compare to
Returns
true if f2 is semantical very similar to f1

◆ EquivalentWrapped() [2/2]

abstract bool AbstractLineFactWrappedCRTP< T >.EquivalentWrapped ( f1,
f2 
)
protectedpure virtual

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