|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
Functions | |
| static bool | getAttribute (const pugi::xml_node &node, const std::string &attr_name, std::string &dst, Diagnostics &diag) |
| Parser/writer structure: | |
| static bool | setAttribute (pugi::xml_node &node, const std::string &attr_name, const std::string &src, Diagnostics &diag) |
| static bool | getAttribute (const pugi::xml_node &node, const std::string &attr_name, int32_t &dst, Diagnostics &diag) |
| static bool | setAttribute (pugi::xml_node &node, const std::string &attr_name, const int32_t &src, Diagnostics &diag) |
| template<> | |
| bool | parse< std::vector< etiss::fault::Fault > > (pugi::xml_node node, std::vector< etiss::fault::Fault > &dst, Diagnostics &diag) |
| template<> | |
| bool | write< std::vector< etiss::fault::Fault > > (pugi::xml_node node, const std::vector< etiss::fault::Fault > &src, Diagnostics &diag) |
| template<> | |
| bool | parse< std::vector< etiss::fault::FaultRef > > (pugi::xml_node node, std::vector< etiss::fault::FaultRef > &dst, Diagnostics &diag) |
| template<> | |
| bool | write< std::vector< etiss::fault::FaultRef > > (pugi::xml_node node, const std::vector< etiss::fault::FaultRef > &src, Diagnostics &diag) |
|
static |
TODO propper conversion
Definition at line 108 of file Fault.cpp.
References getAttribute().

|
static |
Parser/writer structure:
class and field structure is closely modeled by the xml structure. each class is a node and each field is either a sub node or an attribute. This allows for a simple parsing concept. the template function parse() is implemented for each type that needs to be read and is called recursively for fields of different types. parsed values are written directly into the fields. This requires all fields to be public/accessible e.g.
Definition at line 83 of file Fault.cpp.
Referenced by getAttribute().

| bool etiss::fault::xml::parse< std::vector< etiss::fault::Fault > > | ( | pugi::xml_node | node, |
| std::vector< etiss::fault::Fault > & | dst, | ||
| Diagnostics & | diag | ||
| ) |
Definition at line 125 of file Fault.cpp.
References etiss::log(), and etiss::VERBOSE.

| bool etiss::fault::xml::parse< std::vector< etiss::fault::FaultRef > > | ( | pugi::xml_node | node, |
| std::vector< etiss::fault::FaultRef > & | dst, | ||
| Diagnostics & | diag | ||
| ) |
Definition at line 170 of file Fault.cpp.
References etiss::log(), and etiss::VERBOSE.

|
static |
| bool etiss::fault::xml::write< std::vector< etiss::fault::Fault > > | ( | pugi::xml_node | node, |
| const std::vector< etiss::fault::Fault > & | src, | ||
| Diagnostics & | diag | ||
| ) |
Definition at line 155 of file Fault.cpp.
References etiss::log(), and etiss::VERBOSE.

| bool etiss::fault::xml::write< std::vector< etiss::fault::FaultRef > > | ( | pugi::xml_node | node, |
| const std::vector< etiss::fault::FaultRef > & | src, | ||
| Diagnostics & | diag | ||
| ) |
Definition at line 200 of file Fault.cpp.
References etiss::log(), and etiss::VERBOSE.
