IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Lib::IToXml Interface Reference

Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization. More...

Inheritance diagram for IG::Lib::IToXml:
Collaboration diagram for IG::Lib::IToXml:

List of all members.

Public Member Functions

XmlElement ToXmlElement (object source, XmlDocument doc, ref XmlElement initial)
 Creates and returns XML representation of an object.

Detailed Description

Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization.


Member Function Documentation

XmlElement IG::Lib::IToXml::ToXmlElement ( object  source,
XmlDocument  doc,
ref XmlElement  initial 
)

Creates and returns XML representation of an object.

Parameters:
sourceObject to be converted to XML.
docXML document used for eventual creation of an XML element.
initialXML element on which contents of source can be stored. Function is not obliged to use it (e.g. it can always return a newly created object - this is left to implementation).
Returns:
XML element, an XML representation of the object.

Implemented in IG::Lib::VarTypeBase.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events