#include <model_common_interface.hpp>
Abstract class of the interface shared across table and tree models
Definition at line 133 of file model_common_interface.hpp.
◆ ~model_common_interface()
virtual dbe::model_common_interface::~model_common_interface |
( |
| ) |
|
|
virtualdefault |
◆ create_contained_object()
virtual void dbe::model_common_interface::create_contained_object |
( |
type_index const & | index, |
|
|
type_object_info const & | obj ) |
|
protectedpure virtual |
Cause model to create information about a new object that should be included in this object
- Parameters
-
index | where the new object should be included |
obj | is the information reference to the new object |
◆ getuuid()
QUuid dbe::model_common_interface::getuuid |
( |
| ) |
const |
|
protected |
◆ lookup()
virtual type_index dbe::model_common_interface::lookup |
( |
type_object_info const & | | ) |
|
|
protectedpure virtual |
Lookup an object and retrieve its matching model index
- Parameters
-
the | object description to be removed |
- Returns
- the model index linked to a matching configobject
◆ remove_deleted_object()
virtual void dbe::model_common_interface::remove_deleted_object |
( |
type_index const & | index | ) |
|
|
protectedpure virtual |
Remove model information related to an object deleted from the database
- Parameters
-
is | the index of the object that needs to be removed |
◆ rename_contained_object()
virtual void dbe::model_common_interface::rename_contained_object |
( |
type_index const & | index, |
|
|
type_object_info const & | obj ) |
|
protectedpure virtual |
Cause model information related to a specific object to be updated after an object has been renamed in the database .
- Parameters
-
index | is the current index of the object to be renamed |
obj | is the object information reference which permits to retrieve the new name |
◆ update_contained_object()
virtual void dbe::model_common_interface::update_contained_object |
( |
type_index const & | index, |
|
|
type_object_info const & | obj ) |
|
protectedpure virtual |
Cause model to update information about an object in the given index
- Parameters
-
index | is the current index of the object in the model |
obj | is the information reference to the object that contains the updated information |
◆ model_common_slots
The documentation for this class was generated from the following file: