Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

XercesWrapperToXalanNodeMap.hpp

Go to the documentation of this file.
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(XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680) 00017 #define XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00022 00023 00024 00025 #if defined(XALAN_USE_HASH_MAP) 00026 #include <hash_map> 00027 #else 00028 #include <map> 00029 #endif 00030 00031 00032 00033 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00034 00035 00036 00037 XALAN_CPP_NAMESPACE_BEGIN 00038 00039 00040 00041 class XalanNode; 00042 00043 00044 00045 class XALAN_XERCESPARSERLIAISON_EXPORT XercesWrapperToXalanNodeMap 00046 { 00047 public: 00048 00049 #if defined(XALAN_NO_STD_NAMESPACE) 00050 typedef map<const DOMNodeType*, XalanNode*, less<const DOMNodeType*> > XercesNodeMapType; 00051 #else 00052 #if defined(XALAN_USE_HASH_MAP) 00053 typedef std::hash_map<const DOMNodeType*, XalanNode*> XercesNodeMapType; 00054 #else 00055 typedef std::map<const DOMNodeType*, XalanNode*> XercesNodeMapType; 00056 #endif 00057 #endif 00058 00059 00060 XercesWrapperToXalanNodeMap(); 00061 00062 ~XercesWrapperToXalanNodeMap(); 00063 00064 void 00065 addAssociation( 00066 const DOMNodeType* theXercesNode, 00067 XalanNode* theXalanNode); 00068 00069 void 00070 clear(); 00071 00072 XalanNode* 00073 getNode(const DOMNodeType* theXercesNode) const; 00074 00075 private: 00076 00077 XercesNodeMapType m_xercesMap; 00078 }; 00079 00080 00081 00082 XALAN_CPP_NAMESPACE_END 00083 00084 00085 00086 #endif // !defined(XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680)

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.