Public Member Functions | Private Member Functions | Private Attributes | List of all members
soci::row Class Reference

#include <row.h>

Public Member Functions

template<typename T >
void add_holder (T *t, indicator *ind)
 
void add_properties (column_properties const &cp)
 
void clean_up ()
 
template<typename T >
get (std::size_t pos) const
 
template<typename T >
get (std::size_t pos, T const &nullValue) const
 
template<typename T >
get (std::string const &name) const
 
template<typename T >
get (std::string const &name, T const &nullValue) const
 
indicator get_indicator (std::size_t pos) const
 
indicator get_indicator (std::string const &name) const
 
column_properties const & get_properties (std::size_t pos) const
 
column_properties const & get_properties (std::string const &name) const
 
template<typename T >
row const & operator>> (T &value) const
 
void reset_get_counter () const
 
 row ()
 
std::size_t size () const
 
void skip (std::size_t num=1) const
 
void uppercase_column_names (bool forceToUpper)
 
 ~row ()
 

Private Member Functions

std::size_t find_column (std::string const &name) const
 
void operator= (row const &)
 
 row (row const &)
 

Private Attributes

std::vector< column_propertiescolumns_
 
std::size_t currentPos_
 
std::vector< details::holder * > holders_
 
std::map< std::string, std::size_t > index_
 
std::vector< indicator * > indicators_
 
bool uppercaseColumnNames_
 

Detailed Description

Definition at line 41 of file row.h.

Constructor & Destructor Documentation

row::row ( )

Definition at line 19 of file row.cpp.

row::~row ( )

Definition at line 24 of file row.cpp.

soci::row::row ( row const &  )
private

Member Function Documentation

template<typename T >
void soci::row::add_holder ( T *  t,
indicator ind 
)
inline

Definition at line 56 of file row.h.

void row::add_properties ( column_properties const &  cp)

Definition at line 34 of file row.cpp.

void row::clean_up ( )

Definition at line 65 of file row.cpp.

std::size_t row::find_column ( std::string const &  name) const
private

Definition at line 102 of file row.cpp.

template<typename T >
T soci::row::get ( std::size_t  pos) const
inline

Definition at line 66 of file row.h.

template<typename T >
T soci::row::get ( std::size_t  pos,
T const &  nullValue 
) const
inline

Definition at line 79 of file row.h.

template<typename T >
T soci::row::get ( std::string const &  name) const
inline

Definition at line 92 of file row.h.

template<typename T >
T soci::row::get ( std::string const &  name,
T const &  nullValue 
) const
inline

Definition at line 99 of file row.h.

indicator row::get_indicator ( std::size_t  pos) const

Definition at line 80 of file row.cpp.

indicator row::get_indicator ( std::string const &  name) const

Definition at line 86 of file row.cpp.

column_properties const & row::get_properties ( std::size_t  pos) const

Definition at line 91 of file row.cpp.

column_properties const & row::get_properties ( std::string const &  name) const

Definition at line 97 of file row.cpp.

void soci::row::operator= ( row const &  )
private
template<typename T >
row const& soci::row::operator>> ( T &  value) const
inline

Definition at line 112 of file row.h.

void soci::row::reset_get_counter ( ) const
inline

Definition at line 124 of file row.h.

std::size_t row::size ( ) const

Definition at line 60 of file row.cpp.

void soci::row::skip ( std::size_t  num = 1) const
inline

Definition at line 119 of file row.h.

void row::uppercase_column_names ( bool  forceToUpper)

Definition at line 29 of file row.cpp.

Member Data Documentation

std::vector<column_properties> soci::row::columns_
private

Definition at line 136 of file row.h.

std::size_t soci::row::currentPos_
mutableprivate

Definition at line 142 of file row.h.

std::vector<details::holder*> soci::row::holders_
private

Definition at line 137 of file row.h.

std::map<std::string, std::size_t> soci::row::index_
private

Definition at line 139 of file row.h.

std::vector<indicator*> soci::row::indicators_
private

Definition at line 138 of file row.h.

bool soci::row::uppercaseColumnNames_
private

Definition at line 141 of file row.h.


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


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:41