Public Member Functions | Public Attributes | List of all members
cet::sqlite::query_result< Args > Struct Template Reference

#include <query_result.h>

Public Member Functions

bool empty () const
 
auto begin () const
 
auto end () const
 
 operator bool () const
 

Public Attributes

std::vector< std::stringcolumns
 
std::vector< std::tuple< Args... > > data
 

Detailed Description

template<typename... Args>
struct cet::sqlite::query_result< Args >

Definition at line 70 of file query_result.h.

Member Function Documentation

template<typename... Args>
auto cet::sqlite::query_result< Args >::begin ( ) const
inline

Definition at line 77 of file query_result.h.

78  {
79  return data.begin();
80  }
std::vector< std::tuple< Args... > > data
Definition: query_result.h:89
template<typename... Args>
bool cet::sqlite::query_result< Args >::empty ( ) const
inline

Definition at line 72 of file query_result.h.

73  {
74  return data.empty();
75  }
std::vector< std::tuple< Args... > > data
Definition: query_result.h:89
template<typename... Args>
auto cet::sqlite::query_result< Args >::end ( ) const
inline

Definition at line 82 of file query_result.h.

83  {
84  return data.end();
85  }
std::vector< std::tuple< Args... > > data
Definition: query_result.h:89
template<typename... Args>
cet::sqlite::query_result< Args >::operator bool ( ) const
inlineexplicit

Definition at line 86 of file query_result.h.

86 { return !empty(); }

Member Data Documentation

template<typename... Args>
std::vector<std::string> cet::sqlite::query_result< Args >::columns

Definition at line 88 of file query_result.h.

template<typename... Args>
std::vector<std::tuple<Args...> > cet::sqlite::query_result< Args >::data

Definition at line 89 of file query_result.h.


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