#include "suifkernel_forwarders.h"
Go to the source code of this file.
Compounds | |
class | SuifKernelMessage |
Defines | |
#define | SUIF_MODULE "Unknown" |
#define | suif_assert( expr ) if (expr) ; else SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).assert_message("") |
Assert that the expression is true. More... | |
#define | suif_assert_message( expr, params ) if (expr) ; else SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).assert_message params |
Assert that the expression is true. More... | |
#define | suif_assert_on_object( expr, obj ) if (expr) ; else SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).assert_message_on_object("", obj) ; |
Assert that the expression is true. More... | |
#define | suif_assert_message_on_object( expr, params ) if (expr) ; else SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).assert_message_on_object params ; |
Assert that the expression is true. More... | |
#define | suif_error delete SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).error |
An error has occurred. More... | |
#define | suif_warning delete SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).warning |
An unexpected event has occurred that can be dealt with in a safe way print a message about it to warn the user that there is a problem but processing can continue. More... | |
#define | suif_information delete SuifKernelMessage::create( __FILE__, __LINE__, SUIF_MODULE ).information |
Print information pertaining to a given SuifObject or environment. More... |
|
|
Assert that the expression is true.
If it is not, expect the system to halt
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert( value == 0 );
|
Assert that the expression is true.
If it is not, print a message
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_message( value == 0, ("Value(%d) != 0\n", value))
|
Assert that the expression is true.
If it is not, print a message that contains information about a relevant object and some other user-defined code.
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_message_on_object( value == 0, ( suif_obj, "message %s", str) );
|
Assert that the expression is true.
If it is not, print a message that contains information about a relevant object
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_on_object( value == 0, suif_obj );
|
An error has occurred.
print a message, possibly about a suifobject that it occurred on Expect that the system may stop.
suif_error("error message %s", str) suif_error(suif_env, "error message %s", str) suif_error(suif_obj, "error message %s", str)
|
Print information pertaining to a given SuifObject or environment.
suif_information("info message %s", str) suif_information(suif_env, "info message %s", str) suif_information(suif_obj, "info message %s", str)
|
An unexpected event has occurred that can be dealt with in a safe way print a message about it to warn the user that there is a problem but processing can continue.
suif_warning("warning message %s", str) suif_warning(suif_env, "warning message %s", str) suif_warning(suif_obj, "warning message %s", str)