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.

rpt_stmt_throw::rpt_stmt_throw ( const rpt_expr::pointer ep  )  [private]

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

Parameters:
ep The value of the exception to be thrown.

rpt_stmt_throw::rpt_stmt_throw (  )  [private]

The default constructor. Do not use.

rpt_stmt_throw::rpt_stmt_throw ( const rpt_stmt_throw  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_stmt::pointer rpt_stmt_throw::create ( const rpt_expr::pointer ep  )  [static]

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

Parameters:
ep The value of the exception to be thrown.

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

The run method is used to execute the statament.

Implements rpt_stmt.

rpt_stmt_throw& rpt_stmt_throw::operator= ( const rpt_stmt_throw  )  [private]

The assignment operator. Do not use.


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:

Generated on Wed Mar 12 23:37:43 2008 for Aegis by  doxygen 1.5.5