Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rpt_stmt_throw Class Reference

#include <throw.h>

Inheritance diagram for rpt_stmt_throw:
rpt_stmt

Public Member Functions

virtual ~rpt_stmt_throw ()

Static Public Member Functions

static rpt_stmt::pointer create (const rpt_expr::pointer &ep)

Protected Member Functions

void run (rpt_stmt_result_ty *) const

Private Member Functions

 rpt_stmt_throw (const rpt_expr::pointer &ep)
 rpt_stmt_throw ()
 rpt_stmt_throw (const rpt_stmt_throw &)
rpt_stmt_throwoperator= (const rpt_stmt_throw &)

Private Attributes

rpt_expr::pointer ep

Detailed Description

The rpt_stmt_throw class is used to represent a "throw" statement syntax tree node.

Definition at line 30 of file throw.h.


Constructor & Destructor Documentation

virtual rpt_stmt_throw::~rpt_stmt_throw ( ) [virtual]

The destructor.

The constructor. It's private on purpose, use the "create" class method.

Parameters:
epThe value of the exception to be thrown.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

The create class method is used to creatre new aynamically allocated instances of this class.

Parameters:
epThe value of the exception to be thrown.
rpt_stmt_throw& rpt_stmt_throw::operator= ( const rpt_stmt_throw ) [private]

The assignment operator. Do not use.

void rpt_stmt_throw::run ( rpt_stmt_result_ty ) const [protected, virtual]

The run method is used to execute the statament.

Implements rpt_stmt.


Field Documentation

The ep instance variable is used to remember the value of the exception to be thrown.

Definition at line 68 of file throw.h.


The documentation for this class was generated from the following file: