40 #ifndef __OPENFLUID_CORE_EVENT_HPP__ 41 #define __OPENFLUID_CORE_EVENT_HPP__ 45 #include <openfluid/core/TypeDefs.hpp> 79 EventInfosMap_t m_Infos;
104 bool isInfoExist(
const std::string& Key)
const;
111 bool isInfoEqual(
const std::string& Key,
const std::string&
Value)
const;
118 bool isInfoEqual(
const std::string& Key,
long Value)
const;
125 bool isInfoEqual(
const std::string& Key,
const double Value)
const;
133 [[deprecated]]
bool isInfoEqual(
const std::string& Key,
const double* Info)
const;
140 bool isInfoEqual(
const std::string& Key,
const DoubleValue& Info)
const;
147 return m_Infos.size();
174 [[deprecated]]
bool getInfoAsString(
const std::string& Key, std::string *Info)
const;
182 bool getInfoAsString(
const std::string& Key, std::string& Info)
const;
191 [[deprecated]]
bool getInfoAsLong(
const std::string& Key,
long *Info)
const;
199 bool getInfoAsLong(
const std::string& Key,
long& Info)
const;
209 [[deprecated]]
bool getInfoAsDouble(
const std::string& Key,
double *Info)
const;
217 bool getInfoAsDouble(
const std::string& Key,
double& Info)
const;
225 bool getInfoAsDoubleValue(
const std::string& Key,
DoubleValue& Info)
const;
233 bool addInfo(
const std::string& Key,
const std::string& Info);
238 void println()
const;
Definition: ApplicationException.hpp:47
Definition: DoubleValue.hpp:80
int getInfosCount() const
Definition: Event.hpp:145
std::map< std::string, openfluid::core::StringValue > EventInfosMap_t
Definition: Event.hpp:72
DateTime getDateTime() const
Definition: Event.hpp:161
#define OPENFLUID_API
Definition: dllexport.hpp:86
Class for management of date and time information.
Definition: DateTime.hpp:87
EventInfosMap_t getInfos() const
Definition: Event.hpp:153