Simulation configuration files manager. (See Aqua::InputOutput::State for details)
More...
#include <map>
#include <limits>
#include <vector>
#include <algorithm>
#include <sstream>
#include <filesystem>
#include <system_error>
#include "aquagpusph/sphPrerequisites.hpp"
#include "State.hpp"
#include "Logger.hpp"
#include "aquagpusph/CalcServer/CalcServer.hpp"
#include "aquagpusph/AuxiliarMethods.hpp"
|
| bool | __match (const char *first, const char *second) |
| | Checks if two given strings match.
|
| bool | match (const std::string first, const std::string second) |
| | Wrapper for __match().
|
| static std::string | xmlTranscode (const XMLCh *txt) |
| static XMLCh * | xmlTranscode (std::string txt) |
| static void | xmlClear () |
| static std::vector< unsigned int > | Aqua::InputOutput::_toolsList (std::string list, ProblemSetup &sim_data, std::string prefix) |
| | Helper function to get a list of tool placements from a list of names.
|
| static std::vector< unsigned int > | Aqua::InputOutput::_toolsName (std::string name, ProblemSetup &sim_data, std::string prefix) |
| | Helper function to get a list of tool placements from a wildcard.
|
| static void | Aqua::InputOutput::_toolAttr (ProblemSetup::sphTool *tool, DOMElement *elem, std::string attr, std::string def_val) |
| | Helper function to get and XML attribute for a tool.
|
| static void | Aqua::InputOutput::_toolAttr (ProblemSetup::sphTool *tool, DOMElement *elem, std::string attr) |
| | Helper function to get and XML attribute for a tool.
|
Simulation configuration files manager. (See Aqua::InputOutput::State for details)
◆ xmlAttribute
| #define xmlAttribute |
( |
| elem, |
|
|
| att ) |
Value:
#define xmlS(txt)
Definition State.cpp:125
◆ xmlHasAttribute
| #define xmlHasAttribute |
( |
| elem, |
|
|
| att ) |
Value:elem->hasAttribute(
xmlS(att))
◆ xmlS
Value:
static std::string xmlTranscode(const XMLCh *txt)
Definition State.cpp:95
◆ __match()
| bool __match |
( |
const char * | first, |
|
|
const char * | second ) |
◆ match()
| bool match |
( |
const std::string | first, |
|
|
const std::string | second ) |
Wrapper for __match().
- Parameters
-
| first | First string, which may contain wildcards |
| second | Second string |
- Returns
- true if they match, false otherwise
◆ xmlClear()
◆ xmlTranscode() [1/2]
| std::string xmlTranscode |
( |
const XMLCh * | txt | ) |
|
|
static |
◆ xmlTranscode() [2/2]
| XMLCh * xmlTranscode |
( |
std::string | txt | ) |
|
|
static |
◆ cpp_str
| std::vector<std::string> cpp_str |
|
static |
◆ xml_str
| std::vector<XMLCh*> xml_str |
|
static |