Kaydet (Commit) 465cd3d8 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS sb59 (1.5.114); FILE MERGED

2006/08/11 15:04:28 sb 1.5.114.1: #i67487# Made code warning-free (wntmsci10).
üst bd4b626a
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: iosys.hxx,v $ * $RCSfile: iosys.hxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: hr $ $Date: 2005-09-29 16:31:38 $ * last change: $Author: obo $ $Date: 2006-10-12 14:28:26 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -78,11 +78,11 @@ public: ...@@ -78,11 +78,11 @@ public:
SbError Read( char& ); SbError Read( char& );
SbError Write( const ByteString&, USHORT = 0 ); SbError Write( const ByteString&, USHORT = 0 );
BOOL IsText() const { return !(nMode & SBSTRM_BINARY); } bool IsText() const { return (nMode & SBSTRM_BINARY) == 0; }
BOOL IsRandom() const { return (nMode & SBSTRM_RANDOM); } bool IsRandom() const { return (nMode & SBSTRM_RANDOM) != 0; }
BOOL IsBinary() const { return (nMode & SBSTRM_BINARY); } bool IsBinary() const { return (nMode & SBSTRM_BINARY) != 0; }
BOOL IsSeq() const { return !(nMode & SBSTRM_RANDOM); } bool IsSeq() const { return (nMode & SBSTRM_RANDOM) == 0; }
BOOL IsAppend() const { return (nMode & SBSTRM_APPEND); } bool IsAppend() const { return (nMode & SBSTRM_APPEND) != 0; }
short GetBlockLen() const { return nLen; } short GetBlockLen() const { return nLen; }
short GetMode() const { return nMode; } short GetMode() const { return nMode; }
ULONG GetLine() const { return nLine; } ULONG GetLine() const { return nLine; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment