#include <pi_pi2ge_pi_template.g.hh>
Inheritance diagram for lestes::md::instructions::pi_pi2ge_pi_template:

Public Member Functions | |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Static Public Member Functions | |
| static ptr< ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > | id_to_instance_get () |
| The method id_to_instance_get returns the value of the field pi_pi2ge_pi_template::id_to_instance. | |
| static void | id_to_instance_set (const ptr< ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > &) |
| The method id_to_instance_set sets the field pi_pi2ge_pi_template::id_to_instance to the given value. | |
| static ptr< pi_pi2ge_pi_template > | instance (ulint id) |
| Returns instance of a template for the given id. | |
| static ptr< pi_pi2ge_pi_template > | create (ulint a__pi_pi2ge_pi_template_base__id, ptr< ::lestes::std::vector< srp< instruction_group_base > > > a__pi_pi2ge_pi_template_base__instruction_groups) |
| First generated factory method for class pi_pi2ge_pi_template. | |
Protected Member Functions | |
| pi_pi2ge_pi_template (ulint a__pi_pi2ge_pi_template_base__id, ptr< ::lestes::std::vector< srp< instruction_group_base > > > a__pi_pi2ge_pi_template_base__instruction_groups) | |
| Generated constructor for class pi_pi2ge_pi_template. | |
| virtual void | gc_mark () |
| Marking routine for class pi_pi2ge_pi_template. | |
Static Private Attributes | |
| static ptr< ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > | id_to_instance = ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > ::create() |
| Mapping between type id and its singleton instance. | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 30 of file pi_pi2ge_pi_template.g.hh.
| lestes::md::instructions::pi_pi2ge_pi_template::pi_pi2ge_pi_template | ( | ulint | a__pi_pi2ge_pi_template_base__id, | |
| ptr< ::lestes::std::vector< srp< instruction_group_base > > > | a__pi_pi2ge_pi_template_base__instruction_groups | |||
| ) | [protected] |
Generated constructor for class pi_pi2ge_pi_template.
Generated constructor for class pi_pi2ge_pi_template.
Definition at line 55 of file pi_pi2ge_pi_template.g.cc.
Referenced by create().
00057 : pi_pi2ge_pi_template_base(a__pi_pi2ge_pi_template_base__id, 00058 a__pi_pi2ge_pi_template_base__instruction_groups) 00059 {}
| ptr<::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > lestes::md::instructions::pi_pi2ge_pi_template::id_to_instance_get | ( | ) | [static] |
The method id_to_instance_get returns the value of the field pi_pi2ge_pi_template::id_to_instance.
Definition at line 26 of file pi_pi2ge_pi_template.g.cc.
References id_to_instance.
Referenced by instance().
00027 { 00028 return id_to_instance; 00029 }
| void lestes::md::instructions::pi_pi2ge_pi_template::id_to_instance_set | ( | const ptr< ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > & | x | ) | [static] |
The method id_to_instance_set sets the field pi_pi2ge_pi_template::id_to_instance to the given value.
| [in] | x | The new value to set pi_pi2ge_pi_template::id_to_instance to. |
Definition at line 35 of file pi_pi2ge_pi_template.g.cc.
References id_to_instance.
00036 { 00037 pi_pi2ge_pi_template::id_to_instance = x; 00038 }
| ptr< pi_pi2ge_pi_template > lestes::md::instructions::pi_pi2ge_pi_template::instance | ( | ulint | id | ) | [static] |
Returns instance of a template for the given id.
| id | The id of a instance. |
Definition at line 2683 of file pi_pi2ge_pi_template.mdg.cc.
References id_to_instance_get(), lassert, lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_ADD_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BA_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BAND_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BE_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BF_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BG_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BN_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BNE_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BNG_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BNL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BNOT_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BOR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BT_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_BXOR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_CMP_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_CVT_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_CVT_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_CVT_3(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_DIV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_DIV_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_DIV_3(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_GAT_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LAND_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LD_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LDA_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LDI_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LDP_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LDPV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LDV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LNOT_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LOR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_LXOR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MOD_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MOD_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MOD_3(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MOV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MUL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_MUL_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_NEG_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_3(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_4(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_5(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REM_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REM_2(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_REM_3(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SAL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SAR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBE_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBG_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBNE_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBNG_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SBNL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SHL_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SHR_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_ST_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_STI_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_STIV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_STP_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_STPV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_STV_1(), lestes::md::instructions::pi_pi2ge_pi_template_create_TEM_SUB_1(), lestes::md::instructions::TEM_ADD_1, lestes::md::instructions::TEM_BA_1, lestes::md::instructions::TEM_BAND_1, lestes::md::instructions::TEM_BE_1, lestes::md::instructions::TEM_BF_1, lestes::md::instructions::TEM_BG_1, lestes::md::instructions::TEM_BL_1, lestes::md::instructions::TEM_BN_1, lestes::md::instructions::TEM_BNE_1, lestes::md::instructions::TEM_BNG_1, lestes::md::instructions::TEM_BNL_1, lestes::md::instructions::TEM_BNOT_1, lestes::md::instructions::TEM_BOR_1, lestes::md::instructions::TEM_BT_1, lestes::md::instructions::TEM_BXOR_1, lestes::md::instructions::TEM_CMP_1, lestes::md::instructions::TEM_CVT_1, lestes::md::instructions::TEM_CVT_2, lestes::md::instructions::TEM_CVT_3, lestes::md::instructions::TEM_DIV_1, lestes::md::instructions::TEM_DIV_2, lestes::md::instructions::TEM_DIV_3, lestes::md::instructions::TEM_GAT_1, lestes::md::instructions::TEM_LAND_1, lestes::md::instructions::TEM_LD_1, lestes::md::instructions::TEM_LDA_1, lestes::md::instructions::TEM_LDI_1, lestes::md::instructions::TEM_LDP_1, lestes::md::instructions::TEM_LDPV_1, lestes::md::instructions::TEM_LDV_1, lestes::md::instructions::TEM_LNOT_1, lestes::md::instructions::TEM_LOR_1, lestes::md::instructions::TEM_LXOR_1, lestes::md::instructions::TEM_MOD_1, lestes::md::instructions::TEM_MOD_2, lestes::md::instructions::TEM_MOD_3, lestes::md::instructions::TEM_MOV_1, lestes::md::instructions::TEM_MUL_1, lestes::md::instructions::TEM_MUL_2, lestes::md::instructions::TEM_NEG_1, lestes::md::instructions::TEM_REGISTER_MOVE_1, lestes::md::instructions::TEM_REGISTER_MOVE_2, lestes::md::instructions::TEM_REGISTER_MOVE_3, lestes::md::instructions::TEM_REGISTER_MOVE_4, lestes::md::instructions::TEM_REGISTER_MOVE_5, lestes::md::instructions::TEM_REM_1, lestes::md::instructions::TEM_REM_2, lestes::md::instructions::TEM_REM_3, lestes::md::instructions::TEM_SAL_1, lestes::md::instructions::TEM_SAR_1, lestes::md::instructions::TEM_SBE_1, lestes::md::instructions::TEM_SBG_1, lestes::md::instructions::TEM_SBL_1, lestes::md::instructions::TEM_SBNE_1, lestes::md::instructions::TEM_SBNG_1, lestes::md::instructions::TEM_SBNL_1, lestes::md::instructions::TEM_SHL_1, lestes::md::instructions::TEM_SHR_1, lestes::md::instructions::TEM_ST_1, lestes::md::instructions::TEM_STI_1, lestes::md::instructions::TEM_STIV_1, lestes::md::instructions::TEM_STP_1, lestes::md::instructions::TEM_STPV_1, lestes::md::instructions::TEM_STV_1, and lestes::md::instructions::TEM_SUB_1.
Referenced by lestes::md::instructions::pi_pi2ge_pi::visit_pi_add(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ba(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_band(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_be(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bf(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bg(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bl(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bn(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bne(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bng(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bnl(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bnot(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bor(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bt(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_bxor(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_cmp(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_cvt(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_div(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_gat(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_land(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ld(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_lda(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ldi(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ldp(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ldpv(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_ldv(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_lnot(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_lor(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_lxor(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_mod(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_mov(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_mul(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_neg(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_rem(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sal(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sar(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbe(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbg(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbl(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbne(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbng(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sbnl(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_shl(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_shr(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_st(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_sti(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_stiv(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_stp(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_stpv(), lestes::md::instructions::pi_pi2ge_pi::visit_pi_stv(), and lestes::md::instructions::pi_pi2ge_pi::visit_pi_sub().
02683 { 02684 map<ulint,srp<pi_pi2ge_pi_template> >::iterator existing_patt = id_to_instance_get()->find(id); 02685 02686 if ( existing_patt != id_to_instance_get()->end() ) { 02687 return existing_patt->second; 02688 } 02689 02690 ptr<pi_pi2ge_pi_template> new_patt = NULL; 02691 switch(id) { 02692 02693 case TEM_ADD_1: { 02694 new_patt = pi_pi2ge_pi_template_create_TEM_ADD_1(); 02695 } break; 02696 02697 case TEM_SUB_1: { 02698 new_patt = pi_pi2ge_pi_template_create_TEM_SUB_1(); 02699 } break; 02700 02701 case TEM_MUL_1: { 02702 new_patt = pi_pi2ge_pi_template_create_TEM_MUL_1(); 02703 } break; 02704 02705 case TEM_MUL_2: { 02706 new_patt = pi_pi2ge_pi_template_create_TEM_MUL_2(); 02707 } break; 02708 02709 case TEM_DIV_1: { 02710 new_patt = pi_pi2ge_pi_template_create_TEM_DIV_1(); 02711 } break; 02712 02713 case TEM_DIV_2: { 02714 new_patt = pi_pi2ge_pi_template_create_TEM_DIV_2(); 02715 } break; 02716 02717 case TEM_DIV_3: { 02718 new_patt = pi_pi2ge_pi_template_create_TEM_DIV_3(); 02719 } break; 02720 02721 case TEM_MOD_1: { 02722 new_patt = pi_pi2ge_pi_template_create_TEM_MOD_1(); 02723 } break; 02724 02725 case TEM_MOD_2: { 02726 new_patt = pi_pi2ge_pi_template_create_TEM_MOD_2(); 02727 } break; 02728 02729 case TEM_MOD_3: { 02730 new_patt = pi_pi2ge_pi_template_create_TEM_MOD_3(); 02731 } break; 02732 02733 case TEM_REM_1: { 02734 new_patt = pi_pi2ge_pi_template_create_TEM_REM_1(); 02735 } break; 02736 02737 case TEM_REM_2: { 02738 new_patt = pi_pi2ge_pi_template_create_TEM_REM_2(); 02739 } break; 02740 02741 case TEM_REM_3: { 02742 new_patt = pi_pi2ge_pi_template_create_TEM_REM_3(); 02743 } break; 02744 02745 case TEM_NEG_1: { 02746 new_patt = pi_pi2ge_pi_template_create_TEM_NEG_1(); 02747 } break; 02748 02749 case TEM_GAT_1: { 02750 new_patt = pi_pi2ge_pi_template_create_TEM_GAT_1(); 02751 } break; 02752 02753 case TEM_SHL_1: { 02754 new_patt = pi_pi2ge_pi_template_create_TEM_SHL_1(); 02755 } break; 02756 02757 case TEM_SHR_1: { 02758 new_patt = pi_pi2ge_pi_template_create_TEM_SHR_1(); 02759 } break; 02760 02761 case TEM_SAL_1: { 02762 new_patt = pi_pi2ge_pi_template_create_TEM_SAL_1(); 02763 } break; 02764 02765 case TEM_SAR_1: { 02766 new_patt = pi_pi2ge_pi_template_create_TEM_SAR_1(); 02767 } break; 02768 02769 case TEM_BAND_1: { 02770 new_patt = pi_pi2ge_pi_template_create_TEM_BAND_1(); 02771 } break; 02772 02773 case TEM_BOR_1: { 02774 new_patt = pi_pi2ge_pi_template_create_TEM_BOR_1(); 02775 } break; 02776 02777 case TEM_BXOR_1: { 02778 new_patt = pi_pi2ge_pi_template_create_TEM_BXOR_1(); 02779 } break; 02780 02781 case TEM_BNOT_1: { 02782 new_patt = pi_pi2ge_pi_template_create_TEM_BNOT_1(); 02783 } break; 02784 02785 case TEM_LAND_1: { 02786 new_patt = pi_pi2ge_pi_template_create_TEM_LAND_1(); 02787 } break; 02788 02789 case TEM_LOR_1: { 02790 new_patt = pi_pi2ge_pi_template_create_TEM_LOR_1(); 02791 } break; 02792 02793 case TEM_LXOR_1: { 02794 new_patt = pi_pi2ge_pi_template_create_TEM_LXOR_1(); 02795 } break; 02796 02797 case TEM_LNOT_1: { 02798 new_patt = pi_pi2ge_pi_template_create_TEM_LNOT_1(); 02799 } break; 02800 02801 case TEM_CVT_1: { 02802 new_patt = pi_pi2ge_pi_template_create_TEM_CVT_1(); 02803 } break; 02804 02805 case TEM_CVT_2: { 02806 new_patt = pi_pi2ge_pi_template_create_TEM_CVT_2(); 02807 } break; 02808 02809 case TEM_CVT_3: { 02810 new_patt = pi_pi2ge_pi_template_create_TEM_CVT_3(); 02811 } break; 02812 02813 case TEM_MOV_1: { 02814 new_patt = pi_pi2ge_pi_template_create_TEM_MOV_1(); 02815 } break; 02816 02817 case TEM_ST_1: { 02818 new_patt = pi_pi2ge_pi_template_create_TEM_ST_1(); 02819 } break; 02820 02821 case TEM_STV_1: { 02822 new_patt = pi_pi2ge_pi_template_create_TEM_STV_1(); 02823 } break; 02824 02825 case TEM_STI_1: { 02826 new_patt = pi_pi2ge_pi_template_create_TEM_STI_1(); 02827 } break; 02828 02829 case TEM_STIV_1: { 02830 new_patt = pi_pi2ge_pi_template_create_TEM_STIV_1(); 02831 } break; 02832 02833 case TEM_STP_1: { 02834 new_patt = pi_pi2ge_pi_template_create_TEM_STP_1(); 02835 } break; 02836 02837 case TEM_STPV_1: { 02838 new_patt = pi_pi2ge_pi_template_create_TEM_STPV_1(); 02839 } break; 02840 02841 case TEM_LD_1: { 02842 new_patt = pi_pi2ge_pi_template_create_TEM_LD_1(); 02843 } break; 02844 02845 case TEM_LDV_1: { 02846 new_patt = pi_pi2ge_pi_template_create_TEM_LDV_1(); 02847 } break; 02848 02849 case TEM_LDI_1: { 02850 new_patt = pi_pi2ge_pi_template_create_TEM_LDI_1(); 02851 } break; 02852 02853 case TEM_LDP_1: { 02854 new_patt = pi_pi2ge_pi_template_create_TEM_LDP_1(); 02855 } break; 02856 02857 case TEM_LDPV_1: { 02858 new_patt = pi_pi2ge_pi_template_create_TEM_LDPV_1(); 02859 } break; 02860 02861 case TEM_LDA_1: { 02862 new_patt = pi_pi2ge_pi_template_create_TEM_LDA_1(); 02863 } break; 02864 02865 case TEM_CMP_1: { 02866 new_patt = pi_pi2ge_pi_template_create_TEM_CMP_1(); 02867 } break; 02868 02869 case TEM_BA_1: { 02870 new_patt = pi_pi2ge_pi_template_create_TEM_BA_1(); 02871 } break; 02872 02873 case TEM_BN_1: { 02874 new_patt = pi_pi2ge_pi_template_create_TEM_BN_1(); 02875 } break; 02876 02877 case TEM_BT_1: { 02878 new_patt = pi_pi2ge_pi_template_create_TEM_BT_1(); 02879 } break; 02880 02881 case TEM_BF_1: { 02882 new_patt = pi_pi2ge_pi_template_create_TEM_BF_1(); 02883 } break; 02884 02885 case TEM_BG_1: { 02886 new_patt = pi_pi2ge_pi_template_create_TEM_BG_1(); 02887 } break; 02888 02889 case TEM_BL_1: { 02890 new_patt = pi_pi2ge_pi_template_create_TEM_BL_1(); 02891 } break; 02892 02893 case TEM_BE_1: { 02894 new_patt = pi_pi2ge_pi_template_create_TEM_BE_1(); 02895 } break; 02896 02897 case TEM_BNG_1: { 02898 new_patt = pi_pi2ge_pi_template_create_TEM_BNG_1(); 02899 } break; 02900 02901 case TEM_BNL_1: { 02902 new_patt = pi_pi2ge_pi_template_create_TEM_BNL_1(); 02903 } break; 02904 02905 case TEM_BNE_1: { 02906 new_patt = pi_pi2ge_pi_template_create_TEM_BNE_1(); 02907 } break; 02908 02909 case TEM_SBG_1: { 02910 new_patt = pi_pi2ge_pi_template_create_TEM_SBG_1(); 02911 } break; 02912 02913 case TEM_SBL_1: { 02914 new_patt = pi_pi2ge_pi_template_create_TEM_SBL_1(); 02915 } break; 02916 02917 case TEM_SBE_1: { 02918 new_patt = pi_pi2ge_pi_template_create_TEM_SBE_1(); 02919 } break; 02920 02921 case TEM_SBNG_1: { 02922 new_patt = pi_pi2ge_pi_template_create_TEM_SBNG_1(); 02923 } break; 02924 02925 case TEM_SBNL_1: { 02926 new_patt = pi_pi2ge_pi_template_create_TEM_SBNL_1(); 02927 } break; 02928 02929 case TEM_SBNE_1: { 02930 new_patt = pi_pi2ge_pi_template_create_TEM_SBNE_1(); 02931 } break; 02932 02933 case TEM_REGISTER_MOVE_1: { 02934 new_patt = pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_1(); 02935 } break; 02936 02937 case TEM_REGISTER_MOVE_2: { 02938 new_patt = pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_2(); 02939 } break; 02940 02941 case TEM_REGISTER_MOVE_3: { 02942 new_patt = pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_3(); 02943 } break; 02944 02945 case TEM_REGISTER_MOVE_4: { 02946 new_patt = pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_4(); 02947 } break; 02948 02949 case TEM_REGISTER_MOVE_5: { 02950 new_patt = pi_pi2ge_pi_template_create_TEM_REGISTER_MOVE_5(); 02951 } break; 02952 02953 default: lassert(false); 02954 } 02955 02956 id_to_instance_get()->insert(::std::pair<ulint,srp<pi_pi2ge_pi_template> >(id, new_patt)); 02957 return new_patt; 02958 }
| ptr< pi_pi2ge_pi_template > lestes::md::instructions::pi_pi2ge_pi_template::create | ( | ulint | a__pi_pi2ge_pi_template_base__id, | |
| ptr< ::lestes::std::vector< srp< instruction_group_base > > > | a__pi_pi2ge_pi_template_base__instruction_groups | |||
| ) | [static] |
First generated factory method for class pi_pi2ge_pi_template.
This factory method for class pi_pi2ge_pi_template takes values of all fields as arguments.
Definition at line 44 of file pi_pi2ge_pi_template.g.cc.
References pi_pi2ge_pi_template().
00046 { 00047 return ptr< pi_pi2ge_pi_template > ( new pi_pi2ge_pi_template(a__pi_pi2ge_pi_template_base__id, 00048 a__pi_pi2ge_pi_template_base__instruction_groups) ); 00049 }
| ptr< object::reflection_list > lestes::md::instructions::pi_pi2ge_pi_template::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::md::instructions::pi_pi2ge_pi_template_base.
Definition at line 61 of file pi_pi2ge_pi_template.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::md::instructions::pi_pi2ge_pi_template_base::reflection_get().
00062 { 00063 if (!reflection) { 00064 typedef class_reflection::field_metadata md; 00065 typedef class_reflection::field_metadata_list mdlist; 00066 ptr<mdlist> mdl = mdlist::create(); 00067 mdl->push_back( md::create( "id_to_instance", "map< ulint, srp< pi_pi2ge_pi_template > >" ) ); 00068 reflection = reflection_list::create( pi_pi2ge_pi_template_base::reflection_get() ); 00069 reflection->push_back( class_reflection::create( "pi_pi2ge_pi_template", mdl ) ); 00070 } 00071 return reflection; 00072 }
| ptr< object::field_list_list > lestes::md::instructions::pi_pi2ge_pi_template::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::md::instructions::pi_pi2ge_pi_template_base.
Definition at line 74 of file pi_pi2ge_pi_template.g.cc.
References lestes::std::list< T >::create(), and lestes::md::instructions::pi_pi2ge_pi_template_base::field_values_get().
00075 { 00076 ptr < field_list_list > result = pi_pi2ge_pi_template_base::field_values_get(); 00077 result->push_back( value_list::create() ); 00078 result->back()->push_back( this->id_to_instance ); 00079 return result; 00080 }
| void lestes::md::instructions::pi_pi2ge_pi_template::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class pi_pi2ge_pi_template.
Marking routine is used for garbage collection.
Reimplemented from lestes::md::instructions::pi_pi2ge_pi_template_base.
Definition at line 87 of file pi_pi2ge_pi_template.g.cc.
References lestes::md::instructions::pi_pi2ge_pi_template_base::gc_mark().
00088 { 00089 pi_pi2ge_pi_template_base::gc_mark(); 00090 }
ptr<::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > > lestes::md::instructions::pi_pi2ge_pi_template::id_to_instance = ::lestes::std::map< ulint, srp< pi_pi2ge_pi_template > > ::create() [static, private] |
Mapping between type id and its singleton instance.
Definition at line 65 of file pi_pi2ge_pi_template.g.hh.
Referenced by id_to_instance_get(), and id_to_instance_set().
ptr< object::reflection_list > lestes::md::instructions::pi_pi2ge_pi_template::reflection = reflection [static, private] |
Reimplemented from lestes::md::instructions::pi_pi2ge_pi_template_base.
Definition at line 66 of file pi_pi2ge_pi_template.g.hh.
Referenced by reflection_get().
1.5.1-20070107