Space Engineers
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
VRage.MyXmlSerializerBase< TAbstractBase > Class Template Referenceabstract

Xml serializer base class with custom root element reader/writer caching More...

Inheritance diagram for VRage.MyXmlSerializerBase< TAbstractBase >:
VRage.IMyXmlSerializable VRage.MyAbstractXmlSerializer< TAbstractBase >

Public Member Functions

XmlSchema GetSchema ()
 
abstract void ReadXml (XmlReader reader)
 
void WriteXml (XmlWriter writer)
 

Static Public Member Functions

static implicit operator TAbstractBase (MyXmlSerializerBase< TAbstractBase > o)
 

Protected Member Functions

object Deserialize (XmlReader reader, XmlSerializer serializer, string customRootName)
 

Protected Attributes

TAbstractBase m_data
 

Properties

static MyObjectsPool< CustomRootReaderReaderPool [get]
 
static MyObjectsPool< CustomRootWriterWriterPool [get]
 
TAbstractBase Data [get]
 
- Properties inherited from VRage.IMyXmlSerializable
object Data [get]
 

Detailed Description

Xml serializer base class with custom root element reader/writer caching

Template Parameters
TAbstractBase

Definition at line 17 of file MyAbstractXmlSerializer.cs.

Member Function Documentation

object VRage.MyXmlSerializerBase< TAbstractBase >.Deserialize ( XmlReader  reader,
XmlSerializer  serializer,
string  customRootName 
)
inlineprotected

Definition at line 68 of file MyAbstractXmlSerializer.cs.

XmlSchema VRage.MyXmlSerializerBase< TAbstractBase >.GetSchema ( )
inline

Definition at line 61 of file MyAbstractXmlSerializer.cs.

static implicit VRage.MyXmlSerializerBase< TAbstractBase >.operator TAbstractBase ( MyXmlSerializerBase< TAbstractBase >  o)
inlinestatic

Definition at line 49 of file MyAbstractXmlSerializer.cs.

abstract void VRage.MyXmlSerializerBase< TAbstractBase >.ReadXml ( XmlReader  reader)
pure virtual
void VRage.MyXmlSerializerBase< TAbstractBase >.WriteXml ( XmlWriter  writer)
inline

Definition at line 82 of file MyAbstractXmlSerializer.cs.

Member Data Documentation

TAbstractBase VRage.MyXmlSerializerBase< TAbstractBase >.m_data
protected

Definition at line 45 of file MyAbstractXmlSerializer.cs.

Property Documentation

TAbstractBase VRage.MyXmlSerializerBase< TAbstractBase >.Data
get

Definition at line 55 of file MyAbstractXmlSerializer.cs.

MyObjectsPool<CustomRootReader> VRage.MyXmlSerializerBase< TAbstractBase >.ReaderPool
staticgetprotected

Definition at line 22 of file MyAbstractXmlSerializer.cs.

MyObjectsPool<CustomRootWriter> VRage.MyXmlSerializerBase< TAbstractBase >.WriterPool
staticgetprotected

Definition at line 35 of file MyAbstractXmlSerializer.cs.


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