This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | AxPipe |
namespace | AxPipe::Assert |
Defines | |
#define | ASSCHK(fOk, sz) AxPipe::Assert::AssFunc(fOk, sz, _T(__FILE__), __LINE__) |
Assert any custom condition. | |
#define | ASSAPI(fOk) if ((fOk) != TRUE) AxPipe::Assert::AssFunc(false, AxPipe::Assert::LastErrorMsg(), _T(__FILE__), __LINE__) |
Assert the result from a Win32 API operation. | |
#define | ASSPTR(p) AxPipe::Assert::AssFunc((p) != NULL, _T("NULL pointer"), _T(__FILE__), __LINE__) |
Assert that a pointer is non-NULL. |
@(#)
AxPipe - Binary Stream Framework
Copyright (C) 2001 Svante Seleborg/Axon Data, All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
The author may be reached at mailto:axcrypt@axondata.se and http://axcrypt.sourceforge.net ---- AxPipeAssert.h
E-mail YYYY-MM-DD Reason axcrypt@axondata.se 2003-11-22 Initial
Definition in file AxPipeAssert.h.
|
Assert the result from a Win32 API operation. It should be called immediately after using a Win32 API function that may fail, and that sets the GetLastError() error code. The message shown will use the message defintion from Windows.
Definition at line 49 of file AxPipeAssert.h. Referenced by AxPipe::CThreadSync::CThreadSync(), AxPipe::MapUserView(), AxPipe::Stock::CPipeSHA1::OutClose(), AxPipe::Stock::CPipeHMAC_SHA1< iBits >::OutClose(), AxPipe::Stock::CPipeHMAC_SHA1< iBits >::OutOpen(), AxPipe::CSync::Signal(), AxPipe::CSync::Wait(), and AxPipe::CThreadSync::~CThreadSync(). |
|
Assert any custom condition.
Definition at line 38 of file AxPipeAssert.h. Referenced by AxPipe::CFilter::CoFilter(), AxPipe::CPipe::DestructSink(), AxPipe::CSource::Drain(), AxPipe::CJoin::GetSink(), AxPipe::CCoContext::Go(), AxPipe::Stock::CPipeInflate::OutOpen(), AxPipe::CCoContext::Stop(), and AxPipe::CJoin::StreamSeg(). |
|
Assert that a pointer is non-NULL.
Definition at line 55 of file AxPipeAssert.h. Referenced by AxPipe::Stock::CPipeInflate::Out(). |