Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

StdBinInputStream.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 
17 #if !defined(XALAN_STDBININPUTSTREAM_HEADER_GUARD)
18 #define XALAN_STDBININPUTSTREAM_HEADER_GUARD
19 
20 
21 
22 // Base include file. Must be first.
24 
25 
26 
27 #if defined(XALAN_CLASSIC_IOSTREAMS)
28 #include <iostream.h>
29 #else
30 #include <iosfwd>
31 #endif
32 
33 
34 
35 #include <xercesc/util/BinInputStream.hpp>
36 
37 
38 
39 XALAN_CPP_NAMESPACE_BEGIN
40 
41 
42 
43 class XALAN_PLATFORMSUPPORT_EXPORT StdBinInputStream : public XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream
44 {
45 public:
46 
47  typedef XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream ParentType;
48 
49 #if defined(XALAN_NO_STD_NAMESPACE)
50  typedef istream StreamType;
51 #else
52  typedef std::istream StreamType;
53 #endif
54 
55 
56  StdBinInputStream(StreamType& theStream);
57 
58  virtual
60 
61  virtual unsigned int
62  curPos() const;
63 
64  virtual unsigned int
65  readBytes(
66  XMLByte* const toFill,
67  const unsigned int maxToRead);
68 
69 private:
70 
71  // Unimplemented...
72  StdBinInputStream(const StdBinInputStream& theSource);
73 
74  bool
75  operator==(const StdBinInputStream& theSource) const;
76 
78  operator=(const StdBinInputStream& theSource);
79 
80 
81  // Data members...
82  StreamType& m_stream;
83 };
84 
85 
86 
87 XALAN_CPP_NAMESPACE_END
88 
89 
90 
91 #endif // XALAN_STDBININPUTSTREAM_HEADER_GUARD

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