XmlClassRegistry Class

Definition

Line 42 of System.Xml.Serialization/XmlClassRegistry.cm

Constructors & Destructor

static XmlClassRegistry()
private nothrow XmlClassRegistry()

Member Functions

public void* Create(int classId)
public XmlSerializable CreateXmlSerializable(int classId)
public static XmlClassRegistry& Instance()
public void Register(int classId, FactoryFunction factoryFunction, XmlSerializableExtractor* extractor)

Member Variables

private Map<int, XmlSerializableExtractor*, Less<int>> extractorMap
private List<UniquePtr<XmlSerializableExtractor>> extractors
private Map<int, FactoryFunction, Less<int>> factoryMap
private static UniquePtr<XmlClassRegistry> instance

Constructor& Destructor Details

XmlClassRegistry Static Constructor

static XmlClassRegistry()

Definition
Line 44 of System.Xml.Serialization/XmlClassRegistry.cm


XmlClassRegistry Constructor

private nothrow XmlClassRegistry()

Definition
Line 51 of System.Xml.Serialization/XmlClassRegistry.cm


Member Function Details

Create Member Function

public void* Create(int classId)

Definition
Line 77 of System.Xml.Serialization/XmlClassRegistry.cm


CreateXmlSerializable Member Function

public XmlSerializable CreateXmlSerializable(int classId)

Definition
Line 63 of System.Xml.Serialization/XmlClassRegistry.cm


Instance Static Member Function

public static XmlClassRegistry& Instance()

Definition
Line 47 of System.Xml.Serialization/XmlClassRegistry.cm


Register Member Function

public void Register(int classId, FactoryFunction factoryFunction, XmlSerializableExtractor* extractor)

Definition
Line 54 of System.Xml.Serialization/XmlClassRegistry.cm