UniSet 2.32.1
Открытые типы | Открытые члены | Открытые статические члены | Защищенные данные | Полный список членов класса
Класс uniset::DBResult
Граф связей класса uniset::DBResult:
Collaboration graph
[см. легенду]

Открытые типы

typedef std::vector< std::string > COL
 
typedef std::deque< COL > ROW
 
typedef DBRowIterator iterator
 

Открытые члены

ROW & row ()
 
iterator begin ()
 
iterator end ()
 
 operator bool () const
 
size_t size () const
 
bool empty () const
 
void setColName (int index, const std::string &name)
 
int getColIndex (const std::string &name)
 
std::string getColName (int index)
 

Открытые статические члены

static int as_int (const DBResult::COL::iterator &it)
 
static double as_double (const DBResult::COL::iterator &it)
 
static std::string as_string (const DBResult::COL::iterator &it)
 
static size_t num_cols (const DBResult::iterator &it)
 

Защищенные данные

ROW row_
 
std::unordered_map< std::string, int > colname
 

Методы

◆ getColIndex()

int uniset::DBResult::getColIndex ( const std::string & name)

throw std::runtime_error if name not found

◆ setColName()

void uniset::DBResult::setColName ( int index,
const std::string & name )

установить соответствие индекса и имени поля