visitor_ge_operand2asm.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 #include <lestes/backend_v2/intercode/ge.g.hh>
00009 
00010 #include <lestes/std/list.hh>
00011 #include <lestes/std/pair.hh>
00012 #include <lestes/std/reflect.hh>
00013 
00014 #include <lestes/backend_v2/intercode/visitor_ge_operand2asm.g.hh>
00015 
00016 package(lestes);
00017 package(backend_v2);
00018 package(intercode);
00019 
00020 
00021 // ------------- Class visitor_ge_operand2asm follows. -------------
00022 
00023 /*!
00024    \returns The value of visitor_ge_operand2asm::instruction.
00025    \author lsg
00026  */
00027 ptr< ::lestes::backend_v2::intercode::ge_pi > visitor_ge_operand2asm::instruction_get() const
00028 {
00029         return instruction;
00030 }
00031 
00032 /*!
00033    \param[in] x The new value to set visitor_ge_operand2asm::instruction to.
00034    \author lsg
00035  */
00036 void visitor_ge_operand2asm::instruction_set(const ptr< ::lestes::backend_v2::intercode::ge_pi > & x)
00037 {
00038         visitor_ge_operand2asm::instruction = x;
00039 }
00040 
00041 /*!
00042    This factory method for class visitor_ge_operand2asm takes values of all fields as arguments.
00043    \author lsg
00044  */
00045 ptr< visitor_ge_operand2asm > visitor_ge_operand2asm::create(ptr< ::lestes::backend_v2::intercode::ge_pi > a__visitor_ge_operand2asm__instruction)
00046 {
00047         return ptr< visitor_ge_operand2asm > ( new visitor_ge_operand2asm(a__visitor_ge_operand2asm__instruction) );
00048 }
00049 
00050 /*!
00051    This factory method for class visitor_ge_operand2asm uses initializers.
00052    \author lsg
00053  */
00054 ptr< visitor_ge_operand2asm > visitor_ge_operand2asm::create()
00055 {
00056         return ptr< visitor_ge_operand2asm > ( new visitor_ge_operand2asm(NULL) );
00057 }
00058 
00059 /*!
00060    Generated constructor for class visitor_ge_operand2asm.
00061    \author lsg
00062  */
00063 visitor_ge_operand2asm::visitor_ge_operand2asm (ptr< ::lestes::backend_v2::intercode::ge_pi > a__visitor_ge_operand2asm__instruction)
00064         : visitor_ge_operand2lstring_gen_base(), instruction(a__visitor_ge_operand2asm__instruction)
00065 {}
00066 
00067 ptr< object::reflection_list > visitor_ge_operand2asm::reflection_get() const
00068 {
00069         if (!reflection) {
00070                 typedef class_reflection::field_metadata md;
00071                 typedef class_reflection::field_metadata_list mdlist;
00072                 ptr<mdlist> mdl = mdlist::create();
00073                 mdl->push_back( md::create( "instruction", "ge_pi" ) );
00074                 reflection = reflection_list::create( visitor_ge_operand2lstring_gen_base::reflection_get() );
00075                 reflection->push_back( class_reflection::create( "visitor_ge_operand2asm", mdl ) );
00076         }
00077         return reflection;
00078 }
00079 
00080 ptr< object::field_list_list > visitor_ge_operand2asm::field_values_get() const
00081 {
00082         ptr < field_list_list > result = visitor_ge_operand2lstring_gen_base::field_values_get();
00083         result->push_back( value_list::create() );
00084         result->back()->push_back( this->instruction );
00085         return result;
00086 }
00087 
00088 
00089 /*!
00090    Marking routine is used for garbage collection.
00091    \author lsg
00092  */
00093 void visitor_ge_operand2asm::gc_mark()
00094 {
00095         visitor_ge_operand2lstring_gen_base::gc_mark();
00096 }
00097 
00098 // End of class visitor_ge_operand2asm.
00099 
00100 
00101 // static data members follow 
00102 ptr<object::reflection_list> visitor_ge_operand2asm::reflection = reflection;
00103 
00104 end_package(intercode);
00105 end_package(backend_v2);
00106 end_package(lestes);
00107 

Generated on Mon Feb 12 18:23:44 2007 for lestes by doxygen 1.5.1-20070107