#include <ss_misc.g.hh>
Inheritance diagram for lestes::lang::cplus::sem::ss_id_label:

Public Member Functions | |
| ucn_string | name_get () const |
| The method name_get returns the value of the field ss_id_label::name. | |
| void | name_set (ucn_string) |
| The method name_set sets the field ss_id_label::name to the given value. | |
| ptr< ss_function_declaration > | function_get () const |
| The method function_get returns the value of the field ss_id_label::function. | |
| void | function_set (const ptr< ss_function_declaration > &) |
| The method function_set sets the field ss_id_label::function to the given value. | |
| 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_id_label > | create (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ucn_string a__ss_id_label__name, ptr< ss_function_declaration > a__ss_id_label__function) |
| First generated factory method for class ss_id_label. | |
Protected Member Functions | |
| ss_id_label (ptr< ::lestes::std::source_location > a__ss_base_with_location__location, ucn_string a__ss_id_label__name, ptr< ss_function_declaration > a__ss_id_label__function) | |
| Generated constructor for class ss_id_label. | |
| virtual void | gc_mark () |
| Marking routine for class ss_id_label. | |
Private Attributes | |
| ucn_string | name |
| srp< ss_function_declaration > | function |
| Reference to function containing this label. | |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 534 of file ss_misc.g.hh.
| lestes::lang::cplus::sem::ss_id_label::ss_id_label | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ucn_string | a__ss_id_label__name, | |||
| ptr< ss_function_declaration > | a__ss_id_label__function | |||
| ) | [protected] |
Generated constructor for class ss_id_label.
Generated constructor for class ss_id_label.
Definition at line 863 of file ss_misc.g.cc.
Referenced by create().
00866 : ss_label(a__ss_base_with_location__location), name(a__ss_id_label__name), function(checked(a__ss_id_label__function)) 00867 {}
| ucn_string lestes::lang::cplus::sem::ss_id_label::name_get | ( | void | ) | const |
The method name_get returns the value of the field ss_id_label::name.
Definition at line 814 of file ss_misc.g.cc.
References name.
00815 { 00816 return name; 00817 }
| void lestes::lang::cplus::sem::ss_id_label::name_set | ( | ucn_string | x | ) |
The method name_set sets the field ss_id_label::name to the given value.
| [in] | x | The new value to set ss_id_label::name to. |
Definition at line 823 of file ss_misc.g.cc.
References name.
00824 { 00825 ss_id_label::name = x; 00826 }
| ptr< ss_function_declaration > lestes::lang::cplus::sem::ss_id_label::function_get | ( | ) | const |
The method function_get returns the value of the field ss_id_label::function.
Definition at line 832 of file ss_misc.g.cc.
References function.
00833 { 00834 return function; 00835 }
| void lestes::lang::cplus::sem::ss_id_label::function_set | ( | const ptr< ss_function_declaration > & | x | ) |
The method function_set sets the field ss_id_label::function to the given value.
| [in] | x | The new value to set ss_id_label::function to. |
Definition at line 841 of file ss_misc.g.cc.
References function.
00842 { 00843 ss_id_label::function = x; 00844 }
| ptr< ss_id_label > lestes::lang::cplus::sem::ss_id_label::create | ( | ptr< ::lestes::std::source_location > | a__ss_base_with_location__location, | |
| ucn_string | a__ss_id_label__name, | |||
| ptr< ss_function_declaration > | a__ss_id_label__function | |||
| ) | [static] |
First generated factory method for class ss_id_label.
This factory method for class ss_id_label takes values of all fields as arguments.
Definition at line 850 of file ss_misc.g.cc.
References ss_id_label().
00853 { 00854 return ptr< ss_id_label > ( new ss_id_label(a__ss_base_with_location__location, 00855 a__ss_id_label__name, 00856 a__ss_id_label__function) ); 00857 }
| ptr< object::reflection_list > lestes::lang::cplus::sem::ss_id_label::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_label.
Definition at line 869 of file ss_misc.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::lang::cplus::sem::ss_label::reflection_get().
00870 { 00871 if (!reflection) { 00872 typedef class_reflection::field_metadata md; 00873 typedef class_reflection::field_metadata_list mdlist; 00874 ptr<mdlist> mdl = mdlist::create(); 00875 mdl->push_back( md::create( "name", "ucn_string" ) ); 00876 mdl->push_back( md::create( "function", "ss_function_declaration" ) ); 00877 reflection = reflection_list::create( ss_label::reflection_get() ); 00878 reflection->push_back( class_reflection::create( "ss_id_label", mdl ) ); 00879 } 00880 return reflection; 00881 }
| ptr< object::field_list_list > lestes::lang::cplus::sem::ss_id_label::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::lang::cplus::sem::ss_label.
Definition at line 883 of file ss_misc.g.cc.
References lestes::std::list< T >::create(), and lestes::lang::cplus::sem::ss_label::field_values_get().
00884 { 00885 ptr < field_list_list > result = ss_label::field_values_get(); 00886 result->push_back( value_list::create() ); 00887 result->back()->push_back( objectize< ucn_string > ::create( this->name ) ); 00888 result->push_back( value_list::create() ); 00889 result->back()->push_back( this->function ); 00890 return result; 00891 }
| void lestes::lang::cplus::sem::ss_id_label::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class ss_id_label.
Marking routine is used for garbage collection.
Reimplemented from lestes::lang::cplus::sem::ss_label.
Definition at line 898 of file ss_misc.g.cc.
References lestes::lang::cplus::sem::ss_label::gc_mark().
00899 { 00900 ss_label::gc_mark(); 00901 }
ucn_string lestes::lang::cplus::sem::ss_id_label::name [private] |
srp< ss_function_declaration > lestes::lang::cplus::sem::ss_id_label::function [private] |
Reference to function containing this label.
Definition at line 575 of file ss_misc.g.hh.
Referenced by function_get(), and function_set().
ptr< object::reflection_list > lestes::lang::cplus::sem::ss_id_label::reflection = reflection [static, private] |
Reimplemented from lestes::lang::cplus::sem::ss_label.
Definition at line 576 of file ss_misc.g.hh.
Referenced by reflection_get().
1.5.1-20070107