Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

NullPrintWriter.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-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 #if !defined(NULLPRINTWRITER_HEADER_GUARD_1357924680)
17 #define NULLPRINTWRITER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file.
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
36 {
37 public:
38 
39  explicit
41 
42  virtual
43  ~NullPrintWriter();
44 
45  // Functions inherited from PrintWriter...
46 
47  virtual bool
48  checkError() const;
49 
50  virtual void
51  close();
52 
53  virtual void
54  flush();
55 
56  virtual void
57  write(
58  const char* s,
59  size_t theOffset = 0,
60  size_t theLength = npos);
61 
62  virtual void
63  write(
64  const XalanDOMChar* s,
65  XalanDOMString::size_type theOffset = 0,
67 
68  virtual void
69  write(XalanDOMChar c);
70 
71  virtual void
72  write(
73  const XalanDOMString& s,
74  XalanDOMString::size_type theOffset = 0,
76 
77 #if !defined(XALAN_BOOL_AS_INT)
78  virtual void
79  print(bool b);
80 #endif
81 
82  virtual void
83  print(char c);
84 
85  virtual void
86  print(
87  const char* s,
88  size_t theLength = npos);
89 
90  virtual void
91  print(
92  const XalanDOMChar* s,
94 
95  virtual void
96  print(double d);
97 
98  virtual void
99  print(int i);
100 
101  virtual void
102  print(long l);
103 
104  virtual void
105  print(const XalanDOMString& s);
106 
107  virtual void
108  println();
109 
110 #if !defined(XALAN_BOOL_AS_INT)
111  virtual void
112  println(bool x);
113 #endif
114 
115  virtual void
116  println(char x);
117 
118  virtual void
119  println(
120  const char* s,
121  size_t theLength = npos);
122 
123  virtual void
124  println(
125  const XalanDOMChar* s,
127 
128  virtual void
129  println(double x);
130 
131  virtual void
132  println(int x);
133 
134  virtual void
135  println(long x);
136 
137  virtual void
138  println(const XalanDOMString& s);
139 
140 private:
141 
142  // Not implemented
144 
146  operator=(const NullPrintWriter&);
147 
148  bool
149  operator==(const NullPrintWriter&);
150 };
151 
152 
153 
154 XALAN_CPP_NAMESPACE_END
155 
156 
157 
158 #endif // NULLPRINTWRITER_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual void write(const char *s, size_t theOffset=0, size_t theLength=npos)=0
Writes a string.
virtual void close()=0
Close the stream.
Definition: PrintWriter.hpp:35
virtual void println()=0
virtual void flush()=0
Flush the stream.
Definition: NullPrintWriter.hpp:35
virtual void print(bool b)=0
Definition: XalanDOMString.hpp:42
#define XALAN_PLATFORMSUPPORT_EXPORT
Definition: PlatformSupportDefinitions.hpp:33
virtual bool checkError() const =0
Flush the stream, then check the error status.
unsigned int size_type
Definition: XalanDOMString.hpp:53
Definition: XalanDOMString.hpp:63

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo