Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Teuchos::XMLInputStream Class Referenceabstract

XMLInputStream represents an XML input stream that can be used by a XMLInputSource. More...

#include <Teuchos_XMLInputStream.hpp>

Inheritance diagram for Teuchos::XMLInputStream:
Teuchos::FileInputStream Teuchos::StringInputStream

Public Member Functions

 XMLInputStream ()
 Constructor.
 
virtual ~XMLInputStream ()
 Destructor.
 
virtual unsigned int readBytes (unsigned char *const toFill, const unsigned int maxToRead)=0
 Read up to maxToRead bytes from the stream.
 
virtual unsigned int curPos () const
 Identify current position.
 

Detailed Description

XMLInputStream represents an XML input stream that can be used by a XMLInputSource.

Definition at line 56 of file Teuchos_XMLInputStream.hpp.

Constructor & Destructor Documentation

◆ XMLInputStream()

Teuchos::XMLInputStream::XMLInputStream ( )
inline

Constructor.

Definition at line 60 of file Teuchos_XMLInputStream.hpp.

◆ ~XMLInputStream()

virtual Teuchos::XMLInputStream::~XMLInputStream ( )
inlinevirtual

Destructor.

Definition at line 63 of file Teuchos_XMLInputStream.hpp.

Member Function Documentation

◆ readBytes()

virtual unsigned int Teuchos::XMLInputStream::readBytes ( unsigned char *const toFill,
const unsigned int maxToRead )
pure virtual

Read up to maxToRead bytes from the stream.

Implemented in Teuchos::FileInputStream, and Teuchos::StringInputStream.

◆ curPos()

unsigned int XMLInputStream::curPos ( ) const
virtual

Identify current position.

Definition at line 48 of file Teuchos_XMLInputStream.cpp.


The documentation for this class was generated from the following files: