Savarese Software Research Corporation
group_session::GroupSession Struct Reference

#include <types.h>

Inheritance diagram for group_session::GroupSession:

List of all members.

Public Types

enum  { ElementCount = BOOST_PP_SEQ_SIZE( ((gsid_type, gsid)) ((sec_type, created)) ((sec_type, expires)) ((string, type)) ((string, group)) ((string, name)) ((unsigned int, max_observers)) ) }
enum  { PrimaryKeyCount = BOOST_PP_SEQ_SIZE( (0) ) }
typedef std::tuple
< BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE((0)),
__WSPR_DB_ROW_CONST_UINT, _)> 
primary_key_columns_type
typedef std::tuple
< BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_TYPES,((gsid_type,
gsid))((sec_type, created))((sec_type,
expires))((string, type))((string,
group))((string, name))((unsigned
int, max_observers)),(0))> 
primary_key_tuple_type
typedef std::tuple
< BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_REF_TYPES,((gsid_type,
gsid))((sec_type, created))((sec_type,
expires))((string, type))((string,
group))((string, name))((unsigned
int, max_observers)),(0))> 
primary_key_tie_type

Public Member Functions

 __WISP_STRUCT (0, GroupSession,((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers))) GroupSession(const WSPR_DEFINE_NAMESPACE(database)
template<class Binder >
void bind_row (Binder &binder) const SSRC_DECL_THROW(WSPR_DEFINE_NAMESPACE(database)
template<class Loader , const unsigned int offset = 0>
void load_row (const WSPR_DEFINE_NAMESPACE(database)::ResultSet &result, Loader &loader) SSRC_DECL_THROW(WSPR_DEFINE_NAMESPACE(database)
template<unsigned int i>
const GroupSession::template
Element< i >::type & 
get () const
typedef BOOST_PP_IIF (BOOST_PP_EQUAL(1, BOOST_PP_SEQ_SIZE((0))), BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_ELEM(BOOST_PP_SEQ_ELEM(0,(0)),((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers)))), primary_key_tuple_type) primary_key_type
typedef BOOST_PP_IIF (BOOST_PP_EQUAL(1, BOOST_PP_SEQ_SIZE((0))), const BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_ELEM(BOOST_PP_SEQ_ELEM(0,(0)),((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers))))&, primary_key_tie_type) primary_key_ref_type
const primary_key_tie_type primary_key_tie_value () const
const primary_key_ref_type primary_key_value () const
template<typename Binder >
void bind_primary_key (Binder &binder) const SSRC_DECL_THROW(WSPR_DEFINE_NAMESPACE(database)

Static Public Member Functions

static std::string table_name ()
static std::string column_name (const unsigned int column)
static bool is_primary_key (unsigned int column)
static primary_key_columns_type primary_key_columns ()
template<unsigned int i>
static std::string column_name ()
template<unsigned int i>
static bool is_primary_key ()
template<typename Binder , typename KeyType >
static void bind_primary_key (Binder &binder, const KeyType &key) SSRC_DECL_THROW(WSPR_DEFINE_NAMESPACE(database)
template<typename Binder , typename KeyType >
static void bind_primary_key (Binder &binder, const KeyType &key, const unsigned int offset) SSRC_DECL_THROW(WSPR_DEFINE_NAMESPACE(database)

Detailed Description

Definition at line 40 of file group_session/types.h.


Member Typedef Documentation

typedef std::tuple<BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE( (0) ), __WSPR_DB_ROW_CONST_UINT, _)> group_session::GroupSession::primary_key_columns_type

Definition at line 40 of file group_session/types.h.

typedef std::tuple<BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_REF_TYPES, ((gsid_type, gsid)) ((sec_type, created)) ((sec_type, expires)) ((string, type)) ((string, group)) ((string, name)) ((unsigned int, max_observers)) , (0) )> group_session::GroupSession::primary_key_tie_type

Definition at line 40 of file group_session/types.h.

typedef std::tuple<BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_TYPES, ((gsid_type, gsid)) ((sec_type, created)) ((sec_type, expires)) ((string, type)) ((string, group)) ((string, name)) ((unsigned int, max_observers)) , (0) )> group_session::GroupSession::primary_key_tuple_type

Definition at line 40 of file group_session/types.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ElementCount 

Definition at line 40 of file group_session/types.h.

anonymous enum
Enumerator:
PrimaryKeyCount 

Definition at line 40 of file group_session/types.h.


Member Function Documentation

group_session::GroupSession::__WISP_STRUCT ( ,
GroupSession  ,
((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers))   
) const [inline]

Definition at line 40 of file group_session/types.h.

template<typename Binder , typename KeyType >
static void group_session::GroupSession::bind_primary_key ( Binder &  binder,
const KeyType &  key,
const unsigned int  offset 
) [inline, static]

Definition at line 40 of file group_session/types.h.

template<typename Binder >
void group_session::GroupSession::bind_primary_key ( Binder &  binder) const [inline]

Definition at line 40 of file group_session/types.h.

template<typename Binder , typename KeyType >
static void group_session::GroupSession::bind_primary_key ( Binder &  binder,
const KeyType &  key 
) [inline, static]

Definition at line 40 of file group_session/types.h.

template<class Binder >
void group_session::GroupSession::bind_row ( Binder &  binder) const [inline]

Definition at line 40 of file group_session/types.h.

typedef group_session::GroupSession::BOOST_PP_IIF ( BOOST_PP_EQUAL(1, BOOST_PP_SEQ_SIZE((0)))  ,
BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_ELEM(BOOST_PP_SEQ_ELEM(0,(0)),((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers))))  ,
primary_key_tuple_type   
)
typedef group_session::GroupSession::BOOST_PP_IIF ( BOOST_PP_EQUAL(1, BOOST_PP_SEQ_SIZE((0)))  ,
const BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_SEQ_ELEM(BOOST_PP_SEQ_ELEM(0,(0)),((gsid_type, gsid))((sec_type, created))((sec_type, expires))((string, type))((string, group))((string, name))((unsigned int, max_observers))))&  ,
primary_key_tie_type   
)
template<unsigned int i>
static std::string group_session::GroupSession::column_name ( ) [inline, static]
static std::string group_session::GroupSession::column_name ( const unsigned int  column) [inline, static]

Definition at line 40 of file group_session/types.h.

template<unsigned int i>
const GroupSession ::template Element<i>::type& group_session::GroupSession::get ( ) const [inline]
template<unsigned int i>
static bool group_session::GroupSession::is_primary_key ( ) [inline, static]

Definition at line 40 of file group_session/types.h.

static bool group_session::GroupSession::is_primary_key ( unsigned int  column) [inline, static]

Definition at line 40 of file group_session/types.h.

template<class Loader , const unsigned int offset = 0>
void group_session::GroupSession::load_row ( const WSPR_DEFINE_NAMESPACE(database)::ResultSet &  result,
Loader &  loader 
) [inline]

Definition at line 40 of file group_session/types.h.

static primary_key_columns_type group_session::GroupSession::primary_key_columns ( ) [inline, static]

Definition at line 40 of file group_session/types.h.

const primary_key_tie_type group_session::GroupSession::primary_key_tie_value ( ) const [inline]

Definition at line 40 of file group_session/types.h.

const primary_key_ref_type group_session::GroupSession::primary_key_value ( ) const [inline]

Definition at line 40 of file group_session/types.h.

static std::string group_session::GroupSession::table_name ( ) [inline, static]

Definition at line 40 of file group_session/types.h.


The documentation for this struct was generated from the following file:

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.