diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | ixslt.cc | 12 | ||||
-rw-r--r-- | src/platform_guard.cc (renamed from src/plattform_guard.cc) | 8 | ||||
-rw-r--r-- | src/platform_guard.h (renamed from src/plattform_guard.h) | 12 |
4 files changed, 17 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 331aa2c..9f19bb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ set( set( Sources - src/plattform_guard.cc + src/platform_guard.cc src/transformer_facade.cc src/function/read_file.cc src/function/write_file.cc @@ -10,7 +10,7 @@ #include <vector> #include <iostream> -#include "plattform_guard.h" +#include "platform_guard.h" #include "transformer_facade.h" namespace { @@ -131,7 +131,7 @@ bool process(const boost::program_options::variables_map& variables) { includePath = variables["include"].as<std::vector<std::string>>(); }; - InputXSLT::PlattformGuard plattform(includePath); + InputXSLT::PlatformGuard platform(includePath); if ( variables.count("target") ) { boost::filesystem::ofstream file( @@ -141,14 +141,14 @@ bool process(const boost::program_options::variables_map& variables) { if ( file.is_open() ) { if ( variables.count("input") ) { return generate( - plattform.getEntityResolver(), + platform.getEntityResolver(), file, variables["input"].as<std::string>().data(), variables["transformation"].as<std::string>().data() ); } else { return generate( - plattform.getEntityResolver(), + platform.getEntityResolver(), file, variables["transformation"].as<std::string>().data() ); @@ -159,14 +159,14 @@ bool process(const boost::program_options::variables_map& variables) { } else { if ( variables.count("input") ) { return generate( - plattform.getEntityResolver(), + platform.getEntityResolver(), std::cout, variables["input"].as<std::string>().data(), variables["transformation"].as<std::string>().data() ); } else { return generate( - plattform.getEntityResolver(), + platform.getEntityResolver(), std::cout, variables["transformation"].as<std::string>().data() ); diff --git a/src/plattform_guard.cc b/src/platform_guard.cc index 5d19e32..6be5b4a 100644 --- a/src/plattform_guard.cc +++ b/src/platform_guard.cc @@ -1,4 +1,4 @@ -#include "plattform_guard.h" +#include "platform_guard.h" #include <xalanc/Include/PlatformDefinitions.hpp> #include <xalanc/XalanTransformer/XalanTransformer.hpp> @@ -15,7 +15,7 @@ namespace InputXSLT { -PlattformGuard::PlattformGuard(const std::vector<std::string>& path): +PlatformGuard::PlatformGuard(const std::vector<std::string>& path): include_resolver_(path) { xercesc::XMLPlatformUtils::Initialize(); xalan::XalanTransformer::initialize(); @@ -61,11 +61,11 @@ PlattformGuard::PlattformGuard(const std::vector<std::string>& path): ); } -PlattformGuard::~PlattformGuard() { +PlatformGuard::~PlatformGuard() { xalan::XalanTransformer::terminate(); } -IncludeEntityResolver* PlattformGuard::getEntityResolver() { +IncludeEntityResolver* PlatformGuard::getEntityResolver() { return &this->include_resolver_; } diff --git a/src/plattform_guard.h b/src/platform_guard.h index ccc9449..ff72207 100644 --- a/src/plattform_guard.h +++ b/src/platform_guard.h @@ -1,5 +1,5 @@ -#ifndef INPUTXSLT_SRC_PLATTFORM_GUARD_H_ -#define INPUTXSLT_SRC_PLATTFORM_GUARD_H_ +#ifndef INPUTXSLT_SRC_PLATFORM_GUARD_H_ +#define INPUTXSLT_SRC_PLATFORM_GUARD_H_ #include <string> #include <vector> @@ -8,10 +8,10 @@ namespace InputXSLT { -class PlattformGuard { +class PlatformGuard { public: - PlattformGuard(const std::vector<std::string>&); - ~PlattformGuard(); + PlatformGuard(const std::vector<std::string>&); + ~PlatformGuard(); IncludeEntityResolver* getEntityResolver(); @@ -22,4 +22,4 @@ class PlattformGuard { } -#endif // INPUTXSLT_SRC_PLATTFORM_GUARD_H_ +#endif // INPUTXSLT_SRC_PLATFORM_GUARD_H_ |