Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_XMLInputStream.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_XMLINPUTSTREAM_H
11 #define TEUCHOS_XMLINPUTSTREAM_H
12 
17 #include "Teuchos_ConfigDefs.hpp"
18 
19 namespace Teuchos
20 {
25  {
26  public:
29 
31  inline virtual ~XMLInputStream(){;}
32 
34  virtual unsigned int readBytes(unsigned char* const toFill,
35  const unsigned int maxToRead) = 0 ;
36 
38  virtual unsigned int curPos() const ;
39 
40  };
41 }
42 #endif
43 
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
XMLInputStream represents an XML input stream that can be used by a XMLInputSource.
virtual unsigned int readBytes(unsigned char *const toFill, const unsigned int maxToRead)=0
Read up to maxToRead bytes from the stream.
virtual ~XMLInputStream()
Destructor.
virtual unsigned int curPos() const
Identify current position.