Teuchos::StringInputStream Class Reference

Instantiation of XMLInputStream for reading an entire document from a string. More...

#include <Teuchos_StringInputStream.hpp>

Inheritance diagram for Teuchos::StringInputStream:

Teuchos::XMLInputStream List of all members.

Public Member Functions

 StringInputStream (const string &text)
 Construct with the string from which data will be read.
virtual ~StringInputStream ()
 Destructor.
virtual unsigned int readBytes (unsigned char *const toFill, const unsigned int maxToRead)
 Read up to maxToRead bytes.

Detailed Description

Instantiation of XMLInputStream for reading an entire document from a string.

This is a low-level object and should not be needed at the user level. FileInputSource is the user-level object.

Definition at line 51 of file Teuchos_StringInputStream.hpp.


Constructor & Destructor Documentation

Teuchos::StringInputStream::StringInputStream const string &  text  )  [inline]
 

Construct with the string from which data will be read.

Definition at line 56 of file Teuchos_StringInputStream.hpp.

virtual Teuchos::StringInputStream::~StringInputStream  )  [inline, virtual]
 

Destructor.

Definition at line 60 of file Teuchos_StringInputStream.hpp.


Member Function Documentation

unsigned int StringInputStream::readBytes unsigned char *const   toFill,
const unsigned int  maxToRead
[virtual]
 

Read up to maxToRead bytes.

Implements Teuchos::XMLInputStream.

Definition at line 34 of file Teuchos_StringInputStream.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1