#include <for.h>
Public Member Functions | |
virtual | ~rpt_stmt_foreach () |
Static Public Member Functions | |
static rpt_stmt::pointer | create (const rpt_expr::pointer &a, const rpt_expr::pointer &b, const rpt_stmt::pointer &body) |
Protected Member Functions | |
void | run (rpt_stmt_result_ty *) const |
Private Member Functions | |
rpt_stmt_foreach (const rpt_expr::pointer &a, const rpt_expr::pointer &b, const rpt_stmt::pointer &body) | |
rpt_stmt_foreach () | |
rpt_stmt_foreach (const rpt_stmt_foreach &) | |
rpt_stmt_foreach & | operator= (const rpt_stmt_foreach &) |
Private Attributes | |
rpt_expr::pointer | e [2] |
Definition at line 106 of file for.h.
virtual rpt_stmt_foreach::~rpt_stmt_foreach | ( | ) | [virtual] |
The destructor.
rpt_stmt_foreach::rpt_stmt_foreach | ( | const rpt_expr::pointer & | a, | |
const rpt_expr::pointer & | b, | |||
const rpt_stmt::pointer & | body | |||
) | [private] |
The constructor. It is private on purpose, use the "create" class method instead.
a | The loop variable expression | |
b | The loop list expression | |
body | The loop body ststement tree. |
rpt_stmt_foreach::rpt_stmt_foreach | ( | ) | [private] |
The default constructor. Do not use.
rpt_stmt_foreach::rpt_stmt_foreach | ( | const rpt_stmt_foreach & | ) | [private] |
The copy constructor. Do not use.
static rpt_stmt::pointer rpt_stmt_foreach::create | ( | const rpt_expr::pointer & | a, | |
const rpt_expr::pointer & | b, | |||
const rpt_stmt::pointer & | body | |||
) | [static] |
The create class method is used to create a new dynamically allocate instance of this class.
a | The loop variable expression | |
b | The loop list expression | |
body | The loop body ststement tree. |
void rpt_stmt_foreach::run | ( | rpt_stmt_result_ty * | ) | const [protected, virtual] |
The run method is used to execute the statament.
Implements rpt_stmt.
rpt_stmt_foreach& rpt_stmt_foreach::operator= | ( | const rpt_stmt_foreach & | ) | [private] |
The assignment operator. Do not use.
rpt_expr::pointer rpt_stmt_foreach::e[2] [private] |