aboutsummaryrefslogtreecommitdiff
path: root/src/function/generate.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-23 00:19:09 +0200
committerAdrian Kummerlaender2014-08-23 00:19:09 +0200
commit5a54b5b8150d8bf1ac5db3ac688479b3aca6486d (patch)
tree08fe4ce82a6f0da1837504afaf9c0d27affa5513 /src/function/generate.h
parent2c89112141530617b51af8c41211c2507ec8c738 (diff)
downloadInputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.gz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.bz2
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.lz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.xz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.zst
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.zip
Replaced FunctionTransform by making the target of FunctionGenerate optional
* if the target parameter is not provided FunctionGenerate now performs exactly the same functionality as FunctionTransform * added "boost::optional<boost::filesystem::path>" specialization to the XObjectValue class * modified test cases accordingly * modified README.md accordingly
Diffstat (limited to 'src/function/generate.h')
-rw-r--r--src/function/generate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/generate.h b/src/function/generate.h
index 333ed37..fa38e3f 100644
--- a/src/function/generate.h
+++ b/src/function/generate.h
@@ -11,7 +11,7 @@ class FunctionGenerate : public FunctionBase<
FunctionGenerate,
xalan::XSLTInputSource,
xalan::XSLTInputSource,
- boost::filesystem::path
+ boost::optional<boost::filesystem::path>
> {
public:
using FunctionBase::FunctionBase;
@@ -23,7 +23,7 @@ class FunctionGenerate : public FunctionBase<
const FilesystemContext&,
xalan::XSLTInputSource,
xalan::XSLTInputSource,
- boost::filesystem::path
+ boost::optional<boost::filesystem::path>
) const;
};