All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
lariov::DBDataset::DBRow Class Reference

#include <DBDataset.h>

Public Member Functions

 DBRow ()
 
 DBRow (const value_type *s)
 
bool isValid () const
 
const value_typegetData (size_t col) const
 
const std::string & getStringData (size_t col) const
 
long getLongData (size_t col) const
 
double getDoubleData (size_t col) const
 

Private Attributes

const value_typefData
 

Detailed Description

Definition at line 71 of file DBDataset.h.

Constructor & Destructor Documentation

lariov::DBDataset::DBRow::DBRow ( )
inline

Definition at line 77 of file DBDataset.h.

77 : fData(nullptr) {}
const value_type * fData
Definition: DBDataset.h:93
lariov::DBDataset::DBRow::DBRow ( const value_type s)
inline

Definition at line 78 of file DBDataset.h.

78 : fData(s) {}
const value_type * fData
Definition: DBDataset.h:93
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60

Member Function Documentation

const value_type& lariov::DBDataset::DBRow::getData ( size_t  col) const
inline

Definition at line 83 of file DBDataset.h.

83 {return fData[col];}
const value_type * fData
Definition: DBDataset.h:93
double lariov::DBDataset::DBRow::getDoubleData ( size_t  col) const
inline

Definition at line 87 of file DBDataset.h.

87 {return std::get<double>(fData[col]);}
const value_type * fData
Definition: DBDataset.h:93
long lariov::DBDataset::DBRow::getLongData ( size_t  col) const
inline

Definition at line 86 of file DBDataset.h.

86 {return std::get<long>(fData[col]);}
const value_type * fData
Definition: DBDataset.h:93
const std::string& lariov::DBDataset::DBRow::getStringData ( size_t  col) const
inline

Definition at line 84 of file DBDataset.h.

84  {
85  return *std::get<std::unique_ptr<std::string> >(fData[col]);}
const value_type * fData
Definition: DBDataset.h:93
bool lariov::DBDataset::DBRow::isValid ( ) const
inline

Definition at line 82 of file DBDataset.h.

82 {return fData != nullptr;}
const value_type * fData
Definition: DBDataset.h:93

Member Data Documentation

const value_type* lariov::DBDataset::DBRow::fData
private

Definition at line 93 of file DBDataset.h.


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