From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/stable/stdstream.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/stable/stdstream.cpp') diff --git a/src/stable/stdstream.cpp b/src/stable/stdstream.cpp index 25ad8d4..9cd216d 100644 --- a/src/stable/stdstream.cpp +++ b/src/stable/stdstream.cpp @@ -9,7 +9,7 @@ #include "bu/stdstream.h" Bu::StdStream::StdStream( OutMode eOut ) : - eOut( eOut ) + eOut( eOut ) { } @@ -23,17 +23,17 @@ void Bu::StdStream::close() Bu::size Bu::StdStream::read( void *pBuf, Bu::size nBytes ) { - return fread( pBuf, 1, nBytes, stdin ); + return fread( pBuf, 1, nBytes, stdin ); } Bu::size Bu::StdStream::write( const void *pBuf, Bu::size nBytes ) { - return fwrite( pBuf, 1, nBytes, eOut==StdOut?stdout:stderr ); + return fwrite( pBuf, 1, nBytes, eOut==StdOut?stdout:stderr ); } Bu::size Bu::StdStream::tell() { - return 0; + return 0; } void Bu::StdStream::seek( Bu::size ) @@ -50,47 +50,47 @@ void Bu::StdStream::setPosEnd( Bu::size ) bool Bu::StdStream::isEos() { - return false; + return false; } bool Bu::StdStream::isOpen() { - return true; + return true; } void Bu::StdStream::flush() { - fflush( eOut==StdOut?stdout:stderr ); + fflush( eOut==StdOut?stdout:stderr ); } bool Bu::StdStream::canRead() { - return true; + return true; } bool Bu::StdStream::canWrite() { - return true; + return true; } bool Bu::StdStream::isReadable() { - return true; + return true; } bool Bu::StdStream::isWritable() { - return true; + return true; } bool Bu::StdStream::isSeekable() { - return false; + return false; } bool Bu::StdStream::isBlocking() { - return true; + return true; } void Bu::StdStream::setBlocking( bool ) @@ -103,16 +103,16 @@ void Bu::StdStream::setSize( Bu::size ) Bu::size Bu::StdStream::getSize() const { - return 0; + return 0; } Bu::size Bu::StdStream::getBlockSize() const { - return 0; + return 0; } Bu::String Bu::StdStream::getLocation() const { - return ""; + return ""; } -- cgit v1.2.3