company logo

Value :: toString - Convert to string value

The function returns the property value as String value. When the property is not a text property the property value is converted into a string value. Large binary fields (BLOB) are converted to Base64 strings.

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 string value from current value
    odaba::String Value  :: toString (  )

    The function returns the string 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  :: toString ( odaba::String &vSimplePath )

    The function returns the string 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