Public Types | Public Member Functions | Private Attributes | List of all members
soci::details::conversion_use_type< T > Class Template Reference

#include <type-conversion.h>

Inheritance diagram for soci::details::conversion_use_type< T >:
Inheritance graph
[legend]

Public Types

typedef type_conversion< T >::base_type base_type
 

Public Member Functions

 conversion_use_type (T &value, std::string const &name=std::string())
 
 conversion_use_type (T const &value, std::string const &name=std::string())
 
 conversion_use_type (T &value, indicator &ind, std::string const &name=std::string())
 
 conversion_use_type (T const &value, indicator &ind, std::string const &name=std::string())
 
void convert_from_base ()
 
void convert_to_base ()
 
- Public Member Functions inherited from soci::details::use_type< type_conversion< T >::base_type >
 use_type (type_conversion< T >::base_type &t, std::string const &name=std::string())
 
 use_type (type_conversion< T >::base_typeconst &t, std::string const &name=std::string())
 
 use_type (type_conversion< T >::base_type &t, indicator &ind, std::string const &name=std::string())
 
 use_type (type_conversion< T >::base_typeconst &t, indicator &ind, std::string const &name=std::string())
 
- Public Member Functions inherited from soci::details::standard_use_type
virtual void bind (statement_impl &st, int &position)
 
virtual void * get_data ()
 
std::string get_name () const
 
 standard_use_type (void *data, exchange_type type, bool readOnly, std::string const &name=std::string())
 
 standard_use_type (void *data, exchange_type type, indicator &ind, bool readOnly, std::string const &name=std::string())
 
virtual ~standard_use_type ()
 
- Public Member Functions inherited from soci::details::use_type_base
virtual ~use_type_base ()
 

Private Attributes

indicatorind_
 
indicator ownInd_
 
bool readOnly_
 
T & value_
 
- Private Attributes inherited from soci::details::base_value_holder< T >
type_conversion< T >::base_type val_
 

Additional Inherited Members

- Protected Member Functions inherited from soci::details::standard_use_type
virtual void pre_use ()
 

Detailed Description

template<typename T>
class soci::details::conversion_use_type< T >

Definition at line 84 of file type-conversion.h.

Member Typedef Documentation

template<typename T >
typedef type_conversion<T>::base_type soci::details::conversion_use_type< T >::base_type

Definition at line 89 of file type-conversion.h.

Constructor & Destructor Documentation

template<typename T >
soci::details::conversion_use_type< T >::conversion_use_type ( T &  value,
std::string const &  name = std::string() 
)
inline

Definition at line 91 of file type-conversion.h.

template<typename T >
soci::details::conversion_use_type< T >::conversion_use_type ( T const &  value,
std::string const &  name = std::string() 
)
inline

Definition at line 104 of file type-conversion.h.

template<typename T >
soci::details::conversion_use_type< T >::conversion_use_type ( T &  value,
indicator ind,
std::string const &  name = std::string() 
)
inline

Definition at line 117 of file type-conversion.h.

template<typename T >
soci::details::conversion_use_type< T >::conversion_use_type ( T const &  value,
indicator ind,
std::string const &  name = std::string() 
)
inline

Definition at line 128 of file type-conversion.h.

Member Function Documentation

template<typename T >
void soci::details::conversion_use_type< T >::convert_from_base ( )
inlinevirtual

Reimplemented from soci::details::standard_use_type.

Definition at line 139 of file type-conversion.h.

template<typename T >
void soci::details::conversion_use_type< T >::convert_to_base ( )
inlinevirtual

Reimplemented from soci::details::standard_use_type.

Definition at line 154 of file type-conversion.h.

Member Data Documentation

template<typename T >
indicator& soci::details::conversion_use_type< T >::ind_
private

Definition at line 168 of file type-conversion.h.

template<typename T >
indicator soci::details::conversion_use_type< T >::ownInd_
private

Definition at line 163 of file type-conversion.h.

template<typename T >
bool soci::details::conversion_use_type< T >::readOnly_
private

Definition at line 170 of file type-conversion.h.

template<typename T >
T& soci::details::conversion_use_type< T >::value_
private

Definition at line 161 of file type-conversion.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:42