Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Instantiation of XMLInputStream class for reading an entire document from a file. More...
#include <Teuchos_FileInputStream.hpp>
Public Member Functions | |
FileInputStream (const std::string &filename) | |
Construct with a filename. More... | |
virtual | ~FileInputStream () |
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... | |
Private Attributes | |
std::FILE * | file_ |
Instantiation of XMLInputStream class for reading an entire document from a file.
Definition at line 29 of file Teuchos_FileInputStream.hpp.
FileInputStream::FileInputStream | ( | const std::string & | filename | ) |
Construct with a filename.
Definition at line 15 of file Teuchos_FileInputStream.cpp.
|
inlinevirtual |
Destructor.
Definition at line 36 of file Teuchos_FileInputStream.hpp.
|
virtual |
Read up to maxToRead bytes.
Implements Teuchos::XMLInputStream.
Definition at line 24 of file Teuchos_FileInputStream.cpp.
|
private |
Definition at line 43 of file Teuchos_FileInputStream.hpp.