lestes::lang::cplus::sem::as_try_block_statement Class Reference

#include <as_statements.g.hh>

Inheritance diagram for lestes::lang::cplus::sem::as_try_block_statement:

lestes::lang::cplus::sem::as_statement lestes::intercode::as_base lestes::intercode::intercode lestes::std::object lestes::std::mem::keystone List of all members.

Public Member Functions

ptr< as_compound_statementstatement_get () const
 The method statement_get returns the value of the field as_try_block_statement::statement.
void statement_set (const ptr< as_compound_statement > &)
 The method statement_set sets the field as_try_block_statement::statement to the given value.
ptr< ::lestes::std::list<
srp< as_handler > > > 
handlers_get () const
 The method handlers_get returns the value of the field as_try_block_statement::handlers.
void handlers_set (const ptr< ::lestes::std::list< srp< as_handler > > > &)
 The method handlers_set sets the field as_try_block_statement::handlers to the given value.
virtual void accept_as_statement_visitor (ptr< as_statement_visitor > v)
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< as_try_block_statementcreate (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_compound_statement > a__as_try_block_statement__statement, ptr< ::lestes::std::list< srp< as_handler > > > a__as_try_block_statement__handlers)
 First generated factory method for class as_try_block_statement.

Protected Member Functions

 as_try_block_statement (ptr< ::lestes::std::source_location > a__as_base__location, ptr< as_compound_statement > a__as_try_block_statement__statement, ptr< ::lestes::std::list< srp< as_handler > > > a__as_try_block_statement__handlers)
 Generated constructor for class as_try_block_statement.
virtual void gc_mark ()
 Marking routine for class as_try_block_statement.

Private Attributes

srp< as_compound_statementstatement
srp< ::lestes::std::list<
srp< as_handler > > > 
handlers

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Definition at line 1065 of file as_statements.g.hh.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::as_try_block_statement::as_try_block_statement ( ptr< ::lestes::std::source_location a__as_base__location,
ptr< as_compound_statement a__as_try_block_statement__statement,
ptr< ::lestes::std::list< srp< as_handler > > >  a__as_try_block_statement__handlers 
) [protected]

Generated constructor for class as_try_block_statement.

Generated constructor for class as_try_block_statement.

Author:
lsg

Definition at line 2085 of file as_statements.g.cc.

Referenced by create().

02088         : as_statement(a__as_base__location), statement(checked(a__as_try_block_statement__statement)), handlers(checked(a__as_try_block_statement__handlers))
02089 {}


Member Function Documentation

ptr< as_compound_statement > lestes::lang::cplus::sem::as_try_block_statement::statement_get (  )  const

The method statement_get returns the value of the field as_try_block_statement::statement.

Returns:
The value of as_try_block_statement::statement.
Author:
lsg

Definition at line 2031 of file as_statements.g.cc.

References statement.

02032 {
02033         return statement;
02034 }

void lestes::lang::cplus::sem::as_try_block_statement::statement_set ( const ptr< as_compound_statement > &  x  ) 

The method statement_set sets the field as_try_block_statement::statement to the given value.

Parameters:
[in] x The new value to set as_try_block_statement::statement to.
Author:
lsg

Definition at line 2040 of file as_statements.g.cc.

References statement.

02041 {
02042         as_try_block_statement::statement = x;
02043 }

ptr<::lestes::std::list< srp< as_handler > > > lestes::lang::cplus::sem::as_try_block_statement::handlers_get (  )  const

The method handlers_get returns the value of the field as_try_block_statement::handlers.

Returns:
The value of as_try_block_statement::handlers.
Author:
lsg

Definition at line 2049 of file as_statements.g.cc.

References handlers.

02050 {
02051         return handlers;
02052 }

void lestes::lang::cplus::sem::as_try_block_statement::handlers_set ( const ptr< ::lestes::std::list< srp< as_handler > > > &  x  ) 

The method handlers_set sets the field as_try_block_statement::handlers to the given value.

