Instance :: Instance - Instance constructor
The instance constructor provides several conversion functions in order to convert different string formats into instance values. When creating an instance by passing a string value, the string type is determined from the string value.
Implementation overview
- Copy instance
Instance :: Instance ( cInstance ) - Create empty instance
Instance :: Instance (  ) - Create instance from string value
Instance :: Instance ( cString ) - - internal feature (not documented)
Instance :: Instance ( cTypeDefinition ) - - internal feature (not documented)
Instance :: Instance ( cTypeDefinition, cString )
Implementation details
-
Copy instance
Instance  :: Instance ( odaba::Instance &cInstance )
The function duplicates the string value and the type definition from the typed string passed in cInstance . When the type definition is valid, the string will be converted into an internal instance.
- cInstance
- Instance
The instance is passed as String, which is structured as ESDF data (object interchange format).
to list
- cInstance
- Instance
- to list
-
Create instance from string value
Instance  :: Instance ( odaba::String &cString )
The function creates an instance from the string passed in cString . The string is copied to the instance. The string value is not validated when creating the type string, but will be validated later on, when applying to a complex data type.
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
to list
- cString
- Constant string object
-
- internal feature (not documented)
Instance  :: Instance ( odaba::TypeDefinition &cTypeDefinition )
- cTypeDefinition
- Type definition
Type definition refers to a type descriptor for a complex data type (structure), view or enumeration.
to list
- cTypeDefinition
- Type definition
-
- internal feature (not documented)
Instance  :: Instance ( odaba::TypeDefinition &cTypeDefinition, odaba::String &cString )
- cTypeDefinition
- Type definition
Type definition refers to a type descriptor for a complex data type (structure), view or enumeration.
- cString
- Constant string object
When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).
to list
- cTypeDefinition
- Type definition