40 #ifndef __OPENFLUID_CORE_EVENT_HPP__ 41 #define __OPENFLUID_CORE_EVENT_HPP__ 46 #include <openfluid/core/TypeDefs.hpp> 69 EventInfosMap_t m_Infos;
94 bool isInfoExist(
const std::string& Key)
const;
101 bool isInfoEqual(
const std::string& Key,
const std::string&
Value)
const;
108 bool isInfoEqual(
const std::string& Key,
long Value)
const;
115 bool isInfoEqual(
const std::string& Key,
const double Value)
const;
130 bool isInfoEqual(
const std::string& Key,
const DoubleValue& Info)
const;
136 {
return m_Infos.size(); }
166 bool getInfoAsString(
const std::string& Key, std::string& Info)
const;
183 bool getInfoAsLong(
const std::string& Key,
long& Info)
const;
201 bool getInfoAsDouble(
const std::string& Key,
double& Info)
const;
209 bool getInfoAsDoubleValue(
const std::string& Key,
DoubleValue& Info)
const;
217 bool addInfo(
const std::string& Key,
const std::string& Info);
222 void println()
const;
SpatialUnit Unit OPENFLUID_DEPRECATED
Definition: SpatialUnit.hpp:304
EventInfosMap_t getInfos() const
Definition: Event.hpp:141
std::map< std::string, openfluid::core::StringValue > EventInfosMap_t
Definition: Event.hpp:63
DateTime getDateTime() const
Definition: Event.hpp:147
Definition: ApplicationException.hpp:47
int getInfosCount() const
Definition: Event.hpp:135
#define OPENFLUID_API
Definition: dllexport.hpp:87
Definition: DoubleValue.hpp:102
Class for management of date and time information.
Definition: DateTime.hpp:132