document operator\!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-01-13 18:43:48 +00:00
parent 4850cc8b2e
commit 2bc566539b

View File

@ -80,6 +80,23 @@ public:
*/
virtual bool IsSeekable() const;
/**
Returns the opposite of IsOk().
You can use this function to test the validity of the stream as if
it was a pointer:
@code
bool DoSomething(wxInputStream& stream)
{
wxInt32 data;
if (!stream.Read(&data, 4))
return false;
...
}
@endcode
*/
bool operator!() const;
protected:
/**