00001
00002
00003
00004
00005
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/instruction_group_base.g.hh>
00014
00015 package(lestes);
00016 package(md);
00017 package(instructions);
00018
00019
00020
00021
00022
00023
00024
00025
00026 ptr< ::lestes::std::vector< ulint > > instruction_group_base::instructions_get() const
00027 {
00028 return instructions;
00029 }
00030
00031
00032
00033
00034
00035 void instruction_group_base::instructions_set(const ptr< ::lestes::std::vector< ulint > > & x)
00036 {
00037 instruction_group_base::instructions = x;
00038 }
00039
00040
00041
00042
00043
00044 ptr< ::lestes::std::vector< ulint > > instruction_group_base::input_operand_pids_get() const
00045 {
00046 return input_operand_pids;
00047 }
00048
00049
00050
00051
00052
00053 void instruction_group_base::input_operand_pids_set(const ptr< ::lestes::std::vector< ulint > > & x)
00054 {
00055 instruction_group_base::input_operand_pids = x;
00056 }
00057
00058
00059
00060
00061
00062 ptr< ::lestes::std::vector< ulint > > instruction_group_base::output_operand_pids_get() const
00063 {
00064 return output_operand_pids;
00065 }
00066
00067
00068
00069
00070
00071 void instruction_group_base::output_operand_pids_set(const ptr< ::lestes::std::vector< ulint > > & x)
00072 {
00073 instruction_group_base::output_operand_pids = x;
00074 }
00075
00076
00077
00078
00079
00080 ptr< ::lestes::std::vector< ulint > > instruction_group_base::input_operand_refs_get() const
00081 {
00082 return input_operand_refs;
00083 }
00084
00085
00086
00087
00088
00089 void instruction_group_base::input_operand_refs_set(const ptr< ::lestes::std::vector< ulint > > & x)
00090 {
00091 instruction_group_base::input_operand_refs = x;
00092 }
00093
00094
00095
00096
00097
00098 ptr< ::lestes::std::vector< ulint > > instruction_group_base::output_operand_refs_get() const
00099 {
00100 return output_operand_refs;
00101 }
00102
00103
00104
00105
00106
00107 void instruction_group_base::output_operand_refs_set(const ptr< ::lestes::std::vector< ulint > > & x)
00108 {
00109 instruction_group_base::output_operand_refs = x;
00110 }
00111
00112
00113
00114
00115
00116 instruction_group_base::instruction_group_base (ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__instructions,
00117 ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__input_operand_pids,
00118 ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__output_operand_pids,
00119 ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__input_operand_refs,
00120 ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__output_operand_refs)
00121 : ::lestes::std::object(), instructions(checked(a__instruction_group_base__instructions)), input_operand_pids(checked(a__instruction_group_base__input_operand_pids)), output_operand_pids(checked(a__instruction_group_base__output_operand_pids)), input_operand_refs(checked(a__instruction_group_base__input_operand_refs)), output_operand_refs(checked(a__instruction_group_base__output_operand_refs))
00122 {}
00123
00124 ptr< object::reflection_list > instruction_group_base::reflection_get() const
00125 {
00126 if (!reflection) {
00127 typedef class_reflection::field_metadata md;
00128 typedef class_reflection::field_metadata_list mdlist;
00129 ptr<mdlist> mdl = mdlist::create();
00130 mdl->push_back( md::create( "instructions", "vector< ulint >" ) );
00131 mdl->push_back( md::create( "input_operand_pids", "vector< ulint >" ) );
00132 mdl->push_back( md::create( "output_operand_pids", "vector< ulint >" ) );
00133 mdl->push_back( md::create( "input_operand_refs", "vector< ulint >" ) );
00134 mdl->push_back( md::create( "output_operand_refs", "vector< ulint >" ) );
00135 reflection = reflection_list::create( ::lestes::std::object::reflection_get() );
00136 reflection->push_back( class_reflection::create( "instruction_group_base", mdl ) );
00137 }
00138 return reflection;
00139 }
00140
00141 ptr< object::field_list_list > instruction_group_base::field_values_get() const
00142 {
00143 ptr < field_list_list > result = ::lestes::std::object::field_values_get();
00144 result->push_back( value_list::create() );
00145 result->back()->push_back( this->instructions );
00146 result->push_back( value_list::create() );
00147 result->back()->push_back( this->input_operand_pids );
00148 result->push_back( value_list::create() );
00149 result->back()->push_back( this->output_operand_pids );
00150 result->push_back( value_list::create() );
00151 result->back()->push_back( this->input_operand_refs );
00152 result->push_back( value_list::create() );
00153 result->back()->push_back( this->output_operand_refs );
00154 return result;
00155 }
00156
00157
00158
00159
00160
00161
00162 void instruction_group_base::gc_mark()
00163 {
00164 ::lestes::std::object::gc_mark();
00165 }
00166
00167
00168
00169
00170
00171 ptr<object::reflection_list> instruction_group_base::reflection = reflection;
00172
00173 end_package(instructions);
00174 end_package(md);
00175 end_package(lestes);
00176