Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::PragmaAssert Class Reference

comma::PragmaAssert Class Reference

#include <Pragma.h>

Inheritance diagram for comma::PragmaAssert:
Inheritance graph
[legend]
Collaboration diagram for comma::PragmaAssert:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PragmaAssert (Location loc, Expr *condition, Expr *message=0)
bool hasMessage () const
 Returns true if this assertion has been associated with a message.
void setCondition (Expr *condition)
 Sets the condition of this assertion.
void setMessage (Expr *message)
 Sets the message of this assertion.



const ExprgetCondition () const
 Returns the condition this assertion tests.
ExprgetCondition ()
 Returns the condition this assertion tests.
const ExprgetMessage () const
ExprgetMessage ()
 Returns the condition this assertion tests.

Static Public Member Functions

static bool classof (const PragmaAssert *pragma)
static bool classof (const Pragma *pragma)

Detailed Description

Definition at line 71 of file Pragma.h.


Constructor & Destructor Documentation

comma::PragmaAssert::PragmaAssert ( Location  loc,
Expr condition,
Expr message = 0 
) [inline]

Definition at line 74 of file Pragma.h.


Member Function Documentation

static bool comma::PragmaAssert::classof ( const Pragma pragma  )  [inline, static]

Definition at line 103 of file Pragma.h.

static bool comma::PragmaAssert::classof ( const PragmaAssert pragma  )  [inline, static]

Reimplemented from comma::Pragma.

Definition at line 102 of file Pragma.h.

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:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1