source: NonGTP/Xerces/xerces/include/xercesc/dom/deprecated/ChildNode.hpp @ 358

Revision 358, 1.7 KB checked in by bittner, 19 years ago (diff)

xerces added

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