Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


StdBinInputStream.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 #if !defined(XALAN_STDBININPUTSTREAM_HEADER_GUARD)
20 #define XALAN_STDBININPUTSTREAM_HEADER_GUARD
21 
22 
23 
24 // Base include file. Must be first.
26 
27 
28 
29 #if defined(XALAN_CLASSIC_IOSTREAMS)
30 #include <iostream.h>
31 #else
32 #include <iosfwd>
33 #endif
34 
35 
36 
37 #include <xercesc/util/BinInputStream.hpp>
38 
39 
40 
41 XALAN_CPP_NAMESPACE_BEGIN
42 
43 
44 
45 class XALAN_PLATFORMSUPPORT_EXPORT StdBinInputStream : public XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream
46 {
47 public:
48 
49  typedef XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream ParentType;
50 
51 #if defined(XALAN_NO_STD_NAMESPACE)
52  typedef istream StreamType;
53 #else
54  typedef std::istream StreamType;
55 #endif
56 
57 
58  StdBinInputStream(StreamType& theStream);
59 
60  virtual
62 
63  virtual XalanFilePos
64  curPos() const;
65 
66  virtual XalanSize_t
67  readBytes(
68  XMLByte* const toFill,
69  const XalanSize_t maxToRead);
70 
71  virtual const XalanDOMChar*
72  getContentType() const;
73 
74 private:
75 
76  // Unimplemented...
77  StdBinInputStream(const StdBinInputStream& theSource);
78 
79  bool
80  operator==(const StdBinInputStream& theSource) const;
81 
83  operator=(const StdBinInputStream& theSource);
84 
85 
86  // Data members...
87  StreamType& m_stream;
88 };
89 
90 
91 
92 XALAN_CPP_NAMESPACE_END
93 
94 
95 
96 #endif // XALAN_STDBININPUTSTREAM_HEADER_GUARD
XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream ParentType
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
#define XALAN_PLATFORMSUPPORT_EXPORT

Interpreting class diagrams

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

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

Apache Logo