Teuchos - Trilinos Tools Package
Version of the Day
|
Instantiation of XMLInputStream for reading an entire document from a std::string. More...
#include <Teuchos_StringInputStream.hpp>
Public Member Functions | |
StringInputStream (const std::string &text) | |
Construct with the std::string from which data will be read. More... | |
virtual | ~StringInputStream () |
Destructor. More... | |
virtual unsigned int | readBytes (unsigned char *const toFill, const unsigned int maxToRead) |
Read up to maxToRead bytes. More... | |
Public Member Functions inherited from Teuchos::XMLInputStream | |
XMLInputStream () | |
Constructor. More... | |
virtual | ~XMLInputStream () |
Destructor. More... | |
virtual unsigned int | curPos () const |
Identify current position. More... | |
Instantiation of XMLInputStream for reading an entire document from a std::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 64 of file Teuchos_StringInputStream.hpp.
|
inline |
Construct with the std::string from which data will be read.
Definition at line 69 of file Teuchos_StringInputStream.hpp.
|
inlinevirtual |
Destructor.
Definition at line 73 of file Teuchos_StringInputStream.hpp.
|
virtual |
Read up to maxToRead bytes.
Implements Teuchos::XMLInputStream.
Definition at line 47 of file Teuchos_StringInputStream.cpp.