![]() |
Heart 1.4.984.b4712811
Heart is base back end library for your c++ Qt projects.
|
The SoftDelete class povide the soft delete functionality. All child classes of this class must be deleted using the softDelete method for preparring for delete. IF you delete object without prepare then distructor invoke the abort function in debug mode. For release mode distructor print error message only. More...
#include <softdelete.h>


Public Member Functions | |
| SoftDelete () | |
| virtual | ~SoftDelete () |
| ~SoftDelete This distructor has bin crashed if the softDelete method not will be invoked before delete this object. IF you try delete this object on release distribution then you get error message only without invoked std::abort method. | |
| void | softDelete () |
| softDelete This method remove this object and save all changes into database. | |
Protected Member Functions | |
| virtual void | prepareForDelete ()=0 |
| prepareForDelete This method must be prepare object for delete. Override this for working main functions of this class. For more information see the SoftDelete class and SoftDelete::~SoftDelete distructor. | |
The SoftDelete class povide the soft delete functionality. All child classes of this class must be deleted using the softDelete method for preparring for delete. IF you delete object without prepare then distructor invoke the abort function in debug mode. For release mode distructor print error message only.
Definition at line 20 of file softdelete.h.
|
default |


|
virtual |
~SoftDelete This distructor has bin crashed if the softDelete method not will be invoked before delete this object. IF you try delete this object on release distribution then you get error message only without invoked std::abort method.
Definition at line 13 of file softdelete.cpp.
|
protectedpure virtual |
prepareForDelete This method must be prepare object for delete. Override this for working main functions of this class. For more information see the SoftDelete class and SoftDelete::~SoftDelete distructor.
Implemented in QH::AbstractNode, and QH::ISqlDB.

| void QH::SoftDelete::softDelete | ( | ) |
softDelete This method remove this object and save all changes into database.
Definition at line 28 of file softdelete.cpp.

