|
Modular Architecture V1.0.0
|
DataReference contains either a constant value or points to a data container asset in the project
It is used in place of default types to reference variable objects and allow for implicit comparisons.
It contains types that are comparable ( consist of IComperable ), so that custom types can be made
.
More...
Public Member Functions | |
| DataReference () | |
| DataReference (T value) | |
| override int | CompareTo (DataReferenceBase other) |
| Used to define over arithmetic and comparison operators in DataReferenceBase since value is IComparable. | |
| Public Member Functions inherited from ModularArchitecture.Data.DataReferenceBase | |
| int | CompareTo (DataReferenceBase other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static implicit | operator T (DataReference< T > reference) |
| Static Public Member Functions inherited from ModularArchitecture.Data.DataReferenceBase | |
| static bool | operator< (DataReferenceBase a, DataReferenceBase b) |
| static bool | operator> (DataReferenceBase a, DataReferenceBase b) |
| static bool | operator<= (DataReferenceBase a, DataReferenceBase b) |
| static bool | operator>= (DataReferenceBase a, DataReferenceBase b) |
| static bool | operator== (DataReferenceBase a, DataReferenceBase b) |
| static bool | operator!= (DataReferenceBase a, DataReferenceBase b) |
Public Attributes | |
| bool | useConstant = true |
| T | constantValue |
| DataContainer< T > | variable |
Properties | |
| T | value [get, set] |
DataReference contains either a constant value or points to a data container asset in the project
It is used in place of default types to reference variable objects and allow for implicit comparisons.
It contains types that are comparable ( consist of IComperable ), so that custom types can be made
.
| T | A comparable type that can be in a data asset (DataContainer) |
| T | : | IComparable<T> |
|
inline |
Used to define over arithmetic and comparison operators in DataReferenceBase since value is IComparable.
|
inline |
|
inline |
|
inlinestatic |
| T ModularArchitecture.Data.DataReference< T >.constantValue |
| bool ModularArchitecture.Data.DataReference< T >.useConstant = true |
| DataContainer<T> ModularArchitecture.Data.DataReference< T >.variable |
|
getset |