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,
71 const std::map<std::string, std::string>& attr = std::map<std::string, std::string>());
73 virtual void init(
const std::string& location,
75 const std::map<std::string, std::string>& attr = std::map<std::string, std::string>());
78 virtual bool isDeclared(
const std::string& expr);
81 size_t replaceExpressions(std::string& content);
87 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:61
The facade for data-models.
Definition: DataModel.h:40