source: NonGTP/Xerces/xerces/include/xercesc/framework/StdOutFormatTarget.hpp @ 358

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

xerces added

Line 
1/*
2 * Copyright 1999-2002,2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/*
18 * $Id: StdOutFormatTarget.hpp,v 1.5 2004/09/08 13:55:58 peiyongz Exp $
19 * $Log: StdOutFormatTarget.hpp,v $
20 * Revision 1.5  2004/09/08 13:55:58  peiyongz
21 * Apache License Version 2.0
22 *
23 * Revision 1.4  2003/01/24 20:20:22  tng
24 * Add method flush to XMLFormatTarget
25 *
26 * Revision 1.3  2002/11/04 15:00:21  tng
27 * C++ Namespace Support.
28 *
29 * Revision 1.2  2002/06/05 15:47:29  peiyongz
30 * operator = modified
31 *
32 * Revision 1.1  2002/05/28 22:40:46  peiyongz
33 * DOM3 Save Interface: DOMWriter/DOMWriterFilter
34 *
35 */
36
37#ifndef StdOutFormatTarget_HEADER_GUARD_
38#define StdOutFormatTarget_HEADER_GUARD_
39
40#include <xercesc/framework/XMLFormatter.hpp>
41
42XERCES_CPP_NAMESPACE_BEGIN
43
44class XMLPARSER_EXPORT StdOutFormatTarget : public XMLFormatTarget {
45public:
46
47    /** @name constructors and destructor */
48    //@{
49    StdOutFormatTarget() ;
50    ~StdOutFormatTarget();
51    //@}
52
53    // -----------------------------------------------------------------------
54    //  Implementations of the format target interface
55    // -----------------------------------------------------------------------
56    virtual void writeChars(const XMLByte* const toWrite
57                          , const unsigned int   count
58                          , XMLFormatter* const  formatter);
59
60    virtual void flush();
61
62private:
63    // -----------------------------------------------------------------------
64    //  Unimplemented methods.
65    // -----------------------------------------------------------------------
66    StdOutFormatTarget(const StdOutFormatTarget&);
67    StdOutFormatTarget& operator=(const StdOutFormatTarget&);
68};
69
70XERCES_CPP_NAMESPACE_END
71
72#endif
Note: See TracBrowser for help on using the repository browser.