OGS
|
Definition in file ConfigTreeUtil.cpp.
#include "ConfigTreeUtil.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <spdlog/spdlog.h>
#include <xml_patch.h>
#include <boost/property_tree/xml_parser.hpp>
#include <regex>
#include "BaseLib/FileTools.h"
#include "Error.h"
#include "Logging.h"
#include "filesystem.h"
Go to the source code of this file.
Namespaces | |
BaseLib | |
Functions | |
template<typename T > | |
void | BaseLib::traverse_recursive (boost::property_tree::ptree &parent, boost::property_tree::ptree::path_type const &child_path, boost::property_tree::ptree &child, fs::path const &bench_dir, T &method) |
template<typename T > | |
void | BaseLib::traverse (boost::property_tree::ptree &parent, const fs::path bench_dir, T &method) |
void | BaseLib::replaceIncludes ([[maybe_unused]] boost::property_tree::ptree const &parent, [[maybe_unused]] boost::property_tree::ptree::path_type const &child_path, boost::property_tree::ptree &child, fs::path const &bench_dir) |
void | BaseLib::patchStream (std::string patch_file, std::stringstream &prj_stream) |
void | BaseLib::readAndPatchPrj (std::stringstream &prj_stream, std::string &prj_file, std::vector< std::string > patch_files) |
ConfigTreeTopLevel | BaseLib::makeConfigTree (const std::string &filepath, const bool be_ruthless, const std::string &toplevel_tag, const std::vector< std::string > &patch_files) |