#include <while.h>
Public Member Functions | |
virtual | ~rpt_stmt_while () |
Static Public Member Functions | |
static pointer | create (const rpt_expr::pointer &ep, const rpt_stmt::pointer &body) |
Protected Member Functions | |
void | run (rpt_stmt_result_ty *) const |
Private Member Functions | |
rpt_stmt_while (const rpt_expr::pointer &ep, const rpt_stmt::pointer &body) | |
rpt_stmt_while () | |
rpt_stmt_while (const rpt_stmt_while &) | |
rpt_stmt_while & | operator= (const rpt_stmt_while &) |
Private Attributes | |
rpt_expr::pointer | condition |
Definition at line 30 of file while.h.
virtual rpt_stmt_while::~rpt_stmt_while | ( | ) | [virtual] |
The destructor.
rpt_stmt_while::rpt_stmt_while | ( | const rpt_expr::pointer & | ep, | |
const rpt_stmt::pointer & | body | |||
) | [private] |
The constructor. It is private on purpose, use the "create" class method instead.
ep | The loop constrol expression | |
body | The loop body |
rpt_stmt_while::rpt_stmt_while | ( | ) | [private] |
The default constructor. Do not use.
rpt_stmt_while::rpt_stmt_while | ( | const rpt_stmt_while & | ) | [private] |
The copy constructor. Do not use.
static pointer rpt_stmt_while::create | ( | const rpt_expr::pointer & | ep, | |
const rpt_stmt::pointer & | body | |||
) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
ep | The loop constrol expression | |
body | The loop body |
void rpt_stmt_while::run | ( | rpt_stmt_result_ty * | ) | const [protected, virtual] |
The run method is used to execute the statament.
Implements rpt_stmt.
rpt_stmt_while& rpt_stmt_while::operator= | ( | const rpt_stmt_while & | ) | [private] |
The assignment operator. Do not use.
rpt_expr::pointer rpt_stmt_while::condition [private] |