#include <while.h>
Public Member Functions | |
virtual | ~rpt_stmt_do () |
Static Public Member Functions | |
static pointer | create (const rpt_stmt::pointer &body, const rpt_expr::pointer &ep) |
Protected Member Functions | |
void | run (rpt_stmt_result_ty *) const |
Private Member Functions | |
rpt_stmt_do (const rpt_stmt::pointer &body, const rpt_expr::pointer &ep) | |
rpt_stmt_do () | |
rpt_stmt_do (const rpt_stmt_do &) | |
rpt_stmt_do & | operator= (const rpt_stmt_do &) |
Private Attributes | |
rpt_expr::pointer | condition |
Definition at line 95 of file while.h.
virtual rpt_stmt_do::~rpt_stmt_do | ( | ) | [virtual] |
The destructor.
rpt_stmt_do::rpt_stmt_do | ( | const rpt_stmt::pointer & | body, | |
const rpt_expr::pointer & | ep | |||
) | [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_do::rpt_stmt_do | ( | ) | [private] |
The default constructor. Do not use.
rpt_stmt_do::rpt_stmt_do | ( | const rpt_stmt_do & | ) | [private] |
The copy constructor. Do not use.
static pointer rpt_stmt_do::create | ( | const rpt_stmt::pointer & | body, | |
const rpt_expr::pointer & | ep | |||
) | [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_do::run | ( | rpt_stmt_result_ty * | ) | const [protected, virtual] |
The run method is used to execute the statament.
Implements rpt_stmt.
rpt_stmt_do& rpt_stmt_do::operator= | ( | const rpt_stmt_do & | ) | [private] |
The assignment operator. Do not use.
rpt_expr::pointer rpt_stmt_do::condition [private] |