DiaDes
0.1
DIAgnosisofDiscrete-EventSystem
|
Classes | |
struct | TinyXmlTag |
struct | XmlGetFunctor |
struct | XmlGetFunctor< boost::posix_time::time_duration > |
struct | XmlGetFunctor< Diades::Automata::Event > |
struct | XmlLoadFunctor |
struct | XmlLoadFunctor< pair< XmlLoadableType1, XmlLoadableType2 > > |
Functions | |
template<typename InputIterator1 , typename InputIterator2 > | |
void | saveXmlSimulation (InputIterator1 simFirst1, InputIterator1 simEnd1, InputIterator2 obsFirst2, InputIterator2 obsEnd2, const std::string &file) |
template<typename InputIterator0 , typename InputIterator1 , typename InputIterator2 > | |
void | saveXmlSimulation (InputIterator0 faultBegin, InputIterator0 faultEnd, InputIterator1 simFirst1, InputIterator1 simEnd1, InputIterator2 obsFirst2, InputIterator2 obsEnd2, const std::string &file) |
template<typename OutputIterator1 , typename OutputIterator2 > | |
void | loadXmlSimulation (const std::string &file, OutputIterator1 simulation, OutputIterator2 observations) |
template<typename OutputIterator0 , typename OutputIterator1 , typename OutputIterator2 > | |
void | loadXmlSimulation (const std::string &file, OutputIterator0 faults, OutputIterator1 simulation, OutputIterator2 observations) |
std::string | tinyXmlTag (const boost::posix_time::time_duration &t) |
std::string | tinyXmlTag (const Diades::Automata::Event &e) |
std::string | tinyXmlTag (const std::pair< boost::posix_time::time_duration, Diades::Automata::Event > &p) |
std::string | tinyXmlText (const boost::posix_time::time_duration &t) |
std::string | tinyXmlText (const Diades::Automata::Event &e) |
template<typename AttributeType > | |
int | queryAttribute (const TiXmlElement *pElem, const string &name, AttributeType *returnedType) |
template<> | |
int | queryAttribute (const TiXmlElement *pElem, const string &name, int *returnedType) |
template<> | |
int | queryAttribute (const TiXmlElement *pElem, const string &name, double *returnedType) |
template<> | |
int | queryAttribute (const TiXmlElement *pElem, const string &name, float *returnedType) |
template<> | |
int | queryAttribute (const TiXmlElement *pElem, const string &name, string *returnedType) |
template<typename Type > | |
Type | getAttribute (const TiXmlElement *pElem, const string &name) |
template<typename XmlLoadableType > | |
string | tinyXmlTag (const XmlLoadableType &type) |
template<typename Object > | |
TiXmlElement * | getXml (const Object &obj, const string &tag) |
template<typename T1 , typename T2 > | |
TiXmlElement * | getXml (const pair< T1, T2 > &p, const string &tag) |
template<typename InputIterator > | |
void | saveXml (InputIterator first, InputIterator last, const string &tag, TiXmlElement *element) |
template<typename OutputIterator > | |
void | loadXmlElement (const TiXmlElement *pElem, OutputIterator result) |
template<typename OutputIterator > | |
void | loadXmlElements (const TiXmlElement *pElem, OutputIterator result) |
Type Diades::Io::Xml::getAttribute | ( | const TiXmlElement * | pElem, |
const string & | name | ||
) |
Definition at line 67 of file Xml.hh.
References queryAttribute(), and tinyXmlTag().
TiXmlElement* Diades::Io::Xml::getXml | ( | const Object & | obj, |
const string & | tag | ||
) |
Definition at line 110 of file Xml.hh.
References tinyXmlTag(), and tinyXmlText().
Referenced by saveXml().
TiXmlElement* Diades::Io::Xml::getXml | ( | const pair< T1, T2 > & | p, |
const string & | tag | ||
) |
Definition at line 122 of file Xml.hh.
References tinyXmlTag(), and tinyXmlText().
void Diades::Io::Xml::loadXmlElement | ( | const TiXmlElement * | pElem, |
OutputIterator | result | ||
) |
Definition at line 210 of file Xml.hh.
Referenced by loadXmlElements().
void Diades::Io::Xml::loadXmlElements | ( | const TiXmlElement * | pElem, |
OutputIterator | result | ||
) |
Definition at line 220 of file Xml.hh.
References loadXmlElement().
Referenced by loadXmlSimulation().
void Diades::Io::Xml::loadXmlSimulation | ( | const std::string & | file, |
OutputIterator1 | simulation, | ||
OutputIterator2 | observations | ||
) |
Definition at line 90 of file Simulation.hh.
References loadXmlElements().
void Diades::Io::Xml::loadXmlSimulation | ( | const std::string & | file, |
OutputIterator0 | faults, | ||
OutputIterator1 | simulation, | ||
OutputIterator2 | observations | ||
) |
Definition at line 122 of file Simulation.hh.
References loadXmlElements().
int Diades::Io::Xml::queryAttribute | ( | const TiXmlElement * | pElem, |
const string & | name, | ||
AttributeType * | returnedType | ||
) |
Definition at line 31 of file Xml.hh.
Referenced by getAttribute().
int Diades::Io::Xml::queryAttribute | ( | const TiXmlElement * | pElem, |
const string & | name, | ||
int * | returnedType | ||
) |
int Diades::Io::Xml::queryAttribute | ( | const TiXmlElement * | pElem, |
const string & | name, | ||
double * | returnedType | ||
) |
int Diades::Io::Xml::queryAttribute | ( | const TiXmlElement * | pElem, |
const string & | name, | ||
float * | returnedType | ||
) |
int Diades::Io::Xml::queryAttribute | ( | const TiXmlElement * | pElem, |
const string & | name, | ||
string * | returnedType | ||
) |
void Diades::Io::Xml::saveXml | ( | InputIterator | first, |
InputIterator | last, | ||
const string & | tag, | ||
TiXmlElement * | element | ||
) |
void Diades::Io::Xml::saveXmlSimulation | ( | InputIterator1 | simFirst1, |
InputIterator1 | simEnd1, | ||
InputIterator2 | obsFirst2, | ||
InputIterator2 | obsEnd2, | ||
const std::string & | file | ||
) |
Definition at line 20 of file Simulation.hh.
References saveXml().
void Diades::Io::Xml::saveXmlSimulation | ( | InputIterator0 | faultBegin, |
InputIterator0 | faultEnd, | ||
InputIterator1 | simFirst1, | ||
InputIterator1 | simEnd1, | ||
InputIterator2 | obsFirst2, | ||
InputIterator2 | obsEnd2, | ||
const std::string & | file | ||
) |
Definition at line 48 of file Simulation.hh.
References saveXml(), tinyXmlTag(), and tinyXmlText().
|
inline |
Definition at line 18 of file Tags.hh.
Referenced by getAttribute(), getXml(), Diades::Io::Xml::TinyXmlTag< XmlLoadableType >::operator()(), Diades::Io::Xml::XmlLoadFunctor< pair< XmlLoadableType1, XmlLoadableType2 > >::operator()(), and saveXmlSimulation().
|
inline |
|
inline |
string Diades::Io::Xml::tinyXmlTag | ( | const XmlLoadableType & | type | ) |
|
inline |
Definition at line 41 of file Tags.hh.
Referenced by getXml(), and saveXmlSimulation().
|
inline |
Definition at line 52 of file Tags.hh.
References Diades::Automata::Event::label().