comma::PragmaAssert Class Reference
#include <Pragma.h>
List of all members.
Detailed Description
Definition at line 71 of file Pragma.h.
Constructor & Destructor Documentation
comma::PragmaAssert::PragmaAssert |
( |
Location |
loc, |
|
|
Expr * |
condition, |
|
|
Expr * |
message = 0 | |
|
) |
| | [inline] |
Member Function Documentation
static bool comma::PragmaAssert::classof |
( |
const Pragma * |
pragma |
) |
[inline, static] |
static bool comma::PragmaAssert::classof |
( |
const PragmaAssert * |
pragma |
) |
[inline, static] |
Expr* comma::PragmaAssert::getCondition |
( |
|
) |
[inline] |
Returns the condition this assertion tests.
Definition at line 82 of file Pragma.h.
const Expr* comma::PragmaAssert::getCondition |
( |
|
) |
const [inline] |
Returns the condition this assertion tests.
Definition at line 81 of file Pragma.h.
Expr* comma::PragmaAssert::getMessage |
( |
|
) |
[inline] |
Returns the condition this assertion tests.
Definition at line 89 of file Pragma.h.
const Expr* comma::PragmaAssert::getMessage |
( |
|
) |
const [inline] |
Returns the message associated with this assertion or null if there is no such message.
Definition at line 88 of file Pragma.h.
bool comma::PragmaAssert::hasMessage |
( |
|
) |
const [inline] |
Returns true if this assertion has been associated with a message.
Definition at line 93 of file Pragma.h.
void comma::PragmaAssert::setCondition |
( |
Expr * |
condition |
) |
[inline] |
Sets the condition of this assertion.
Definition at line 96 of file Pragma.h.
void comma::PragmaAssert::setMessage |
( |
Expr * |
message |
) |
[inline] |
Sets the message of this assertion.
Definition at line 99 of file Pragma.h.
The documentation for this class was generated from the following file: