IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
DO NOT USE! The base class implementing the IVarType interface. More...
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] |
DO NOT USE! The base class implementing the IVarType interface.
virtual object IG::Lib::VarTypeBase::FromXmlElement | ( | XmlElement | source, |
ref object | initial | ||
) | [inline, virtual] |
Creates a new object and initializes it from an XML element.
source | XML elmeent containing contents of the object. |
initial | Eventual existing object that can be used as storage storing the returnet object. The function is not obliged to use this object. |
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.
source | Object to be converted to XML. |
doc | XML document used for eventual creation of an XML element. |
initial | XML 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). |
Implements IG::Lib::IToXml.
string IG::Lib::VarTypeBase::ConvertToString | ( | object | source, |
string | format | ||
) | [inline] |
Implements IG::Lib::IStringParsable.
object IG::Lib::VarTypeBase::ParseFromString | ( | string | source, |
string | format, | ||
int | position, | ||
out int | next | ||
) | [inline] |
Implements IG::Lib::IStringParsable.
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.