#include <ss_expression.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::ss_throw:

Public Member Functions | |
| ptr< ss_type > | type_get () const |
| The method type_get returns the value of the field ss_throw::type. | |
| void | type_set (const ptr< ss_type > &) |
| The method type_set sets the field ss_throw::type to the given value. | |
| ptr< ss_expression > | value_get () const |
| The method value_get returns the value of the field ss_throw::value. | |
| void | value_set (const ptr< ss_expression > &) |
| The method value_set sets the field ss_throw::value to the given value. | |
| virtual void | accept_ss_expression_visitor (ptr< ss_expression_visitor > v) |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Static Public Member Functions | |
| static ptr< ss_throw > | create (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_type > a__ss_throw__type, ptr< ss_expression > a__ss_throw__value) |
| First generated factory method for class ss_throw. | |
Protected Member Functions | |
| ss_throw (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ptr< ss_type > a__ss_expression__type, ptr< ss_sp > a__ss_expression__psp, ptr< ss_sp > a__ss_expression__nsp, ptr< ss_type > a__ss_throw__type, ptr< ss_expression > a__ss_throw__value) | |
| Generated constructor for class ss_throw. | |
| virtual void | gc_mark () |
| Marking routine for class ss_throw. | |
Private Attributes | |
| srp< ss_type > | type |
| srp< ss_expression > | value |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
See throw_expression, ISO standard, chapter 15
Definition at line 445 of file ss_expression.g.hh.
| lestes::lang::cplus::sem::ss_throw::ss_throw | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ptr< ss_type > | a__ss_expression__type, | |||
| ptr< ss_sp > | a__ss_expression__psp, | |||
| ptr< ss_sp > | a__ss_expression__nsp, | |||
| ptr< ss_type > | a__ss_throw__type, | |||
| ptr< ss_expression > | a__ss_throw__value | |||
| ) | [protected] |
Generated constructor for class ss_throw.
Generated constructor for class ss_throw.
Definition at line 773 of file ss_expression.g.cc.
Referenced by create().
00779 : ss_expression(a__ss_base_with_location__location, 00780 a__ss_expression__type, 00781 a__ss_expression__psp, 00782 a__ss_expression__nsp), type(checked(a__ss_throw__type)), value(checked(a__ss_throw__value)) 00783 {}
| ptr< ss_type > lestes::lang::cplus::sem::ss_throw::type_get | ( | void | ) | const |
The method type_get returns the value of the field ss_throw::type.
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 713 of file ss_expression.g.cc.
References type.
00714 { 00715 return type; 00716 }
| void lestes::lang::cplus::sem::ss_throw::type_set | ( | const ptr< ss_type > & | x | ) |
The method type_set sets the field ss_throw::type to the given value.
| [in] | x | The new value to set ss_throw::type to. |
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 722 of file ss_expression.g.cc.
References type.
00723 { 00724 ss_throw::type = x; 00725 }
| ptr< ss_expression > lestes::lang::cplus::sem::ss_throw::value_get | ( | void | ) | const |
The method value_get returns the value of the field ss_throw::value.
Definition at line 731 of file ss_expression.g.cc.
References value.
00732 { 00733 return value; 00734 }
| void lestes::lang::cplus::sem::ss_throw::value_set | ( | const ptr< ss_expression > & | x | ) |
The method value_set sets the field ss_throw::value to the given value.
| [in] | x | The new value to set ss_throw::value to. |
Definition at line 740 of file ss_expression.g.cc.
References value.
00741 { 00742 ss_throw::value = x; 00743 }
| void lestes::lang::cplus::sem::ss_throw::accept_ss_expression_visitor | ( | ptr< ss_expression_visitor > | v | ) | [virtual] |
Implements lestes::lang::cplus::sem::ss_expression.
Definition at line 745 of file ss_expression.g.cc.
| ptr< ss_throw > lestes::lang::cplus::sem::ss_throw::create | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ptr< ss_type > | a__ss_expression__type, | |||
| ptr< ss_sp > | a__ss_expression__psp, | |||
| ptr< ss_sp > | a__ss_expression__nsp, | |||
| ptr< ss_type > | a__ss_throw__type, | |||
| ptr< ss_expression > | a__ss_throw__value | |||
| ) | [static] |
First generated factory method for class ss_throw.
This factory method for class ss_throw takes values of all fields as arguments.
Definition at line 754 of file ss_expression.g.cc.
References ss_throw().
00760 { 00761 return ptr< ss_throw > ( new ss_throw(a__ss_base_with_location__location, 00762 a__ss_expression__type, 00763 a__ss_expression__psp, 00764 a__ss_expression__nsp, 00765 a__ss_throw__type, 00766 a__ss_throw__value) ); 00767 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::ss_throw::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 785 of file ss_expression.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::ss_expression::reflection_get().
00786 { 00787 if (!reflection) { 00788 typedef class_reflection::field_metadata md; 00789 typedef class_reflection::field_metadata_list mdlist; 00790 ptr<mdlist> mdl = mdlist::create(); 00791 mdl->push_back( md::create( "type", "ss_type" ) ); 00792 mdl->push_back( md::create( "value", "ss_expression" ) ); 00793 reflection = reflection_list::create( ss_expression::reflection_get() ); 00794 reflection->push_back( class_reflection::create( "ss_throw", mdl ) ); 00795 } 00796 return reflection; 00797 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::ss_throw::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 799 of file ss_expression.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::ss_expression::field_values_get().
00800 { 00801 ptr < field_list_list > result = ss_expression::field_values_get(); 00802 result->push_back( value_list::create() ); 00803 result->back()->push_back( this->type ); 00804 result->push_back( value_list::create() ); 00805 result->back()->push_back( this->value ); 00806 return result; 00807 }
| void lestes::lang::cplus::sem::ss_throw::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_throw.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 814 of file ss_expression.g.cc.
References lestes::lang::cplus::sem::ss_expression::gc_mark().
00815 { 00816 ss_expression::gc_mark(); 00817 }
srp< ss_type > lestes::lang::cplus::sem::ss_throw::type [private] |
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 491 of file ss_expression.g.hh.
Referenced by type_get(), and type_set().
srp< ss_expression > lestes::lang::cplus::sem::ss_throw::value [private] |
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_throw::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_expression.
Definition at line 493 of file ss_expression.g.hh.
Referenced by reflection_get().
1.5.1-20070107