company logo

OSIString :: operator= - Assign OSI string

OSI strings can be assigned by using different string objects. The string passed must contain an OSI expression or operation path.

In an environment not supporting operator overloading, use the assign() function instead.

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

The string should contains a valid OSI expression or operation path.

Implementation overview

Implementation details

  1. Create copy for OSI string
    odaba::OSIString & OSIString  :: operator= ( odaba::OSIString &cOSIString )

    The function creates a copy for the OSIString passed in cOSIString-

    • cOSIString - OSI string

      The string should contains a valid OSI expression or operation path.

  2. to list
  3. Create OSIString from String
    odaba::OSIString & OSIString  :: operator= ( odaba::String &cString )

    The string passed in cString is copied to the OSIString. The string must contain a valid OSI expression.

    • cString - Constant string object

      When iPosition exceeds the string length or when the string is empty, the the function returns -1 (lower).

  4. to list