|
AssignArray
Compares the array with another one.
bool AssignArray(
|
Parameters
src
[in] Pointer to an instance of the CArrayObj class used as a source of elements to copy.
Return Value
true - successful, false - cannot copy the elements.
Note
If the receiver array is not empty when calling AssignArray, then all its elements will be removed; and if the memory management flag is set, the memory used for the deleted elements will be released. The receiver array becomes an exact copy of the source one. Additionally, see CArrayObj::AddArray(const CArrayObj*).
Example:
//--- example for CArrayObj::AssignArray(const CArrayObj*)
|