20 #ifndef DATAMODEL_H_F1F776F9
21 #define DATAMODEL_H_F1F776F9
33 class DataModelExtension;
46 virtual std::list<std::string> getNames();
48 virtual bool isValidSyntax(
const std::string& expr);
51 virtual void setEvent(
const Event& event);
54 virtual Data getAsData(
const std::string& content);
56 virtual Data evalAsData(
const std::string& content);
58 virtual bool evalAsBool(
const std::string& expr);
61 virtual uint32_t getLength(
const std::string& expr);
63 virtual void setForeach(
const std::string& item,
64 const std::string& array,
65 const std::string& index,
69 virtual void assign(
const std::string& location,
const Data& data);
71 virtual void init(
const std::string& location,
const Data& data);
74 virtual bool isDeclared(
const std::string& expr);
77 size_t replaceExpressions(std::string& content);
79 std::string andExpressions(std::list<std::string> expressions);
85 std::shared_ptr<DataModelImpl> _impl;
Definition: Breakpoint.cpp:26
#define PIMPL_OPERATORS(type)
The usual operators as required for the PIMPL pattern.
Definition: Common.h:68
Definition: DataModelImpl.h:59
The facade for data-models.
Definition: DataModel.h:40