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

IG::Lib::VarTypeBase Class Reference

DO NOT USE! The base class implementing the IVarType interface. More...

Inheritance diagram for IG::Lib::VarTypeBase:
Collaboration diagram for IG::Lib::VarTypeBase:

List of all members.

Public Member Functions

virtual object FromXmlElement (XmlElement source, ref object initial)
 Creates a new object and initializes it from an XML element.
virtual XmlElement ToXmlElement (object source, XmlDocument doc, ref XmlElement initial)
 Creates and returns XML representation of an object.
string ConvertToString (object source, string format)
object ParseFromString (string source, string format, int position, out int next)

Properties

virtual string TypeName [get]
 Gets the standard name of the type.
virtual string[] TypeNames [get]

Detailed Description

DO NOT USE! The base class implementing the IVarType interface.


Member Function Documentation

virtual object IG::Lib::VarTypeBase::FromXmlElement ( XmlElement  source,
ref object  initial 
) [inline, virtual]

Creates a new object and initializes it from an XML element.

Parameters:
sourceXML elmeent containing contents of the object.
initialEventual existing object that can be used as storage storing the returnet object. The function is not obliged to use this object.
Returns:
Object created and/or initialized from XML.

Implements IG::Lib::IFromXml.

virtual XmlElement IG::Lib::VarTypeBase::ToXmlElement ( object  source,
XmlDocument  doc,
ref XmlElement  initial 
) [inline, virtual]

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.

Implements IG::Lib::IToXml.

string IG::Lib::VarTypeBase::ConvertToString ( object  source,
string  format 
) [inline]
object IG::Lib::VarTypeBase::ParseFromString ( string  source,
string  format,
int  position,
out int  next 
) [inline]

Property Documentation

virtual string IG::Lib::VarTypeBase::TypeName [get]

Gets the standard name of the type.

Implements IG::Lib::ITypeName.

Reimplemented in IG::Lib::CounterVar, and IG::Lib::ScalarVar.

virtual string [] IG::Lib::VarTypeBase::TypeNames [get]

Implements IG::Lib::ITypeName.

Reimplemented in IG::Lib::CounterVar, and IG::Lib::ScalarVar.


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