Documentation:Doc Outils PFCXX User TotoTytyInfo hh

From Gameforge Official Website

Jump to: navigation, search
/**
 * Generated by pfcxx
 * File : /tmp/include1/TotoTytyInfo.hh
 * Date : 2006-09-18 17:47:18.355916
 */
 
#ifndef __GT_HH_PPP_TOTO_TYTY_INFO_HH__
# define __GT_HH_PPP_TOTO_TYTY_INFO_HH__
 
# include <boost/mpl/vector_c.hpp>
 
# include <gameforge/server/pfcxx/pffwd.hh>
# include <gameforge/server/pfcxx/persistence/ColumnInfo.hh>
# include <gameforge/server/pfcxx/persistence/TableInfo.hh>
 
namespace gt
{
  namespace hh
  {
    namespace ppp
    {
      class TotoTyty;
    }
  }
}
 
namespace hh
{
  namespace jj
  {
    namespace kkkk
    {
      class Tata;
    }
  }
}
 
namespace gameforge
{
  namespace server 
  {
    namespace pfcxx
    {
      namespace persistence
      {
        /**
         * TableInfo specialization
         */
        template <> struct TableInfo<gt::hh::ppp::TotoTyty>
        {
          typedef boost::mpl::vector_c<int, 0, 1, 2, 3> ColumnList;
        
          static const std::string name;
          static const uint32_t    pk = 0;
          static const int         size = 4;
        };
 
        /**
         * ColumnInfo specialization
         */
        template <> struct ColumnInfo<gt::hh::ppp::TotoTyty, 0>
        {
          typedef int32_t  type;
          static const std::string name;
          static const uint32_t pos = 0;
          static const type defaultValue; 
          static const bool  index;
          static const bool  fk= false;
          static const uint8_t  discriminator;
          static const bool  pk= 1;
          static const bool  nillable;
          static const bool  sequence;
          typedef gameforge::server::pfcxx::persistence::Field<gt::hh::ppp::TotoTyty, pos>  (gt::hh::ppp::TotoTyty::*field_t);
          static const field_t field;
        };
        
        template <> struct ColumnInfo<gt::hh::ppp::TotoTyty, 1>
        {
          typedef std::string  type;
          static const std::string name;
          static const uint32_t pos = 1;
          static const type defaultValue; 
          static const bool  index;
          static const bool  fk= false;
          static const uint8_t  discriminator;
          static const bool  pk= false;
          static const bool  nillable;
          static const uint16_t  size;
          typedef gameforge::server::pfcxx::persistence::Field<gt::hh::ppp::TotoTyty, pos>  (gt::hh::ppp::TotoTyty::*field_t);
          static const field_t field;
        };
        
        template <> struct ColumnInfo<gt::hh::ppp::TotoTyty, 2>
        {
          typedef boost::posix_time::ptime  type;
          static const std::string name;
          static const uint32_t pos = 2;
          static const type defaultValue; 
          static const bool  pk= false;
          static const bool  nillable;
          static const bool  fk= false;
          static const uint8_t  discriminator;
          static const bool  index;
          typedef gameforge::server::pfcxx::persistence::Field<gt::hh::ppp::TotoTyty, pos>  (gt::hh::ppp::TotoTyty::*field_t);
          static const field_t field;
        };
        
        template <> struct ColumnInfo<gt::hh::ppp::TotoTyty, 3>
        {
          typedef int32_t  type;
          static const std::string name;
          static const uint32_t pos = 3;
          static const type defaultValue; 
          static const bool  index;
          static const bool  fk= true;
          static const uint8_t  discriminator;
          static const bool  pk= false;
          static const bool  nillable;
          static const bool  sequence;
          static const bool multi = false;
          static const bool lazy = true;
          static const uint32_t fk_key = 0;
          typedef hh::jj::kkkk::Tata  fk_table;
          typedef gameforge::server::pfcxx::persistence::FKHandler<gt::hh::ppp::TotoTyty, 3>  (fk_table::*handler_t);
          typedef gameforge::server::pfcxx::persistence::Field<fk_table, fk_key>  (fk_table::*item_t);
          typedef gameforge::server::pfcxx::persistence::FK<gt::hh::ppp::TotoTyty, 3, false>  (gt::hh::ppp::TotoTyty::*field_t);
          static const handler_t handler;
          static const item_t item;
          static const field_t field;
        };
      }
    }
  }
}
 
#endif 
Personal tools