Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
virtual ~XMLInputStream ()
 Destructor. More...
 
virtual unsigned int readBytes (unsigned char *const toFill, const unsigned int maxToRead)=0
 Read up to maxToRead bytes from the stream. More...
 
virtual unsigned int curPos () const
 Identify current position. More...
 

Detailed Description

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

Definition at line 24 of file Teuchos_XMLInputStream.hpp.

Constructor & Destructor Documentation

Teuchos::XMLInputStream::XMLInputStream ( )
inline

Constructor.

Definition at line 28 of file Teuchos_XMLInputStream.hpp.

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

Destructor.

Definition at line 31 of file Teuchos_XMLInputStream.hpp.

Member Function Documentation

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::StringInputStream, and Teuchos::FileInputStream.

unsigned int XMLInputStream::curPos ( ) const
virtual

Identify current position.

Definition at line 16 of file Teuchos_XMLInputStream.cpp.


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