company logo

Value :: toHex - Convert to hexadecimal value

The function returns the property value as hexadecimal String value. When the property is not an integer value the value is converted into a string value which contains the string in hexadecimal format (two bytes for each character).

When no instance is selected or the value cannot be converted into a numeric value, the function throws an exception.

Return value:  String value ( odaba::String & )

Implementation overview

Implementation details

  1. Get hexadecimal value from current value
    odaba::String Value  :: toHex (  )

    The function returns the hexadecimal value from current value handle. When no value is selected, the function tries to locate the first instance.

  2. to list
  3. Get string for passed property
    odaba::String Value  :: toHex ( odaba::String &vSimplePath )

    The function returns the hexadecimal value for the propertywith the name passed in vSimplePath. When no property exists with the passed name the function throws an exception.

    This is a short form for value(vSimplePath).toString().

    • vSimplePath - Simple property path

      A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.

  4. to list