From: Luca Padovani Date: Sat, 8 Feb 2003 22:09:57 +0000 (+0000) Subject: * added apply method that takes no parameters X-Git-Tag: V_0_0_4_1~52 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=2f94240bc382ca43017f31b0852f1717fe18090b;hp=a933ca25f485ac27e662444c250b8773c73b2755;p=helm.git * added apply method that takes no parameters --- 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)