Parameters:
[in] x The new value to set as_try_block_statement::handlers to.
Author:
lsg

Definition at line 2058 of file as_statements.g.cc.

References handlers.

02059 {
02060         as_try_block_statement::handlers = x;
02061 }

void lestes::lang::cplus::sem::as_try_block_statement::accept_as_statement_visitor ( ptr< as_statement_visitor v  )  [virtual]

Implements lestes::lang::cplus::sem::as_statement.

Definition at line 2063 of file as_statements.g.cc.

02064 {
02065         return v->visit_as_try_block_statement( this );
02066 }

ptr< as_try_block_statement > lestes::lang::cplus::sem::as_try_block_statement::create ( ptr< ::lestes::std::source_location a__as_base__location,
ptr< as_compound_statement a__as_try_block_statement__statement,
ptr< ::lestes::std::list< srp< as_handler > > >  a__as_try_block_statement__handlers 
) [static]

First generated factory method for class as_try_block_statement.

This factory method for class as_try_block_statement takes values of all fields as arguments.

Author:
lsg

Definition at line 2072 of file as_statements.g.cc.

References as_try_block_statement().

02075 {
02076         return ptr< as_try_block_statement > ( new as_try_block_statement(a__as_base__location,
02077                 a__as_try_block_statement__statement,
02078                 a__as_try_block_statement__handlers) );
02079 }

ptr< object::reflection_list > lestes::lang::cplus::sem::as_try_block_statement::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::as_statement.

Definition at line 2091 of file as_statements.g.cc.

References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::as_statement::reflection_get().

02092 {
02093         if (!reflection) {
02094                 typedef class_reflection::field_metadata md;
02095                 typedef class_reflection::field_metadata_list mdlist;
02096                 ptr<mdlist> mdl = mdlist::create();
02097                 mdl->push_back( md::create( "statement", "as_compound_statement" ) );
02098                 mdl->push_back( md::create( "handlers", "list&lt; srp&lt; as_handler &gt; &gt;" ) );
02099                 reflection = reflection_list::create( as_statement::reflection_get() );
02100                 reflection->push_back( class_reflection::create( "as_try_block_statement", mdl ) );
02101         }
02102         return reflection;
02103 }

ptr< object::field_list_list > lestes::lang::cplus::sem::as_try_block_statement::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::lang::cplus::sem::as_statement.

Definition at line 2105 of file as_statements.g.cc.

References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::as_statement::field_values_get().

02106 {
02107         ptr < field_list_list > result = as_statement::field_values_get();
02108         result->push_back( value_list::create() );
02109         result->back()->push_back( this->statement );
02110         result->push_back( value_list::create() );
02111         result->back()->push_back( this->handlers );
02112         return result;
02113 }

void lestes::lang::cplus::sem::as_try_block_statement::gc_mark ( void   )  [protected, virtual]

Marking routine for class as_try_block_statement.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::lang::cplus::sem::as_statement.

Definition at line 2120 of file as_statements.g.cc.

References lestes::lang::cplus::sem::as_statement::gc_mark().

02121 {
02122         as_statement::gc_mark();
02123 }


Member Data Documentation

srp< as_compound_statement > lestes::lang::cplus::sem::as_try_block_statement::statement [private]

Definition at line 1105 of file as_statements.g.hh.

Referenced by statement_get(), and statement_set().

srp< ::lestes::std::list< srp< as_handler > > > lestes::lang::cplus::sem::as_try_block_statement::handlers [private]

Definition at line 1106 of file as_statements.g.hh.

Referenced by handlers_get(), and handlers_set().

ptr< object::reflection_list > lestes::lang::cplus::sem::as_try_block_statement::reflection = reflection [static, private]

Reimplemented from lestes::lang::cplus::sem::as_statement.

Definition at line 1107 of file as_statements.g.hh.

Referenced by reflection_get().


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:24:53 2007 for lestes by doxygen 1.5.1-20070107