Commit f4020de3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Updated documentation of perObject Data

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15221 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bf408924
......@@ -82,19 +82,16 @@ class DLLEXPORT PerObjectData {
/// You have to provide your own constructor for your object
PerObjectData();
/** \brief Copy Constructor
* You have to reimplement this copy constructor for your object to get copied by the core. Otherwise,
* per Object data will not be copied when the core creates a copy of your object.
*
* If you reimplemented the function, set copyOk_ at the end of the function.
*/
virtual ~PerObjectData();
/** \brief Copy Function
* You have to reimplement this function to create a copy of your Object.
*
* You have to reimplement this function to allow the core to create a copies of your Object.
* By default it will return 0;
*
* The function has to create a deep copy of the object, as it will also be used to create backups.
* If you use pointer inside your class, remember to not copy the pointer only but also the data!
*
*/
virtual PerObjectData* copyPerObjectData( );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment