Dev Essential
Loading...
Searching...
No Matches
datamodel_base.h File Reference
#include <ddl/utilities/ddl_error.h>
#include <ddl/utilities/access_observer.h>
#include <string>
#include <unordered_map>
Include dependency graph for datamodel_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ddl
 definition of the ddl namespace
 
namespace  ddl::dd
 definition of the dd namespace
 
namespace  ddl::dd::datamodel
 definition of the datamodel namespace
 

Typedefs

template<typename TYPE>
using ddl::dd::datamodel::ModelSubject = utility::ModelSubjectUtility<TYPE, ModelEventCode>
 Subject template class that is observable.
 
template<typename TYPE>
using ddl::dd::datamodel::ModelObserver = utility::ModelObserverUtility<TYPE, ModelEventCode>
 Observer template class that observe the TYPE.
 

Enumerations

enum  ddl::dd::datamodel::ModelEventCode {
  ddl::dd::datamodel::item_changed , ddl::dd::datamodel::item_removed , ddl::dd::datamodel::item_added , ddl::dd::datamodel::item_renamed ,
  ddl::dd::datamodel::subitem_added , ddl::dd::datamodel::subitem_removed , ddl::dd::datamodel::subitem_changed , ddl::dd::datamodel::subitem_renamed ,
  ddl::dd::datamodel::subitem_popped , ddl::dd::datamodel::subitem_inserted , ddl::dd::datamodel::subitem_removing , ddl::dd::datamodel::item_renaming ,
  ddl::dd::datamodel::subitem_renaming
}
 Model event code for the data model observer. More...
 

Detailed Description

OO DataDefinition Redesign - Data model Observer - Subject pattern.