Download45.com - Collection of quality software products Home | Link to us | Contact us

ModAssert 1.5.1

Click here to enlarge


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.

Developer Q-Mentum
Category Development Tools :: Debugging
Price Free
Rating
File Size 1000.74 KB
Platform Windows ME/2000/XP/2003/ Vista Starter/ Vista Home Basic/ Vista Home Premium/ Vista Business/ Vista Enterprise/ Vista Ultimate/ Vista Home Basic x64/ Vista Home Premium x64/ Vista Business x64/ Vista Enterprise x64/ Vista Ultimate x64/Unix/Linux/Linux Con
Install Support No Install Support

Download Now


Remove Duplicate Files

Related Products
Eltima Serial Port Monitor
Serial Port Monitor for professional RS232/422/485 COM ports monitoring.
Serial Monitor
Software serial port monitor Rs232 com sniffer with protocol logger and analyzer
Advanced Virtual COM Port
Create virtual COM ports connected with virtual null-modem cable, share COM port
Free Serial Port Monitor
Free Serial Port Monitor, RS232 Com Software Sniffer and Communication Analyzer
VB Decompiler
Decompiler of Visual Basic programs. Decompiling forms, p-code, native code
Virtual Null Modem
Emulate one or more couples of RS-232 ports connected via null-modem cable.
Bug Tracker Deluxe
Bug management software for software developers.
FlexTracer
Powerful tracer of DLLs and RDBMS SQL-statements
oXygen XML Editor and XSLT Debugger
Oxygen is a Java-based XML Editor and XSLT Debugger with support for XSD, DTD.
Tail XP
Ever wanted to follow a log file, capture debug messages or monitor syslog?
Google Search
Google
FREE Performance Scan!
Categories
Audio & Multimedia
Business
Communications
Desktop
Development Tools
Other
Compilers
Components & Libs
Debugging
Help Tools
IDE
Install & Setup
Management & Distribution
Education
Games
Graphics
Home & Hobby
Network & Internet
Security & Privacy
Servers
Utilities
Web Development
Miscellaneous

Sponsors

MP3 & Audio : Games : Home & Hobby : Desktop : Internet : Graphics : Utilities : Development Tools : Web Development

© 2007 Download45.com