20 #ifndef DATAMODELIMPL_H_5A33C087
21 #define DATAMODELIMPL_H_5A33C087
39 class InterpreterImpl;
50 virtual const std::string& getName() = 0;
51 virtual const std::string& getSessionId() = 0;
52 virtual const std::map<std::string, IOProcessor>& getIOProcessors() = 0;
53 virtual bool isInState(
const std::string& stateId) = 0;
55 virtual XERCESC_NS::DOMDocument* getDocument()
const = 0;
57 virtual const std::map<std::string, Invoker>& getInvokers() = 0;
58 virtual Logger getLogger() = 0;
65 virtual std::string provides() = 0;
66 virtual Data invoke(
const std::string& member,
const Data& params) = 0;
67 virtual Data getValueOf(
const std::string& member) = 0;
68 virtual void setValueOf(
const std::string& member,
const Data& data) = 0;
95 virtual std::list<std::string> getNames() = 0;
111 virtual void setEvent(
const Event& event) = 0;
120 size_t replaceExpressions(std::string& content);
127 virtual uint32_t getLength(
const std::string& expr) = 0;
136 virtual void setForeach(
const std::string& item,
137 const std::string& array,
138 const std::string& index,
139 uint32_t iteration) = 0;
146 virtual Data getAsData(
const std::string& content) = 0;
153 virtual Data evalAsData(
const std::string& content) = 0;
161 virtual bool evalAsBool(
const std::string& expr) = 0;
168 virtual bool isDeclared(
const std::string& expr) = 0;
189 virtual void assign(
const std::string& location,
191 const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()) = 0;
202 virtual void init(
const std::string& location,
204 const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()) = 0;
Definition: Breakpoint.cpp:26
virtual ~DataModelCallbacks()
silence virtual destructor warning from swig
Definition: DataModelImpl.h:49
Definition: DataModelImpl.h:61
Abstract base class for all data-model implementations.
Definition: DataModelImpl.h:77
Definition: Breakpoint.h:30
Callbacks available for every data-model.
Definition: DataModelImpl.h:47
virtual bool isValidSyntax(const std::string &expr)
Determine whether a given string constitutes valid syntax in the data-model's language.
Definition: DataModelImpl.h:103