AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
State.cpp File Reference

Simulation configuration files manager. (See Aqua::InputOutput::State for details) More...

#include <fnmatch.h>
#include <map>
#include <limits>
#include <vector>
#include <algorithm>
#include <sphPrerequisites.h>
#include <InputOutput/State.h>
#include <InputOutput/Logger.h>
#include <CalcServer.h>
#include <AuxiliarMethods.h>
Include dependency graph for State.cpp:

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
 
namespace  Aqua::InputOutput
 Input/Output data interfaces.
 

Macros

#define xmlS(txt)   xmlTranscode(txt)
 
#define xmlAttribute(elem, att)   xmlS(elem->getAttribute(xmlS(att)))
 
#define xmlHasAttribute(elem, att)   elem->hasAttribute(xmlS(att))
 

Functions

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.
 

Variables

static std::vector< std::string > cpp_str
 
static std::vector< XMLCh * > xml_str
 
static std::vector< unsigned int > Aqua::InputOutput::_tool_places
 Helper storage for the functions _toolsList() and _toolsName()
 

Detailed Description

Simulation configuration files manager. (See Aqua::InputOutput::State for details)

Macro Definition Documentation

◆ xmlAttribute

#define xmlAttribute (   elem,
  att 
)    xmlS(elem->getAttribute(xmlS(att)))

◆ xmlHasAttribute

#define xmlHasAttribute (   elem,
  att 
)    elem->hasAttribute(xmlS(att))

◆ xmlS

#define xmlS (   txt)    xmlTranscode(txt)

Function Documentation

◆ xmlClear()

static void xmlClear ( )
static

◆ xmlTranscode() [1/2]

static std::string xmlTranscode ( const XMLCh *  txt)
static

◆ xmlTranscode() [2/2]

static XMLCh * xmlTranscode ( std::string  txt)
static

Variable Documentation

◆ cpp_str

std::vector<std::string> cpp_str
static

◆ xml_str

std::vector<XMLCh*> xml_str
static