40 #ifndef __OPENFLUID_CORE_EVENT_HPP__
41 #define __OPENFLUID_CORE_EVENT_HPP__
46 #include <openfluid/core/TypeDefs.hpp>
50 namespace openfluid {
namespace core {
93 bool isInfoExist(
const std::string& Key)
const;
100 bool isInfoEqual(
const std::string& Key,
const std::string&
Value)
const;
107 bool isInfoEqual(
const std::string& Key,
long Value)
const;
114 bool isInfoEqual(
const std::string& Key,
const double Value)
const;
129 bool isInfoEqual(
const std::string& Key,
const DoubleValue& Info)
const;
135 {
return m_Infos.size(); }
165 bool getInfoAsString(
const std::string& Key, std::string& Info)
const;
182 bool getInfoAsLong(
const std::string& Key,
long& Info)
const;
200 bool getInfoAsDouble(
const std::string& Key,
double& Info)
const;
208 bool getInfoAsDoubleValue(
const std::string& Key,
DoubleValue& Info)
const;
216 bool addInfo(
const std::string& Key,
const std::string& Info);
221 void println()
const;
Class for management of date and time information.
Definition: DateTime.hpp:132
EventInfosMap_t getInfos() const
Definition: Event.hpp:140
SpatialUnit Unit OPENFLUID_DEPRECATED
Definition: SpatialUnit.hpp:287
Definition: DoubleValue.hpp:102
DateTime getDateTime() const
Definition: Event.hpp:146
std::map< std::string, openfluid::core::StringValue > EventInfosMap_t
Definition: Event.hpp:62
#define OPENFLUID_API
Definition: dllexport.hpp:87
int getInfosCount() const
Definition: Event.hpp:134