00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(FUNCTIONGENERATEID_HEADER_GUARD_1357924680) 00017 #define FUNCTIONGENERATEID_HEADER_GUARD_1357924680 00018 00019 // Base header file. Must be first. 00020 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00021 00022 00023 00024 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00025 00026 00027 00028 #include <xalanc/XPath/Function.hpp> 00029 00030 00031 00032 XALAN_CPP_NAMESPACE_BEGIN 00033 00034 00035 00036 // Implementation of the XSLT function generate-id(). 00037 // 00038 class XALAN_XSLT_EXPORT FunctionGenerateID : public Function 00039 { 00040 public: 00041 00042 typedef Function ParentType; 00043 00044 FunctionGenerateID(); 00045 00046 virtual 00047 ~FunctionGenerateID(); 00048 00049 // These methods are inherited from Function ... 00050 00051 #if !defined(XALAN_NO_USING_DECLARATION) 00052 using ParentType::execute; 00053 #endif 00054 00055 virtual XObjectPtr 00056 execute( 00057 XPathExecutionContext& executionContext, 00058 XalanNode* context, 00059 const LocatorType* locator) const; 00060 00061 virtual XObjectPtr 00062 execute( 00063 XPathExecutionContext& executionContext, 00064 XalanNode* context, 00065 const XObjectPtr arg1, 00066 const LocatorType* locator) const; 00067 00068 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00069 virtual Function* 00070 #else 00071 virtual FunctionGenerateID* 00072 #endif 00073 clone(MemoryManagerType& theManager) const; 00074 00075 protected: 00076 00077 virtual const XalanDOMString& 00078 getError(XalanDOMString& theResult) const; 00079 00080 private: 00081 00082 // Not implemented... 00083 FunctionGenerateID& operator=(const FunctionGenerateID&); 00084 00085 bool 00086 operator==(const FunctionGenerateID&) const; 00087 00088 static const XalanDOMString s_emptyString; 00089 }; 00090 00091 00092 00093 XALAN_CPP_NAMESPACE_END 00094 00095 00096 00097 #endif // FUNCTIONGENERATEID_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|