OGS
PrjProcessing.cpp File Reference

Detailed Description

Definition in file PrjProcessing.cpp.

#include "PrjProcessing.h"
#include <libxml/parser.h>
#include <libxml/xmlstring.h>
#include <spdlog/fmt/bundled/core.h>
#include <xml_patch.h>
#include <filesystem>
#include <fstream>
#include <regex>
#include <sstream>
#include "DisableFPE.h"
#include "Error.h"
#include "FileTools.h"
#include "Logging.h"
Include dependency graph for PrjProcessing.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{PrjProcessing.cpp}
 
namespace  BaseLib
 

Functions

std::string anonymous_namespace{PrjProcessing.cpp}::iostateToString (std::ios_base::iostate const state)
 
void BaseLib::traverseIncludes (xmlDoc *doc, xmlNode *node, std::filesystem::path const &prj_dir)
 
void BaseLib::replaceIncludes (std::stringstream &prj_stream, std::filesystem::path const &prj_dir)
 
void BaseLib::patchStream (std::string const &patch_file, std::stringstream &prj_stream, bool after_includes=false)
 
void BaseLib::readAndPatchPrj (std::stringstream &prj_stream, std::string &prj_file, std::vector< std::string > &patch_files)
 
void BaseLib::prepareProjectFile (std::stringstream &prj_stream, const std::string &filepath, const std::vector< std::string > &patch_files, bool write_prj, const std::string &out_directory)
 Applies includes and patch files to project file.