From 5f6fc45749b99e9013f04c95a525f2d627db01bf Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sat, 7 Jun 2014 17:24:44 +0200 Subject: Improved FunctionBase constructDocument parameter propagation * replaced std::tuple constructing Mapper template methods with direct XObjectArgVectorType unpacking ** XObjectValue::get template method is applied directly using parameter pack unpacking * implemented custom IndexSequence / Sequence type to provide vector indexes * modified all external functions to provide matching constructDocument overloads --- src/support/tuple/xobject_value.cc | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/support/tuple/xobject_value.cc (limited to 'src/support/tuple/xobject_value.cc') diff --git a/src/support/tuple/xobject_value.cc b/src/support/tuple/xobject_value.cc deleted file mode 100644 index cdeb9c6..0000000 --- a/src/support/tuple/xobject_value.cc +++ /dev/null @@ -1,25 +0,0 @@ -#include "xobject_value.h" - -#include - -#include - -#include "support/xalan_string.h" - -namespace InputXSLT { - -namespace XObjectValue { - -template <> -std::string get(const xalan::XObjectPtr& ptr) { - return boost::trim_copy(toString(ptr->str())); -} - -template <> -xalan::XObjectPtr get(const xalan::XObjectPtr& ptr) { - return ptr; -} - -} - -} -- cgit v1.2.3