instruction_group_base.g.cc

Go to the documentation of this file.
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/instruction_group_base.g.hh>
00014 
00015 package(lestes);
00016 package(md);
00017 package(instructions);
00018 
00019 
00020 // ------------- Class instruction_group_base follows. -------------
00021 
00022 /*!
00023    \returns The value of instruction_group_base::instructions.
00024    \author lsg
00025  */
00026 ptr< ::lestes::std::vector< ulint > > instruction_group_base::instructions_get() const
00027 {
00028         return instructions;
00029 }
00030 
00031 /*!
00032    \param[in] x The new value to set instruction_group_base::instructions to.
00033    \author lsg
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    \returns The value of instruction_group_base::input_operand_pids.
00042    \author lsg
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    \param[in] x The new value to set instruction_group_base::input_operand_pids to.
00051    \author lsg
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    \returns The value of instruction_group_base::output_operand_pids.
00060    \author lsg
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    \param[in] x The new value to set instruction_group_base::output_operand_pids to.
00069    \author lsg
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    \returns The value of instruction_group_base::input_operand_refs.
00078    \author lsg
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    \param[in] x The new value to set instruction_group_base::input_operand_refs to.
00087    \author lsg
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    \returns The value of instruction_group_base::output_operand_refs.
00096    \author lsg
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    \param[in] x The new value to set instruction_group_base::output_operand_refs to.
00105    \author lsg
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    Generated constructor for class instruction_group_base.
00114    \author lsg
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&lt; ulint &gt;" ) );
00131                 mdl->push_back( md::create( "input_operand_pids", "vector&lt; ulint &gt;" ) );
00132                 mdl->push_back( md::create( "output_operand_pids", "vector&lt; ulint &gt;" ) );
00133                 mdl->push_back( md::create( "input_operand_refs", "vector&lt; ulint &gt;" ) );
00134                 mdl->push_back( md::create( "output_operand_refs", "vector&lt; ulint &gt;" ) );
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    Marking routine is used for garbage collection.
00160    \author lsg
00161  */
00162 void instruction_group_base::gc_mark()
00163 {
00164 	::lestes::std::object::gc_mark();
00165 }
00166 
00167 // End of class instruction_group_base.
00168 
00169 
00170 // static data members follow 
00171 ptr<object::reflection_list> instruction_group_base::reflection = reflection;
00172 
00173 end_package(instructions);
00174 end_package(md);
00175 end_package(lestes);
00176 

Generated on Mon Feb 12 18:22:36 2007 for lestes by doxygen 1.5.1-20070107