From 2f94240bc382ca43017f31b0852f1717fe18090b Mon Sep 17 00:00:00 2001 From: Luca Padovani Date: Sat, 8 Feb 2003 22:09:57 +0000 Subject: [PATCH] * added apply method that takes no parameters --- .../C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc | 7 +++++++ .../C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh | 1 + helm/DEVEL/gdome_xslt/configure.ac | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc b/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc index ab71b0468..9030c0db9 100644 --- a/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc +++ b/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.cc @@ -51,6 +51,13 @@ namespace GdomeSmartDOMExt { } } + Document + XSLTStylesheet::apply(const Document& source) const + { + std::vector< std::pair > noParams; + return apply(source, noParams); + } + Document XSLTStylesheet::apply(const Document& source, const std::vector< std::pair >& params) const { diff --git a/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh b/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh index 4306640dc..1757f39a3 100644 --- a/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh +++ b/helm/DEVEL/gdome_xslt/C++/gdome_xslt/GdomeSmartDOMXSLTStylesheet.hh @@ -40,6 +40,7 @@ namespace GdomeSmartDOMExt { explicit XSLTStylesheet(const Document& doc); ~XSLTStylesheet(); + Document apply(const Document& source) const; Document apply(const Document& source, const std::vector< std::pair >& params) const; void save(const Document& result, const std::string& filename) const; void save(const Document& result, FILE* f) const; diff --git a/helm/DEVEL/gdome_xslt/configure.ac b/helm/DEVEL/gdome_xslt/configure.ac index cc6b8f6e4..aafc4d193 100644 --- a/helm/DEVEL/gdome_xslt/configure.ac +++ b/helm/DEVEL/gdome_xslt/configure.ac @@ -3,7 +3,7 @@ AC_INIT AC_CONFIG_SRCDIR([C/gdome_xslt/gdome_xslt.h]) PACKAGE=gdome2-xslt -VERSION=0.0.3 +VERSION=0.0.4 VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` AC_SUBST(VERSION_INFO) -- 2.39.2