[2674] | 1 | #ifndef ChildNode_HEADER_GUARD_ |
---|
| 2 | #define ChildNode_HEADER_GUARD_ |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * Licensed to the Apache Software Foundation (ASF) under one or more |
---|
| 6 | * contributor license agreements. See the NOTICE file distributed with |
---|
| 7 | * this work for additional information regarding copyright ownership. |
---|
| 8 | * The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
| 9 | * (the "License"); you may not use this file except in compliance with |
---|
| 10 | * the License. You may obtain a copy of the License at |
---|
| 11 | * |
---|
| 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 13 | * |
---|
| 14 | * Unless required by applicable law or agreed to in writing, software |
---|
| 15 | * distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 17 | * See the License for the specific language governing permissions and |
---|
| 18 | * limitations under the License. |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | /* |
---|
| 22 | * $Id: ChildNode.hpp 568078 2007-08-21 11:43:25Z amassari $ |
---|
| 23 | */ |
---|
| 24 | |
---|
| 25 | // |
---|
| 26 | // This file is part of the internal implementation of the C++ XML DOM. |
---|
| 27 | // It should NOT be included or used directly by application programs. |
---|
| 28 | // |
---|
| 29 | // Applications should include the file <xercesc/dom/deprecated/DOM.hpp> for the entire |
---|
| 30 | // DOM API, or DOM_*.hpp for individual DOM classes, where the class |
---|
| 31 | // name is substituded for the *. |
---|
| 32 | // |
---|
| 33 | |
---|
| 34 | /** |
---|
| 35 | * ChildNode adds to NodeImpl the capability of being a child, this is having |
---|
| 36 | * siblings. |
---|
| 37 | **/ |
---|
| 38 | |
---|
| 39 | #include "NodeImpl.hpp" |
---|
| 40 | |
---|
| 41 | XERCES_CPP_NAMESPACE_BEGIN |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | class DEPRECATED_DOM_EXPORT ChildNode: public NodeImpl { |
---|
| 45 | public: |
---|
| 46 | ChildNode *previousSibling; |
---|
| 47 | ChildNode *nextSibling; |
---|
| 48 | |
---|
| 49 | public: |
---|
| 50 | ChildNode(DocumentImpl *ownerDocument); |
---|
| 51 | ChildNode(const ChildNode &other); |
---|
| 52 | virtual ~ChildNode(); |
---|
| 53 | |
---|
| 54 | virtual NodeImpl * getNextSibling(); |
---|
| 55 | virtual NodeImpl * getParentNode(); |
---|
| 56 | virtual NodeImpl* getPreviousSibling(); |
---|
| 57 | }; |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | XERCES_CPP_NAMESPACE_END |
---|
| 61 | |
---|
| 62 | #endif |
---|