schema progress (does not compile)
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
* @param node The attached repository_node
|
||||
* @param prototype The prototype object of the attached node
|
||||
*/
|
||||
virtual void on_attach(repository_node &node, const Type &prototype) = 0;
|
||||
virtual void on_attach(const repository_node &node, const Type &prototype) const = 0;
|
||||
|
||||
/**
|
||||
* @brief Called on repository_node detached
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
* @param node The to be detached repository_node
|
||||
* @param prototype The prototype object of the detached node
|
||||
*/
|
||||
virtual void on_detach(repository_node &node, const Type &prototype) = 0;
|
||||
virtual void on_detach(const repository_node &node, const Type &prototype) const = 0;
|
||||
|
||||
/**
|
||||
* @brief Called on object insertion.
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
*
|
||||
* @param obj The proxy of the inserted object.
|
||||
*/
|
||||
virtual void on_insert(Type &obj) = 0;
|
||||
virtual void on_insert(const Type &obj) = 0;
|
||||
|
||||
/**
|
||||
* @brief Called on object update.
|
||||
@@ -94,7 +94,7 @@ public:
|
||||
*
|
||||
* @param obj The proxy of the updated object.
|
||||
*/
|
||||
virtual void on_update(Type &obj) = 0;
|
||||
virtual void on_update(const Type &obj) = 0;
|
||||
|
||||
/**
|
||||
* @brief Called on object deletion.
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
*
|
||||
* @param obj The proxy of the deleted object.
|
||||
*/
|
||||
virtual void on_delete(Type &obj) = 0;
|
||||
virtual void on_delete(const Type &obj) = 0;
|
||||
};
|
||||
|
||||
namespace internal {
|
||||
|
||||
Reference in New Issue
Block a user