rpt_stmt_try Class Reference

#include <try.h>

Inheritance diagram for rpt_stmt_try:

rpt_stmt

Public Member Functions

virtual ~rpt_stmt_try ()

Static Public Member Functions

static pointer create (const rpt_stmt::pointer &try_clause, const rpt_expr::pointer &variable, const rpt_stmt::pointer &catch_clause)

Protected Member Functions

void run (rpt_stmt_result_ty *) const

Private Member Functions

 rpt_stmt_try (const rpt_stmt::pointer &try_clause, const rpt_expr::pointer &variable, const rpt_stmt::pointer &catch_clause)
 rpt_stmt_try ()
 rpt_stmt_try (const rpt_stmt_try &)
rpt_stmt_tryoperator= (const rpt_stmt_try &)

Private Attributes

rpt_expr::pointer variable

Detailed Description

The rpt_stmt_try class is used to represent "try" statament syntax tree nodes.

Definition at line 30 of file try.h.


Constructor & Destructor Documentation

virtual rpt_stmt_try::~rpt_stmt_try (  )  [virtual]

The destructor.

rpt_stmt_try::rpt_stmt_try ( const rpt_stmt::pointer try_clause,
const rpt_expr::pointer variable,
const rpt_stmt::pointer catch_clause 
) [private]

The constructor. It is private on purpose, use the "create" class method instead.

Parameters:
try_clause The statement to try and execute
variable The variable to receive the thrown exception
catch_clause The statement to execute if an exception is caught.

rpt_stmt_try::rpt_stmt_try (  )  [private]

The default constructor. Do not use.

rpt_stmt_try::rpt_stmt_try ( const rpt_stmt_try  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer rpt_stmt_try::create ( const rpt_stmt::pointer try_clause,
const rpt_expr::pointer variable,
const rpt_stmt::pointer catch_clause 
) [static]

The constructor. It is private on purpose, use the "create" class method instead.

Parameters:
try_clause The statement to try and execute
variable The variable to receive the thrown exception
catch_clause The statement to execute if an exception is caught.

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

The run method is used to execute the statament.

Implements rpt_stmt.

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

The assignment operator. Do not use.


Field Documentation

The "variabe" instance variable is sued to remember the variable which will be assigned the exception value when it is thrown.

Definition at line 80 of file try.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