/* * Copyright 2003,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * $Log: XTemplateComparator.hpp,v $ * Revision 1.2 2004/09/08 13:56:14 peiyongz * Apache License Version 2.0 * * Revision 1.1 2003/10/29 16:14:15 peiyongz * XObjectComparator/XTemplateComparator * * $Id: XTemplateComparator.hpp,v 1.2 2004/09/08 13:56:14 peiyongz Exp $ * */ #if !defined(XTEMPLATE_COMPARATOR_HPP) #define XTEMPLATE_COMPARATOR_HPP #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include XERCES_CPP_NAMESPACE_BEGIN class XMLUTIL_EXPORT XTemplateComparator { public: /********************************************************** * * ValueVectorOf * * SchemaElementDecl* * unsigned int * ***********************************************************/ static bool isEquivalent( ValueVectorOf* const lValue , ValueVectorOf* const rValue ); static bool isEquivalent( ValueVectorOf* const lValue , ValueVectorOf* const rValue ); /********************************************************** * * RefArrayVectorOf * * XMLCh * ***********************************************************/ static bool isEquivalent( RefArrayVectorOf* const lValue , RefArrayVectorOf* const rValue ); /********************************************************** * * RefVectorOf * * SchemaAttDef * SchemaElementDecl * ContentSpecNode * IC_Field * DatatypeValidator * IdentityConstraint * XMLNumber * XercesLocationPath * XercesStep * ***********************************************************/ static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); static bool isEquivalent( RefVectorOf* const lValue , RefVectorOf* const rValue ); /********************************************************** * * RefHashTableOf * * KVStringPair * XMLAttDef * DTDAttDef * ComplexTypeInfo * XercesGroupInfo * XercesAttGroupInfo * XMLRefInfo * DatatypeValidator * Grammar * ***********************************************************/ static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); static bool isEquivalent( RefHashTableOf* const lValue , RefHashTableOf* const rValue ); /********************************************************** * * RefHash2KeysTableOf * * SchemaAttDef * ElemVector * ***********************************************************/ static bool isEquivalent( RefHash2KeysTableOf* const lValue , RefHash2KeysTableOf* const rValue ); static bool isEquivalent( RefHash2KeysTableOf* const lValue , RefHash2KeysTableOf* const rValue ); /********************************************************** * * RefHash3KeysIdPool * * SchemaElementDecl * ***********************************************************/ static bool isEquivalent( RefHash3KeysIdPool* const lop , RefHash3KeysIdPool* const rop ); /********************************************************** * * NameIdPool * * DTDElementDecl * DTDEntityDecl * XMLNotationDecl * ***********************************************************/ static bool isEquivalent( NameIdPool* const lValue , NameIdPool* const rValue ); static bool isEquivalent( NameIdPool* const lValue , NameIdPool* const rValue ); static bool isEquivalent( NameIdPool* const lValue , NameIdPool* const rValue ); private: // ----------------------------------------------------------------------- // Unimplemented constructors and operators // ----------------------------------------------------------------------- ~XTemplateComparator(); XTemplateComparator(); XTemplateComparator(const XTemplateComparator&); XTemplateComparator& operator=(const XTemplateComparator&); }; XERCES_CPP_NAMESPACE_END #endif