|
FrameIT
|
Implements CRTP for Fact; Escalates constructors; More...
Public Member Functions | |
| override bool | Equivalent (Fact f2) |
| Compares this against f2 . More... | |
| override bool | Equivalent (Fact f1, Fact f2) |
| Compares f1 against f2 . More... | |
Public Member Functions inherited from Fact | |
| bool | rename (string newLabel) |
| Assignes a custom Label, if newLabel is not yet taken; or clears custom Label. More... | |
| abstract bool | hasDependentFacts () |
| |
| abstract string[] | getDependentFactIds () |
| abstract GameObject | instantiateDisplay (GameObject prefab, Transform transform) |
| Initiates a prefab at transform e.g. by setting Label. More... | |
| virtual void | delete (bool keep_clean=true) |
| Frees ressources e.g. Label and will eventually delete Fact Server-Side in far-near future when feature is supported. More... | |
| abstract override int | GetHashCode () |
| canonical More... | |
| void | freeAutoLabel () |
| Tells _Facts that this no longer uses auto-generated Label, but remembers current generation variable(s). More... | |
Protected Member Functions | |
| FactWrappedCRTP () | |
| FactWrappedCRTP (FactOrganizer organizer) | |
| FactWrappedCRTP (FactWrappedCRTP< T > fact, FactOrganizer organizer) | |
| abstract bool | EquivalentWrapped (T f1, T f2) |
| CRTP step of Equivalent(Fact) and Equivalent(Fact, Fact) More... | |
Protected Member Functions inherited from Fact | |
| Fact () | |
Only being used by JsonReader to initiate empty Facts.
| |
| Fact (FactOrganizer organizer) | |
| Standard base-constructor. More... | |
| Fact (Fact fact, FactOrganizer organizer) | |
| Copies fact by initiating new MMT Fact. More... | |
| virtual string | generateLabel () |
| auto-generates Label using generation variable(s) e.g. LabelId; if custom Label is set, tries to restore original generated Label without resetting _CustomLabel. If original Label is already taken, a new one will be generated. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Fact | |
| static Fact | parseFact (Scroll.ScrollFact fact) |
| Parses Scroll.ScrollFact to actual Fact More... | |
Public Attributes inherited from Fact | |
| GameObject | Representation |
Reference to GameObject that represents this Fact in the GameWorld. More... | |
Protected Attributes inherited from Fact | |
| string | _URI |
| MMT URI More... | |
| string | _CustomLabel = null |
| Stores custom Label if set. More... | |
| FactOrganizer | _Facts |
| Reference to FactOrganizer in which this Fact and all its depending Facts are beeing organized. More... | |
Properties inherited from Fact | |
| string | Id [getset] |
| string? | Label [getset] |
| bool | hasCustomLabel [get] |
| int | LabelId [getset] |
| Counter to organize auto generated Label. Set to negative, if custom Label is assigned. More... | |
Implements CRTP for Fact; Escalates constructors;
| T | class, which inherits from FactWrappedCRTP |
| T | : | FactWrappedCRTP<T> |
|
protected |
Only being used by JsonReader to initiate empty Facts.
|
protected |
Standard base-constructor.
| organizer | _Facts |
|
protected |
|
virtual |
|
virtual |
|
protectedpure virtual |
CRTP step of Equivalent(Fact) and Equivalent(Fact, Fact)
Implemented in AbstractLineFactWrappedCRTP< T >.