Savarese Software Research Corporation
login::User Struct Reference

#include <types.h>

Inheritance diagram for login::User:

List of all members.

Public Types

enum  { ElementCount = BOOST_PP_SEQ_SIZE( ((uid_type, uid)) ((string, login)) ((string, login_lcase)) ((string, password)) ((sec_type, created)) ((sec_type, last_login)) ((sec_type, last_logout)) ) }
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,((uid_type,
uid))((string, login))((string,
login_lcase))((string,
password))((sec_type, created))((sec_type,
last_login))((sec_type,
last_logout)),(0))> 
primary_key_tuple_type
typedef std::tuple
< BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_REF_TYPES,((uid_type,
uid))((string, login))((string,
login_lcase))((string,
password))((sec_type, created))((sec_type,
last_login))((sec_type,
last_logout)),(0))> 
primary_key_tie_type

Public Member Functions

 __WISP_STRUCT (0, User,((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))) User(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 User::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)),((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout)))), 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)),((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))))&, 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 login/types.h.


Member Typedef Documentation

typedef std::tuple<BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE( (0) ), __WSPR_DB_ROW_CONST_UINT, _)> login::User::primary_key_columns_type

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

typedef std::tuple<BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_REF_TYPES, ((uid_type, uid)) ((string, login)) ((string, login_lcase)) ((string, password)) ((sec_type, created)) ((sec_type, last_login)) ((sec_type, last_logout)) , (0) )> login::User::primary_key_tie_type

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

typedef std::tuple<BOOST_PP_SEQ_FOR_EACH_I(__WSPR_DB_ROW_PRIMARY_KEY_ELEMENT_TYPES, ((uid_type, uid)) ((string, login)) ((string, login_lcase)) ((string, password)) ((sec_type, created)) ((sec_type, last_login)) ((sec_type, last_logout)) , (0) )> login::User::primary_key_tuple_type

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


Member Enumeration Documentation

anonymous enum
Enumerator:
ElementCount 

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

anonymous enum
Enumerator:
PrimaryKeyCount 

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


Member Function Documentation

login::User::__WISP_STRUCT ( ,
User  ,
((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))   
) const [inline]

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

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

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

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

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

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

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

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

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

typedef login::User::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)),((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))))  ,
primary_key_tuple_type   
)
typedef login::User::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)),((uid_type, uid))((string, login))((string, login_lcase))((string, password))((sec_type, created))((sec_type, last_login))((sec_type, last_logout))))&  ,
primary_key_tie_type   
)
template<unsigned int i>
static std::string login::User::column_name ( ) [inline, static]
static std::string login::User::column_name ( const unsigned int  column) [inline, static]

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

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

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

static bool login::User::is_primary_key ( unsigned int  column) [inline, static]

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

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

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

static primary_key_columns_type login::User::primary_key_columns ( ) [inline, static]

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

const primary_key_tie_type login::User::primary_key_tie_value ( ) const [inline]

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

const primary_key_ref_type login::User::primary_key_value ( ) const [inline]

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

static std::string login::User::table_name ( ) [inline, static]

Definition at line 40 of file login/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.