13 using namespace Teuchos;
20 "FileInputStream ctor failed to open file: "
25 const unsigned int maxToRead)
28 #
if defined(ICL) || defined(__sgi)
35 int n = std::fread((
void*) toFill,
sizeof(
char), maxToRead,
file_);
36 if (n==0)
return (
size_t)0;
40 #if defined(ICL) || defined(__sgi)
48 n < 0 || (n<(
int) maxToRead && !is_eof),
50 "FileInputStream::readBytes error"
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.