Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
VRage.MyStructXmlSerializer< TStruct > Class Template Reference

Deserializes structs using a specified default value (see StructDefaultAttribute). More...

Inheritance diagram for VRage.MyStructXmlSerializer< TStruct >:
VRage.MyXmlSerializerBase< TStruct >

Public Member Functions

 MyStructXmlSerializer ()
 
 MyStructXmlSerializer (ref TStruct data)
 
override void ReadXml (XmlReader reader)
 
- Public Member Functions inherited from VRage.MyXmlSerializerBase< TStruct >
XmlSchema GetSchema ()
 
void WriteXml (XmlWriter writer)
 

Static Public Member Functions

static implicit operator MyStructXmlSerializer< TStruct > (TStruct data)
 
- Static Public Member Functions inherited from VRage.MyXmlSerializerBase< TStruct >
static implicit operator TAbstractBase (MyXmlSerializerBase< TAbstractBase > o)
 

Static Public Attributes

static FieldInfo m_defaultValueField
 

Additional Inherited Members

- Protected Member Functions inherited from VRage.MyXmlSerializerBase< TStruct >
object Deserialize (XmlReader reader, XmlSerializer serializer, string customRootName)
 
- Protected Attributes inherited from VRage.MyXmlSerializerBase< TStruct >
TAbstractBase m_data
 
- Properties inherited from VRage.MyXmlSerializerBase< TStruct >
static MyObjectsPool< CustomRootReaderReaderPool [get]
 
static MyObjectsPool< CustomRootWriterWriterPool [get]
 
TAbstractBase Data [get]
 

Detailed Description

Deserializes structs using a specified default value (see StructDefaultAttribute).

Type Constraints
TStruct :struct 

Definition at line 17 of file MyStructXmlSerializer.cs.

Constructor & Destructor Documentation

Definition at line 23 of file MyStructXmlSerializer.cs.

VRage.MyStructXmlSerializer< TStruct >.MyStructXmlSerializer ( ref TStruct  data)
inline

Definition at line 25 of file MyStructXmlSerializer.cs.

Member Function Documentation

static implicit VRage.MyStructXmlSerializer< TStruct >.operator MyStructXmlSerializer< TStruct > ( TStruct  data)
inlinestatic

Definition at line 131 of file MyStructXmlSerializer.cs.

override void VRage.MyStructXmlSerializer< TStruct >.ReadXml ( XmlReader  reader)
inlinevirtual

Implements VRage.MyXmlSerializerBase< TStruct >.

Definition at line 30 of file MyStructXmlSerializer.cs.

Member Data Documentation

FieldInfo VRage.MyStructXmlSerializer< TStruct >.m_defaultValueField
static

Definition at line 20 of file MyStructXmlSerializer.cs.


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