company logo

Value :: toKey - Convert value into key

The function converts a value with a complex data type in to a key. The key format depends on the type set in the key object passed to the function in rKey.

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.

Return value:  Key value ( odaba::Key & )

A key value is the key definition and a value for the key. The key value is typically provided in ESDF format. Other formats might be set (OIF, XML)

Implementation details

odaba::Key & Value  :: toKey ( odaba::Key &rKey )
  • rKey - Key value

    A key value is the key definition and a value for the key. The key value is typically provided in ESDF format. Other formats might be set (OIF, XML)