/* timian - an analog report formatter using XSLT. Copyright (C) 2003, Per Jessen, per@computer.org All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Base header file. Must be first. #include // Base class header file... #include XALAN_USING_XALAN(Function) XALAN_USING_XALAN(XObjectPtr) XALAN_USING_XALAN(XPathExecutionContext) XALAN_USING_XALAN(XalanNode) XALAN_USING_XALAN(XalanDOMString) class FunctionStrftime : public Function { public: FunctionStrftime(); virtual ~FunctionStrftime(); // These methods are inherited from Function ... virtual XObjectPtr execute( XPathExecutionContext& executionContext, XalanNode* context, const XObjectPtr format, const XObjectPtr data, const LocatorType* locator) const; const XalanDOMString getError() const; #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) virtual Function* #else virtual FunctionStrftime* #endif clone() const; private: XalanDOMString output; // Not implemented... FunctionStrftime& operator=(const FunctionStrftime&); bool operator==(const FunctionStrftime&) const; };