Quantum 3
3.0.12
A serializable equivalent of Nullable<FP>. More...
Public Member Functions | |
| readonly override int | GetHashCode () |
| Computes the hash code for the current instance of the FP struct. More... | |
| readonly override string | ToString () |
| Returns a string representation of the current value. More... | |
| readonly FP | ValueOrDefault () |
If HasValue is true, returns Value. Otherwise returns zero. More... | |
Static Public Member Functions | |
| static implicit | operator NullableNonNegativeFP (FP v) |
| Implicitly converts the specified value of type FP to NullableNonNegativeFP. More... | |
| static void | Serialize (NullableNonNegativeFP *ptr, IDeterministicFrameSerializer serializer) |
| Serialize a NullableNonNegativeFP pointer using the provided IDeterministicFrameSerializer. More... | |
Public Attributes | |
| ulong | _value |
| The value. More... | |
Static Public Attributes | |
| const int | SIZE = sizeof(ulong) |
| Size of the struct in bytes. More... | |
Properties | |
| readonly Boolean | HasValue [get] |
Returns true if this nullable has a value. More... | |
| readonly FP | Value [get] |
| Returns current value. More... | |
A serializable equivalent of Nullable<FP>.
|
inline |
|
inlinestatic |
Implicitly converts the specified value of type FP to NullableNonNegativeFP.
| v | The value to be converted. |
| ArgumentOutOfRangeException | Thrown when the value is less than zero. |
|
inlinestatic |
Serialize a NullableNonNegativeFP pointer using the provided IDeterministicFrameSerializer.
| ptr | The NullableNonNegativeFP pointer to serialize. |
| serializer | The IDeterministicFrameSerializer used for serialization. |
|
inline |
Returns a string representation of the current value.
|
inline |
Computes the hash code for the current instance of the FP struct.
|
static |
Size of the struct in bytes.
| ulong Photon.Deterministic.NullableNonNegativeFP._value |
The value.
|
get |
Returns true if this nullable has a value.