Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanFStreamOutputStream.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(XALANFSTREAMOUTPUTSTREAM_HEADER_GUARD_1357924680)
17 #define XALANFSTREAMOUTPUTSTREAM_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 #include <cstdio>
27 
28 
29 
30 // Base class header file.
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
40 {
41 public :
42 
43  enum { eDefaultBufferSize = 8192 };
44 
45 
53  FILE* theFileHandle,
54  MemoryManagerType& theManager,
55  unsigned int theBufferSize = eDefaultBufferSize);
56 
58  create( FILE* theFileHandle,
59  MemoryManagerType& theManager,
60  unsigned int theBufferSize = eDefaultBufferSize);
61  virtual
63 
65  {
66  public:
67 
75  XalanDOMString& theBuffer);
76 
77  virtual
79 
80  virtual const XalanDOMChar*
81  getType() const
82  {
83  return m_type;
84  }
85 
86  private:
87  static const XalanDOMChar m_type[];
88  };
89 
90 protected:
91 
92  virtual void
93  writeData(
94  const char* theBuffer,
95  size_type theBufferLength);
96 
97  virtual void
98  doFlush();
99 
100 private:
101 
102  // These are not implemented...
104 
106  operator=(const XalanFStreamOutputStream&);
107 
108  bool
109  operator==(const XalanFStreamOutputStream&) const;
110 
111 
112  // Data members...
113  FILE* const m_handle;
114 };
115 
116 
117 
118 XALAN_CPP_NAMESPACE_END
119 
120 
121 
122 #endif // XALANFSTREAMOUTPUTSTREAM_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