company logo

Value :: toInstance - Convert value into instance

The function converts a value with a complex data type into an instance. The instance format depends on the type set in the instance object passed to the function in rInstance.

When type definitions for key and value are different, attributes of the complex data type are copied by name, i.e. only those attributes are copied, which are member of both type definitions.

Note, that only attributes are converted by this function. However references defined text (MEMO) and binary data (BLOB) are handled as attributes and cannot be accessed via odaba::Instance.

Return value:  Instance ( odaba::Instance & )

The instance is passed as String, which is structured as ESDF data (object interchange format).

Implementation details

odaba::Instance & Value  :: toInstance ( odaba::Instance &rInstance )
  • rInstance - Instance

    The instance is passed as String, which is structured as ESDF data (object interchange format).