ModAssert 1.5.1 Publisher Review:
This is an advanced portable C++ library with 80 variations of the ASSERT macro, to add expressions, levels and optional actions. 48 are modular because they can also use Rich Booleans, allowing much more combinations than non-modular ASSERT macros.
This is an advanced portable C++ library with 80 variations of the ASSERT macro, to add expressions, levels and optional actions. 48 are modular because they can also use Rich Booleans, allowing much more combinations than non-modular ASSERT macros. It is very flexible because it allows you to create custom loggers and assertion displayers, but you can also use the provided ones for Windows, wxWidgets or console applications. The loggers and displayers show extra information, like the date and time, the thread id, the current working directory, etc. and you can add infoprovider objects to ModAssert, to provide similar custom information.
Its five basic assertions are: MOD_ASSERT, (removed by the preprocessor in non-debug builds), MOD_VERIFY, (evaluates its condition in non-debug builds), MOD_CHECK, that has a failure action, MOD_FAIL (equivalent to MOD_ASSERT(false)) and MOD_CHECK_FAIL (equivalent to MOD_CHECK(false)).
It is very reliable and portable, as it has been tested with five different compilers (VC++ 6.0, .NET 2003, .NET 2005, gcc on Windows and Linux), with nearly all warnings enabled.
The Rich Booleans can do all kinds of checks and generate elaborate information:
* Relations between two objects: rbEQUAL, rbLESS, ...
* Bitwise comparisons: rbEQUAL_BITWISE, rbBITS_ON, rbBITS_OFF, ...
* Type checking (with RTTI): rbEQUAL_TYPES, rbHAS_TYPE, ...
* Working on ranges and containers: rbIN_RANGE, rbIN_RANGES, rbIN_CONTAINER, rbIN_CONTAINERS, ... These have an extra argument that tells what kind of check to do, e.g. Sorted, Compare, Has, Unique, ...
* String comparisons: rbSTRING, rbSTRING_BEGINS_WITH, rbSTRING_ENDS_WITH, rbSTRING_CONTAINS. These have an extra argument that tells what kind of check to do, e.g. case sensitive or not.
* Logical expressions: rbAND, rbOR, rbXOR. These can have Rich Booleans or plain boolean expressions as their arguments.
* Exceptions: rbEXCEPTION takes an exception as its argument, and uses the information in it.ModAssert 1.5.1 details and screenshot
RECOMMENDED TOOLS
Related tags:
Related downloads
Access to SQL2000 3.11
Access to SQL2000 is a program to move MS Access databases to MS SQL server.
Price: 20.00$, Rating: 5, Downloads: 1150
Access to SQL2000 is a program to move MS Access databases to MS SQL server.
Price: 20.00$, Rating: 5, Downloads: 1150
Access Query Analyzer 1.7
Access Query Analyzer tool for writing and debugging ms-access sql statements.
Price: 20.00$, Rating: 6, Downloads: 1144
Access Query Analyzer tool for writing and debugging ms-access sql statements.
Price: 20.00$, Rating: 6, Downloads: 1144
wAPI Monitor 2000 3.1
wAPI Monitor is a small utility that allows you to monitor debugger messages
Price: $, Rating: 6, Downloads: 1124
wAPI Monitor is a small utility that allows you to monitor debugger messages
Price: $, Rating: 6, Downloads: 1124
Hexdataedit 1.11
Edit or view binary data file in bytes integer float string etc. as data debug.
Price: 49.80$, Rating: 10, Downloads: 1079
Edit or view binary data file in bytes integer float string etc. as data debug.
Price: 49.80$, Rating: 10, Downloads: 1079
Visual LogParser 1.0
Friendly graphical user interface GUI to query any log files with SQL syntax.
Price: 0$, Rating: 10, Downloads: 1057
Friendly graphical user interface GUI to query any log files with SQL syntax.
Price: 0$, Rating: 10, Downloads: 1057
Eltima Serial Port Monitor 1.2
Serial Port Monitor for professional RS232/422/485 COM ports monitoring.
Price: 79.95$, Rating: 2.5, Downloads: 1034
Serial Port Monitor for professional RS232/422/485 COM ports monitoring.
Price: 79.95$, Rating: 2.5, Downloads: 1034
scriptdebugger 1.0
ScriptDebugger is a small and FREE debugger tool that you can use for help when
Price: free$, Rating: 7, Downloads: 1028
ScriptDebugger is a small and FREE debugger tool that you can use for help when
Price: free$, Rating: 7, Downloads: 1028

