|
tdslite latest
C++ API reference
|
A type that represents a row in a result set. More...
#include <tdslite/detail/tdsl_row.hpp>
Classes | |
| struct | do_not_construct_fields |
Public Types | |
| enum class | e_tdsl_row_make_err { MEM_ALLOC = -1 } |
| using | field_allocator_t = tds_allocator< tdsl_field > |
| using | fields_type_t = tdsl::span< tdsl_field > |
| using | make_result_t = tdsl::expected< tdsl_row, e_tdsl_row_make_err > |
Public Member Functions | |
| auto | begin () const noexcept -> fields_type_t::iterator |
| auto | end () const noexcept -> fields_type_t::iterator |
| auto | cbegin () const noexcept -> fields_type_t::const_iterator |
| auto | cend () const noexcept -> fields_type_t::const_iterator |
| auto | operator[] (fields_type_t::size_type index) const noexcept -> fields_type_t::reference |
| auto | size () const noexcept -> fields_type_t::size_type |
| tdsl_row (tdsl_row &&other) noexcept | |
| tdsl_row & | operator= (tdsl_row &&other) noexcept |
| ~tdsl_row () noexcept | |
Static Public Member Functions | |
| static make_result_t | make (tdsl::uint32_t n_col, do_not_construct_fields) |
Allocate space for n_col fields and make a row object but do not construct them. | |
A type that represents a row in a result set.
Composed of N fields, where N is the field count.
|
strong |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestatic |
Allocate space for n_col fields and make a row object but do not construct them.
| n_col | number of columns |