1 #ifndef __DIADES__IO__XML__AUTOMATA__AUTOMATA__HH__ 2 #define __DIADES__IO__XML__AUTOMATA__AUTOMATA__HH__ 15 #include"boost/date_time/posix_time/posix_time.hpp" 34 boost::posix_time::time_duration
operator()(
const TiXmlElement * pElem)
const 36 std::stringstream stream;
37 stream << pElem->GetText();
39 stream >> totalSeconds;
40 return boost::posix_time::time_duration(boost::posix_time::seconds(totalSeconds));
Event getEvent(Event::Id id)
boost::posix_time::time_duration operator()(const TiXmlElement *pElem) const
Namespace of the Diades project.
static EventFactory * factory()
Diades::Automata::Event operator()(const TiXmlElement *pElem) const