| API Docs for SAX and DOM |

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

# BinInputStream.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 /*
    00018  * $Log: BinInputStream.hpp,v $
    00019  * Revision 1.5  2004/09/08 13:56:21  peiyongz
    00020  * Apache License Version 2.0
    00021  *
    00022  * Revision 1.4  2003/05/15 19:04:35  knoaman
    00023  * Partial implementation of the configurable memory manager.
    00024  *
    00025  * Revision 1.3  2003/03/07 18:11:54  tng
    00026  * Return a reference instead of void for operator=
    00027  *
    00028  * Revision 1.2  2002/11/04 15:22:03  tng
    00029  * C++ Namespace Support.
    00030  *
    00031  * Revision 1.1.1.1  2002/02/01 22:22:10  peiyongz
    00032  * sane_include
    00033  *
    00034  * Revision 1.4  2000/03/02 19:54:38  roddey
    00035  * This checkin includes many changes done while waiting for the
    00036  * 1.1.0 code to be finished. I can't list them all here, but a list is
    00037  * available elsewhere.
    00038  *
    00039  * Revision 1.3  2000/02/24 20:05:23  abagchi
    00040  * Swat for removing Log from API docs
    00041  *
    00042  * Revision 1.2  2000/02/06 07:48:01  rahulj
    00043  * Year 2K copyright swat.
    00044  *
    00045  * Revision 1.1.1.1  1999/11/09 01:04:03  twl
    00046  * Initial checkin
    00047  *
    00048  * Revision 1.3  1999/11/08 20:45:04  rahul
    00049  * Swat for adding in Product name and CVS comment log variable.
    00050  *
    00051  */
    00052
    00053 #if !defined(BININPUTSTREAM_HPP)
    00054 #define BININPUTSTREAM_HPP
    00055
    00056 #include <xercesc/util/XMemory.hpp>
    00057
    00058 XERCES_CPP_NAMESPACE_BEGIN
    00059
    00060 class  BinInputStream : public XMemory
    00061 {
    00062 public :
    00063     // -----------------------------------------------------------------------
    00064     //  Virtual destructor for derived classes
    00065     // -----------------------------------------------------------------------
    00066     virtual ~BinInputStream();
    00067
    00068
    00069     // -----------------------------------------------------------------------
    00070     //  The virtual input stream interface
    00071     // -----------------------------------------------------------------------
    00072     virtual unsigned int curPos() const = 0;
    00073
    00074     virtual unsigned int readBytes
    00075     (
    00076                 XMLByte* const      toFill
    00077         , const unsigned int        maxToRead
    00078     ) = 0;
    00079
    00080
    00081 protected :
    00082     // -----------------------------------------------------------------------
    00083     //  Hidden Constructors
    00084     // -----------------------------------------------------------------------
    00085     BinInputStream();
    00086
    00087
    00088 private :
    00089     // -----------------------------------------------------------------------
    00090     //  Unimplemented Constructors
    00091     // -----------------------------------------------------------------------
    00092     BinInputStream(const BinInputStream&);
    00093     BinInputStream& operator=(const BinInputStream&);
    00094 };
    00095
    00096 XERCES_CPP_NAMESPACE_END
    00097
    00098 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.