71  : private internal::Row_detail
 
   74  Row(internal::Row_detail &&other)
 
   76    : Row_detail(std::move(other))
 
   85  template<
typename T, 
typename... Types>
 
   86  explicit Row(T val, Types... vals)
 
   89      Row_detail::set_values(0, val, vals...);
 
   95  col_count_t colCount()
 const 
   98      return Row_detail::col_count();
 
  147      return Row_detail::get_bytes(pos);
 
  162      return Row_detail::get_val(pos);
 
  179      Row_detail::set_values(pos, val);
 
  180      return Row_detail::get_val(pos);
 
  195    return const_cast<Row*
>(
this)->get(pos);
 
  212    catch (
const out_of_range&)
 
  214      return set(pos, 
Value());
 
  219  bool isNull()
 const { 
return NULL == m_impl; }
 
  220  operator bool()
 const { 
return !isNull(); }
 
  232  using internal::Row_detail::m_impl;
 
  235  friend internal::Row_result_detail<Columns>;
 
  236  friend internal::Table_insert_detail;
 
Represents a single row from a result that contains rows.
Definition: row.h:72
bool isNull() const
Check if this row contains fields or is null.
Definition: row.h:219
Value & get(col_count_t pos)
Get reference to row field at position pos.
Definition: row.h:159
Value & set(col_count_t pos, const Value &val)
Set value of row field at position pos.
Definition: row.h:176
bytes getBytes(col_count_t pos) const
Get raw bytes representing value of row field at position pos.
Definition: row.h:144
Value & operator[](col_count_t pos)
Get modifiable reference to row field at position pos.
Definition: row.h:206
const Value & operator[](col_count_t pos) const
Get const reference to row field at position pos.
Definition: row.h:193
Value object can store value of scalar type, string, array or document.
Definition: document.h:230
Class representing a region of memory holding raw bytes.
Definition: common.h:298
Declaration of DbDoc and related classes.