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... | |
![]() | |
string | GetLabel (FactRecorder name_space) |
bool | SetLabel (string value, FactRecorder name_space) |
Fact | ReInitializeMe (Dictionary< string, string > old_to_new, FactRecorder organizer) |
Copies fact by initiating new MMT Fact. More... | |
bool | rename (string newLabel, FactRecorder name_space) |
Assignes a custom GetLabel, if newLabel is not yet taken; or clears custom GetLabel. More... | |
abstract MMTFact | MakeMMTDeclaration () |
abstract SOMDoc | Defines () |
virtual new int | GetHashCode () |
canonical More... | |
virtual SOMDoc | GetMMTType () |
void | freeAutoLabel (FactRecorder name_space) |
Tells a FactRecorder that this no longer uses auto-generated GetLabel, but remembers current generation variable(s). More... | |
void | SendToMMT () |
Protected Member Functions | |
FactWrappedCRTP () | |
abstract bool | EquivalentWrapped (T f1, T f2) |
CRTP step of Equivalent(Fact) and Equivalent(Fact, Fact) More... | |
bool | DependentFactsEquivalent (T f1, T f2) |
![]() | |
virtual object | GetCompiledValue () |
object | CompileValue (SOMDoc compile_me) |
abstract string[] | GetDependentFactIds () |
Fact () | |
Only being used by JsonReader to initiate empty Facts.
| |
abstract Fact | _ReInitializeMe (Dictionary< string, string > old_to_new) |
abstract void | RecalculateTransform () |
virtual string | generateLabel (FactRecorder name_space) |
auto-generates GetLabel using generation variable(s) e.g. LabelId; if custom GetLabel is set, tries to restore original generated GetLabel without resetting _CustomLabel. If original GetLabel is already taken, a new one will be generated. More... | |
Additional Inherited Members | |
![]() | |
static IEnumerator | parseFact (List< Fact > ret, MMTFact fact) |
Parses MMTFact to actual Fact More... | |
static SOMDoc | SendToMMT (MMTFact mmtDecl) |
static void | MakeFact (List< Fact > ret, object payload, SOMDoc ServerDefinition, bool BypassServer, SOMDoc BypassURI=null) |
Tries to parse payload into Fact(s) More... | |
static List< Fact > | MMTFactory (MMTFact ingredient) |
Compiles/Executes ingredient and parses result into @Fact s More... | |
![]() | |
FactWrapper | WorldRepresentation |
Reference to GameObject that represents this Fact in the GameWorld. More... | |
![]() | |
static readonly Type[] | Types = TypeExtensions<Fact>.UAssemblyInheritenceTypes |
Collection of Type s of all available Facts to choose from. More... | |
![]() | |
string | s_type |
string | _CustomLabel = null |
Stores custom GetLabel if set. More... | |
![]() | |
string | _LastLabel = "NaN" |
![]() | |
Expression? | CompileBase [getprotected set] |
object | CompiledValue [getprotected set] |
virtual bool | HasDependentFacts [get] |
| |
string[] | DependentFactIds [get] |
string??? | Id [get] |
Unique Id. e.g.: MMT URI More... | |
SOMDoc | ServerDefinition [getprotected set] |
AST which the Server understands. e.g.: OMS(MMT URI) More... | |
MMTFact | ScalaFact [getprotected set] |
bool | HasServerTwin [get] |
bool | hasCustomLabel [get] |
int | LabelId [getset] |
Counter to organize auto generated GetLabel. Set to negative, if custom Label is assigned. More... | |
Vector3 | Position [getprotected set] |
Quaternion | Rotation [getprotected set] |
Vector3 | LocalScale [getprotected set] |
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 |
|
virtual |
|
virtual |
|
protectedpure virtual |
CRTP step of Equivalent(Fact) and Equivalent(Fact, Fact)
Implemented in AbstractAngleFactWrappedCRTP< T >, and AbstractLineFactWrappedCRTP< T >.