#include <Teuchos_StringInputStream.hpp>
Public Member Functions | |
StringInputStream (const std::string &text) | |
Construct with the std::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. |
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.
Teuchos::StringInputStream::StringInputStream | ( | const std::string & | text | ) | [inline] |
Construct with the std::string from which data will be read.
Definition at line 56 of file Teuchos_StringInputStream.hpp.
virtual Teuchos::StringInputStream::~StringInputStream | ( | ) | [inline, virtual] |
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.