diff options
author | Adrian Kummerländer | 2014-05-21 21:16:43 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-21 21:16:43 +0200 |
commit | bbe16940e7a6f97128e99ad7642b964e48ecde2e (patch) | |
tree | 54b48400527fd4578984e332c8c6583fa735d298 /src/support/include_entity_resolver.h | |
parent | 283101c02a7e6a71f221fe731168e9b0096e3766 (diff) | |
download | InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar.gz InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar.bz2 InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar.lz InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar.xz InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.tar.zst InputXSLT-bbe16940e7a6f97128e99ad7642b964e48ecde2e.zip |
Moved include path resolution into separate member method
* enables access to include path resolution from external functions
** this will be useful to enable reading files from the include path using the external read-file or read-xml-file functions
* moved file path extraction into a function local to the compilation unit
Diffstat (limited to 'src/support/include_entity_resolver.h')
-rw-r--r-- | src/support/include_entity_resolver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/support/include_entity_resolver.h b/src/support/include_entity_resolver.h index 390cfe1..b87e10f 100644 --- a/src/support/include_entity_resolver.h +++ b/src/support/include_entity_resolver.h @@ -20,6 +20,8 @@ class IncludeEntityResolver : public xercesc::EntityResolver { const XMLCh* const ); + std::pair<bool, boost::filesystem::path> resolve(const std::string&); + private: std::vector<FilesystemContext> path_; |