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

#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/sqlite/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 77 of file query_result.h.

Member Function Documentation

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

Definition at line 84 of file query_result.h.

85  {
86  return data.begin();
87  }
const XML_Char const XML_Char * data
Definition: expat.h:268
template<typename... Args>
bool cet::sqlite::query_result< Args >::empty ( ) const
inline

Definition at line 79 of file query_result.h.

Referenced by cet::sqlite::query_result< Args >::operator bool().

80  {
81  return data.empty();
82  }
const XML_Char const XML_Char * data
Definition: expat.h:268
template<typename... Args>
auto cet::sqlite::query_result< Args >::end ( ) const
inline

Definition at line 89 of file query_result.h.

90  {
91  return data.end();
92  }
const XML_Char const XML_Char * data
Definition: expat.h:268
template<typename... Args>
cet::sqlite::query_result< Args >::operator bool ( ) const
inlineexplicit

Definition at line 93 of file query_result.h.

References cet::sqlite::query_result< Args >::empty().

93 { return !empty(); }

Member Data Documentation

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

Definition at line 95 of file query_result.h.

Referenced by cet::sqlite::operator<<().

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

Definition at line 96 of file query_result.h.

Referenced by cet::sqlite::operator<<(), and cet::sqlite::unique_value().


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