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