Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NullPrintWriter.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(NULLPRINTWRITER_HEADER_GUARD_1357924680)
00017 #define NULLPRINTWRITER_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
00023 
00024 
00025 
00026 // Base class header file.
00027 #include <xalanc/PlatformSupport/PrintWriter.hpp>
00028 
00029 
00030 
00031 XALAN_CPP_NAMESPACE_BEGIN
00032 
00033 
00034 
00035 class XALAN_PLATFORMSUPPORT_EXPORT NullPrintWriter : public PrintWriter
00036 {
00037 public:
00038 
00039     explicit
00040     NullPrintWriter(MemoryManagerType& theManager);
00041 
00042     virtual
00043     ~NullPrintWriter();
00044 
00045     // Functions inherited from PrintWriter...
00046 
00047     virtual bool
00048     checkError() const;
00049 
00050     virtual void
00051     close();
00052 
00053     virtual void
00054     flush();
00055 
00056     virtual void
00057     write(
00058             const char*     s,
00059             size_t          theOffset = 0,
00060             size_t          theLength = npos);
00061 
00062     virtual void
00063     write(
00064             const XalanDOMChar*         s,
00065             XalanDOMString::size_type   theOffset = 0,
00066             XalanDOMString::size_type   theLength = XalanDOMString::npos);
00067 
00068     virtual void
00069     write(XalanDOMChar      c);
00070 
00071     virtual void
00072     write(
00073             const XalanDOMString&       s,
00074             XalanDOMString::size_type   theOffset = 0,
00075             XalanDOMString::size_type   theLength = XalanDOMString::npos);
00076 
00077 #if !defined(XALAN_BOOL_AS_INT)
00078     virtual void
00079     print(bool  b);
00080 #endif
00081 
00082     virtual void
00083     print(char  c);
00084 
00085     virtual void
00086     print(
00087             const char*     s,
00088             size_t          theLength = npos);
00089 
00090     virtual void
00091     print(
00092             const XalanDOMChar*         s,
00093             XalanDOMString::size_type   theLength = XalanDOMString::npos);
00094 
00095     virtual void
00096     print(double    d);
00097 
00098     virtual void
00099     print(int   i);
00100 
00101     virtual void
00102     print(long  l);
00103 
00104     virtual void
00105     print(const XalanDOMString&     s);
00106 
00107     virtual void
00108     println();
00109 
00110 #if !defined(XALAN_BOOL_AS_INT)
00111     virtual void
00112     println(bool    x);
00113 #endif
00114 
00115     virtual void
00116     println(char    x);
00117 
00118     virtual void
00119     println(
00120             const char*     s,
00121             size_t          theLength = npos);
00122 
00123     virtual void
00124     println(
00125             const XalanDOMChar*         s,
00126             XalanDOMString::size_type   theLength = XalanDOMString::npos);
00127 
00128     virtual void
00129     println(double  x);
00130 
00131     virtual void
00132     println(int     x);
00133 
00134     virtual void
00135     println(long    x);
00136 
00137     virtual void
00138     println(const XalanDOMString&   s);
00139 
00140 private:
00141 
00142     // Not implemented
00143     NullPrintWriter(const NullPrintWriter&);
00144 
00145     NullPrintWriter&
00146     operator=(const NullPrintWriter&);
00147 
00148     bool
00149     operator==(const NullPrintWriter&);
00150 };
00151 
00152 
00153 
00154 XALAN_CPP_NAMESPACE_END
00155 
00156 
00157 
00158 #endif  // NULLPRINTWRITER_HEADER_GUARD_1357924680

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