source: icXML/icXML-devel/src/xercesc/dom/impl/XSDElementNSImpl.hpp @ 2777

Last change on this file since 2777 was 2777, checked in by cameron, 7 years ago

Set up to use xercesc/icxercesc root-relative paths for all includes

File size: 2.5 KB
Line 
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18/*
19 * $Id: XSDElementNSImpl.hpp 672232 2008-06-27 10:16:38Z borisk $
20 */
21
22#if !defined(XERCESC_INCLUDE_GUARD_XSDELEMENTNSIMPL_HPP)
23#define XERCESC_INCLUDE_GUARD_XSDELEMENTNSIMPL_HPP
24
25//
26//  This file is part of the internal implementation of the C++ XML DOM.
27//  It is used by TraverseSchema to store line/column information.
28//  It should NOT be included or used directly by application programs.
29//
30//  Applications should include the file <xercesc/dom/DOM.hpp> for the entire
31//  DOM API, or xercesc/dom/DOM*.hpp for individual DOM classes, where the class
32//  name is substituded for the *.
33//
34
35
36#include <xercesc/dom/impl/DOMElementNSImpl.hpp>
37
38XERCES_CPP_NAMESPACE_BEGIN
39
40
41
42class CDOM_EXPORT XSDElementNSImpl: public DOMElementNSImpl {
43protected:
44    XMLFileLoc fLineNo;     //Line number
45    XMLFileLoc fColumnNo;   //Column number
46
47
48public:
49    XSDElementNSImpl(DOMDocument *ownerDoc, const XMLCh *name);
50    XSDElementNSImpl(DOMDocument *ownerDoc, //DOM Level 2
51                         const XMLCh *namespaceURI,
52                     const XMLCh *qualifiedName,
53                     const XMLFileLoc lineNo,
54                     const XMLFileLoc columnNo);
55    XSDElementNSImpl(const XSDElementNSImpl &other, bool deep=false);
56
57    virtual DOMNode * cloneNode(bool deep) const;
58
59    XMLFileLoc getLineNo() const   { return fLineNo;   }
60    XMLFileLoc getColumnNo() const { return fColumnNo; }
61
62private:
63    // -----------------------------------------------------------------------
64    //  Unimplemented constructors and operators
65    // -----------------------------------------------------------------------
66    XSDElementNSImpl& operator=(const XSDElementNSImpl&);
67};
68
69XERCES_CPP_NAMESPACE_END
70
71#endif
Note: See TracBrowser for help on using the repository browser.