40 #ifndef __OPENFLUID_CORE_EVENT_HPP__ 41 #define __OPENFLUID_CORE_EVENT_HPP__ 45 #include <openfluid/core/TypeDefs.hpp> 70 EventInfosMap_t m_Infos;
95 bool isInfoExist(
const std::string& Key)
const;
102 bool isInfoEqual(
const std::string& Key,
const std::string&
Value)
const;
109 bool isInfoEqual(
const std::string& Key,
long Value)
const;
116 bool isInfoEqual(
const std::string& Key,
const double Value)
const;
124 [[deprecated]]
bool isInfoEqual(
const std::string& Key,
const double* Info)
const;
131 bool isInfoEqual(
const std::string& Key,
const DoubleValue& Info)
const;
138 return m_Infos.size();
165 [[deprecated]]
bool getInfoAsString(
const std::string& Key, std::string *Info)
const;
173 bool getInfoAsString(
const std::string& Key, std::string& Info)
const;
182 [[deprecated]]
bool getInfoAsLong(
const std::string& Key,
long *Info)
const;
190 bool getInfoAsLong(
const std::string& Key,
long& Info)
const;
200 [[deprecated]]
bool getInfoAsDouble(
const std::string& Key,
double *Info)
const;
208 bool getInfoAsDouble(
const std::string& Key,
double& Info)
const;
216 bool getInfoAsDoubleValue(
const std::string& Key,
DoubleValue& Info)
const;
224 bool addInfo(
const std::string& Key,
const std::string& Info);
229 void println()
const;
Class for management of date and time information.
Definition: DateTime.hpp:116
int getInfosCount() const
Definition: Event.hpp:136
DateTime getDateTime() const
Definition: Event.hpp:152
std::map< std::string, openfluid::core::StringValue > EventInfosMap_t
Definition: Event.hpp:63
Definition: ApplicationException.hpp:47
Definition: DoubleValue.hpp:102
EventInfosMap_t getInfos() const
Definition: Event.hpp:144
#define OPENFLUID_API
Definition: dllexport.hpp:86