00001 // This file is automatically generated, do not edit. 00002 00003 #include <lestes/lang/cplus/sem/as_decl.g.hh> 00004 #include <lestes/lang/cplus/sem/ss_declaration.g.hh> 00005 #include <lestes/lang/cplus/sem/ss_misc.g.hh> 00006 #include <lestes/std/set.hh> 00007 #include <lestes/std/source_location.hh> 00008 00009 #include <lestes/std/list.hh> 00010 #include <lestes/std/pair.hh> 00011 #include <lestes/std/reflect.hh> 00012 00013 #include <lestes/lang/cplus/sem/li_by_name_in_single_scope.g.hh> 00014 00015 package(lestes); 00016 package(lang); 00017 package(cplus); 00018 package(sem); 00019 00020 00021 // ------------- Class li_by_name_in_single_scope follows. ------------- 00022 00023 /*! 00024 Static field li_by_name_in_single_scope::the_instance. 00025 \author lsg 00026 */ 00027 ptr< li_by_name_in_single_scope > li_by_name_in_single_scope::the_instance = the_instance; 00028 00029 /*! 00030 Generated instance() method for singleton class li_by_name_in_single_scope. 00031 \author lsg 00032 */ 00033 ptr< li_by_name_in_single_scope > li_by_name_in_single_scope::instance() 00034 { 00035 return the_instance ? the_instance : the_instance = new li_by_name_in_single_scope(); 00036 } 00037 00038 /*! 00039 Generated constructor for class li_by_name_in_single_scope. 00040 \author lsg 00041 */ 00042 li_by_name_in_single_scope::li_by_name_in_single_scope () 00043 : object() 00044 {} 00045 00046 ptr< object::reflection_list > li_by_name_in_single_scope::reflection_get() const 00047 { 00048 if (!reflection) { 00049 typedef class_reflection::field_metadata md; 00050 typedef class_reflection::field_metadata_list mdlist; 00051 ptr<mdlist> mdl = mdlist::create(); 00052 reflection = reflection_list::create( ::lestes::std::object::reflection_get() ); 00053 reflection->push_back( class_reflection::create( "li_by_name_in_single_scope", mdl ) ); 00054 } 00055 return reflection; 00056 } 00057 00058 ptr< object::field_list_list > li_by_name_in_single_scope::field_values_get() const 00059 { 00060 ptr < field_list_list > result = ::lestes::std::object::field_values_get(); 00061 return result; 00062 } 00063 00064 00065 /*! 00066 Marking routine is used for garbage collection. 00067 \author lsg 00068 */ 00069 void li_by_name_in_single_scope::gc_mark() 00070 { 00071 ::lestes::std::object::gc_mark(); 00072 } 00073 00074 // End of class li_by_name_in_single_scope. 00075 00076 00077 // static data members follow 00078 ptr<object::reflection_list> li_by_name_in_single_scope::reflection = reflection; 00079 00080 end_package(sem); 00081 end_package(cplus); 00082 end_package(lang); 00083 end_package(lestes); 00084
1.5.1-20070107