DOMNodeList.hpp

Go to the documentation of this file.
00001 #ifndef DOMNodeList_HEADER_GUARD_
00002 #define DOMNodeList_HEADER_GUARD_
00003 
00004 /*
00005  * Copyright 2001-2002,2004 The Apache Software Foundation.
00006  * 
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  * 
00011  *      http://www.apache.org/licenses/LICENSE-2.0
00012  * 
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 /*
00021  * $Id: DOMNodeList.hpp 176026 2004-09-08 13:57:07Z peiyongz $
00022  */
00023 
00024 #include <xercesc/util/XercesDefs.hpp>
00025 
00026 XERCES_CPP_NAMESPACE_BEGIN
00027 
00028 
00029 class DOMNode;
00030 
00031 
00044 class  CDOM_EXPORT DOMNodeList {
00045 protected:
00046     // -----------------------------------------------------------------------
00047     //  Hidden constructors
00048     // -----------------------------------------------------------------------
00051     DOMNodeList() {};
00053 
00054 private:
00055     // -----------------------------------------------------------------------
00056     // Unimplemented constructors and operators
00057     // -----------------------------------------------------------------------
00060     DOMNodeList(const DOMNodeList &);
00061     DOMNodeList & operator = (const DOMNodeList &);
00063 
00064 public:
00065     // -----------------------------------------------------------------------
00066     //  All constructors are hidden, just the destructor is available
00067     // -----------------------------------------------------------------------
00074     virtual ~DOMNodeList()  {};
00076 
00077     // -----------------------------------------------------------------------
00078     //  Virtual DOMNodeList interface
00079     // -----------------------------------------------------------------------
00082     // -----------------------------------------------------------------------
00083     //  Getter methods
00084     // -----------------------------------------------------------------------
00097     virtual DOMNode  *item(XMLSize_t index) const = 0;
00098 
00105     virtual XMLSize_t getLength() const = 0;
00107 };
00108 
00109 XERCES_CPP_NAMESPACE_END
00110 
00111 #endif
00112 
00113 

Generated on Tue Dec 12 00:19:01 2006 for XQilla DOM Level 3 API by  doxygen 1.4.6