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  

StdBinInputStream.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 
00017 #if !defined(XALAN_STDBININPUTSTREAM_HEADER_GUARD)
00018 #define XALAN_STDBININPUTSTREAM_HEADER_GUARD
00019 
00020 
00021 
00022 // Base include file.  Must be first.
00023 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
00024 
00025 
00026 
00027 #if defined(XALAN_CLASSIC_IOSTREAMS)
00028 #include <iostream.h>
00029 #else
00030 #include <iosfwd>
00031 #endif
00032 
00033 
00034 
00035 #include <xercesc/util/BinInputStream.hpp>
00036 
00037 
00038 
00039 XALAN_CPP_NAMESPACE_BEGIN
00040 
00041 
00042 
00043 class XALAN_PLATFORMSUPPORT_EXPORT StdBinInputStream : public XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream
00044 {
00045 public:
00046 
00047     typedef XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream   ParentType;
00048 
00049 #if defined(XALAN_NO_STD_NAMESPACE)
00050     typedef istream         StreamType;
00051 #else
00052     typedef std::istream    StreamType;
00053 #endif
00054 
00055 
00056     StdBinInputStream(StreamType&   theStream);
00057 
00058     virtual
00059     ~StdBinInputStream();
00060 
00061     virtual unsigned int
00062     curPos() const;
00063 
00064     virtual unsigned int
00065     readBytes(
00066             XMLByte* const      toFill,
00067             const unsigned int  maxToRead);
00068 
00069 private:
00070 
00071     // Unimplemented...
00072     StdBinInputStream(const StdBinInputStream&  theSource);
00073 
00074     bool
00075     operator==(const StdBinInputStream& theSource) const;
00076 
00077     StdBinInputStream&
00078     operator=(const StdBinInputStream&  theSource);
00079 
00080 
00081     // Data members...
00082     StreamType&     m_stream;
00083 };
00084 
00085 
00086 
00087 XALAN_CPP_NAMESPACE_END
00088 
00089 
00090 
00091 #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