C++
ACDBCORE2D_PORT Acad::ErrorStatus copyFrom( const AcRxObject* pSrc ) override;
Description
Function usage:
Copies the contents of other into the messaged object, whenever feasible.
Function implementation in derived classes:
If implemented, this function needs to be able to read the data in the object pointed to by other and copy any or all data as appropriate into this object.
There is no requirement that the object pointed to by other and this object be of the same class, but that is the generally assumed condition.
Default implementation: Because this function must be overridden to have any meaning, a fatal error will be caused when calling the default implementation.
Parameters
Parameters | Description |
---|---|
other | Input pointer to object to copy from |