Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 6, 2010, 3:51:29 PM (14 years ago)
Author:
rgrieder
Message:

Added Doxygen documentation for ExprParser, MathConvert, OrxEnum, OrxAssert and TriBool.
Adjusted Doxygen documentation for Clock and Exception.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/libraries/util/OrxAssert.h

    r6105 r7367  
    4141#include "OutputHandler.h"
    4242
    43 // define an assert macro that can display a message
    4443#ifndef NDEBUG
     44/** Run time assertion like assert(), but with an embedded message.
     45@details
     46    The message will be printed as error with COUT(1). <br>
     47    You can use the same magic here as you can with \ref ThrowException
     48    @code
     49        OrxAssert(condition, "Text: " << number << " more text");
     50    @endcode
     51*/
    4552#define OrxAssert(Assertion, ErrorMessage) \
    4653    Assertion ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream(1) << ErrorMessage << std::endl); \
Note: See TracChangeset for help on using the changeset viewer.