00001 // This file is automatically generated, do not edit. 00002 00003 /*! 00004 \file 00005 \author jaz 00006 */ 00007 00008 00009 #include <lestes/std/list.hh> 00010 #include <lestes/std/pair.hh> 00011 #include <lestes/std/reflect.hh> 00012 00013 #include <lestes/md/instructions/execution_info.g.hh> 00014 00015 package(lestes); 00016 package(md); 00017 package(instructions); 00018 00019 00020 // ------------- Class execution_info follows. ------------- 00021 00022 /*! 00023 \returns The value of execution_info::etime. 00024 \author lsg 00025 */ 00026 ulint execution_info::etime_get() const 00027 { 00028 return etime; 00029 } 00030 00031 /*! 00032 \param[in] x The new value to set execution_info::etime to. 00033 \author lsg 00034 */ 00035 void execution_info::etime_set(ulint x) 00036 { 00037 execution_info::etime = x; 00038 } 00039 00040 /*! 00041 This factory method for class execution_info takes values of all fields as arguments. 00042 \author lsg 00043 */ 00044 ptr< execution_info > execution_info::create(ulint a__execution_info__etime) 00045 { 00046 return ptr< execution_info > ( new execution_info(a__execution_info__etime) ); 00047 } 00048 00049 /*! 00050 Generated constructor for class execution_info. 00051 \author lsg 00052 */ 00053 execution_info::execution_info (ulint a__execution_info__etime) 00054 : ::lestes::std::object(), etime(a__execution_info__etime) 00055 {} 00056 00057 ptr< object::reflection_list > execution_info::reflection_get() const 00058 { 00059 if (!reflection) { 00060 typedef class_reflection::field_metadata md; 00061 typedef class_reflection::field_metadata_list mdlist; 00062 ptr<mdlist> mdl = mdlist::create(); 00063 mdl->push_back( md::create( "etime", "ulint" ) ); 00064 reflection = reflection_list::create( ::lestes::std::object::reflection_get() ); 00065 reflection->push_back( class_reflection::create( "execution_info", mdl ) ); 00066 } 00067 return reflection; 00068 } 00069 00070 ptr< object::field_list_list > execution_info::field_values_get() const 00071 { 00072 ptr < field_list_list > result = ::lestes::std::object::field_values_get(); 00073 result->push_back( value_list::create() ); 00074 result->back()->push_back( objectize< ulint > ::create( this->etime ) ); 00075 return result; 00076 } 00077 00078 00079 /*! 00080 Marking routine is used for garbage collection. 00081 \author lsg 00082 */ 00083 void execution_info::gc_mark() 00084 { 00085 ::lestes::std::object::gc_mark(); 00086 } 00087 00088 // End of class execution_info. 00089 00090 00091 // static data members follow 00092 ptr<object::reflection_list> execution_info::reflection = reflection; 00093 00094 end_package(instructions); 00095 end_package(md); 00096 end_package(lestes); 00097
1.5.1-20070107