Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
18
19namespace 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.
Smart reference counting pointer class for automatic garbage collection.
XMLInputStream represents an XML input stream that can be used by a XMLInputSource.
virtual ~XMLInputStream()
Destructor.
virtual unsigned int curPos() const
Identify current position.
virtual unsigned int readBytes(unsigned char *const toFill, const unsigned int maxToRead)=0
Read up to maxToRead bytes from the stream.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...