Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VRage.Generics.MyNamedEnum< T > Struct Template Reference
Inheritance diagram for VRage.Generics.MyNamedEnum< T >:

Public Member Functions

 MyNamedEnum (T s)
 
 MyNamedEnum (int i)
 
void CreateFromString (string s)
 
void CreateFromInt (int i)
 
XmlSchema GetSchema ()
 
void ReadXml (XmlReader reader)
 
void WriteXml (XmlWriter writer)
 
void OnProtoDeserialize ()
 

Static Public Member Functions

static implicit operator T (MyNamedEnum< T > f)
 
static implicit operator MyNamedEnum< T > (T f)
 
static implicit operator int (MyNamedEnum< T > f)
 
static implicit operator MyNamedEnum< T > (int f)
 

Public Attributes

int m_enumInt
 
EnumType
 

Detailed Description

Type Constraints
T :struct 
T :IConvertible 

Definition at line 17 of file MyNamedEnum.cs.

Constructor & Destructor Documentation

Definition at line 29 of file MyNamedEnum.cs.

VRage.Generics.MyNamedEnum< T >.MyNamedEnum ( int  i)
inline

Definition at line 39 of file MyNamedEnum.cs.

Member Function Documentation

void VRage.Generics.MyNamedEnum< T >.CreateFromInt ( int  i)
inline

Definition at line 62 of file MyNamedEnum.cs.

void VRage.Generics.MyNamedEnum< T >.CreateFromString ( string  s)
inline

Definition at line 49 of file MyNamedEnum.cs.

XmlSchema VRage.Generics.MyNamedEnum< T >.GetSchema ( )
inline

Definition at line 68 of file MyNamedEnum.cs.

void VRage.Generics.MyNamedEnum< T >.OnProtoDeserialize ( )
inline

Definition at line 93 of file MyNamedEnum.cs.

static implicit VRage.Generics.MyNamedEnum< T >.operator int ( MyNamedEnum< T >  f)
inlinestatic

Definition at line 108 of file MyNamedEnum.cs.

static implicit VRage.Generics.MyNamedEnum< T >.operator MyNamedEnum< T > ( f)
inlinestatic

Definition at line 103 of file MyNamedEnum.cs.

static implicit VRage.Generics.MyNamedEnum< T >.operator MyNamedEnum< T > ( int  f)
inlinestatic

Definition at line 113 of file MyNamedEnum.cs.

static implicit VRage.Generics.MyNamedEnum< T >.operator T ( MyNamedEnum< T >  f)
inlinestatic

Definition at line 98 of file MyNamedEnum.cs.

void VRage.Generics.MyNamedEnum< T >.ReadXml ( XmlReader  reader)
inline

Definition at line 73 of file MyNamedEnum.cs.

void VRage.Generics.MyNamedEnum< T >.WriteXml ( XmlWriter  writer)
inline

Definition at line 81 of file MyNamedEnum.cs.

Member Data Documentation

T VRage.Generics.MyNamedEnum< T >.EnumType

Definition at line 27 of file MyNamedEnum.cs.

int VRage.Generics.MyNamedEnum< T >.m_enumInt

Definition at line 21 of file MyNamedEnum.cs.


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