Space Engineers
Public Member Functions | Static Public Attributes | List of all members
VRage.Serialization.MySerializerEnum< TEnum > Class Template Reference
Inheritance diagram for VRage.Serialization.MySerializerEnum< TEnum >:
VRage.Serialization.MySerializer< TEnum >

Public Member Functions

override void Clone (ref TEnum value)
 
override bool Equals (ref TEnum a, ref TEnum b)
 
override void Read (Library.Collections.BitStream stream, out TEnum value, MySerializeInfo info)
 
override void Write (Library.Collections.BitStream stream, ref TEnum value, MySerializeInfo info)
 

Static Public Attributes

static readonly bool HasNegativeValues = Comparer<TEnum>.Default.Compare(MyEnum<TEnum>.Range.Min, default(TEnum)) < 0
 

Detailed Description

Type Constraints
TEnum :struct 
TEnum :IComparable 
TEnum :IFormattable 
TEnum :IConvertible 

Definition at line 11 of file MySerializerEnum.cs.

Member Function Documentation

override void VRage.Serialization.MySerializerEnum< TEnum >.Clone ( ref TEnum  value)
inline

Definition at line 32 of file MySerializerEnum.cs.

override bool VRage.Serialization.MySerializerEnum< TEnum >.Equals ( ref TEnum  a,
ref TEnum  b 
)
inline

Definition at line 36 of file MySerializerEnum.cs.

override void VRage.Serialization.MySerializerEnum< TEnum >.Read ( Library.Collections.BitStream  stream,
out TEnum  value,
MySerializeInfo  info 
)
inline

Definition at line 41 of file MySerializerEnum.cs.

override void VRage.Serialization.MySerializerEnum< TEnum >.Write ( Library.Collections.BitStream  stream,
ref TEnum  value,
MySerializeInfo  info 
)
inline

Definition at line 64 of file MySerializerEnum.cs.

Member Data Documentation

readonly bool VRage.Serialization.MySerializerEnum< TEnum >.HasNegativeValues = Comparer<TEnum>.Default.Compare(MyEnum<TEnum>.Range.Min, default(TEnum)) < 0
static

Definition at line 23 of file MySerializerEnum.cs.


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