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
- Create copy for OSI string
OSIString :: operator= ( cOSIString ) - Create OSIString from String
OSIString :: operator= ( cString )
Implementation details
-
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.
to list
- cOSIString
- OSI string
-
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).
to list
- cString
- Constant string object