ss_type2tm_type.mdg.cc

Go to the documentation of this file.
00001 /* This file is automaticaly generated from machine-description */
00002 
00003 /*!
00004         \file 
00005         \brief ss_type to tm_data type convertor.
00006         \author jaz
00007 */
00008     
00009 #include <lestes/md/types/ss_type2tm_type.g.hh>
00010 #include <lestes/md/types/tm_data_type.g.hh>
00011 #include <lestes/lang/cplus/sem/ss_type_builtin.g.hh>
00012 
00013 
00014 package(lestes);
00015 package(md);
00016 package(types);
00017 
00018 using namespace ::lestes::md::types;
00019 using namespace ::lestes::lang::cplus::sem;
00020 
00021     
00022 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_bool( ptr<ss_bool>) {
00023         return tm_dt_simple::instance(DT_BOOL);
00024 }
00025     
00026 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_pchar( ptr<ss_type_pchar>) {
00027         return tm_dt_simple::instance(DT_INT_8P);
00028 }
00029     
00030 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_uchar( ptr<ss_type_uchar>) {
00031         return tm_dt_simple::instance(DT_INT_8U);
00032 }
00033     
00034 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_schar( ptr<ss_type_schar>) {
00035         return tm_dt_simple::instance(DT_INT_8S);
00036 }
00037     
00038 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_sshort( ptr<ss_type_sshort>) {
00039         return tm_dt_simple::instance(DT_INT_16S);
00040 }
00041     
00042 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_ushort( ptr<ss_type_ushort>) {
00043         return tm_dt_simple::instance(DT_INT_16U);
00044 }
00045     
00046 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_sint( ptr<ss_type_sint>) {
00047         return tm_dt_simple::instance(DT_INT_32S);
00048 }
00049     
00050 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_slong( ptr<ss_type_slong>) {
00051         return tm_dt_simple::instance(DT_INT_32S);
00052 }
00053     
00054 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_uint( ptr<ss_type_uint>) {
00055         return tm_dt_simple::instance(DT_INT_32U);
00056 }
00057     
00058 ptr<tm_data_type_base> ss_type2tm_type::visit_ss_type_ulong( ptr<ss_type_ulong>) {
00059         return tm_dt_simple::instance(DT_INT_32U);
00060 }
00061     
00062 
00063 end_package(types);
00064 end_package(md);
00065 end_package(lestes);
00066 

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