A row of DbValues.
More...
#include <sl3/dbvalues.hpp>
|
| using | container_type = Container::container_type |
| | usual typedefs
|
|
using | iterator = container_type::iterator |
|
using | const_iterator = container_type::const_iterator |
|
using | value_type = container_type::value_type |
|
using | reference = container_type::reference |
|
using | const_reference = container_type::const_reference |
|
using | size_type = container_type::size_type |
|
using | container_type |
|
using | iterator |
|
using | const_iterator |
|
using | value_type |
|
using | reference |
|
using | const_reference |
|
using | size_type |
|
| | DbValues () noexcept |
| | Constructor.
|
| | DbValues (const DbValues &) |
| | Copy constructor.
|
| | DbValues (DbValues &&) noexcept(std::is_nothrow_move_constructible< DbValue >::value) |
| | Move constructor.
|
| DbValues & | operator= (const DbValues &) |
| | Assignment.
|
| DbValues & | operator= (DbValues &&) |
| | Assignment.
|
| void | swap (DbValues &other) noexcept |
| | swap function
|
| | Container () noexcept |
| | Constructor.
|
| | Container (ContainerType container) noexcept(std::is_nothrow_move_constructible< ContainerType >::value) |
| | Constructor.
|
| | Container (std::initializer_list< value_type > container) |
| | Constructor.
|
| | Container (const Container &)=default |
| | Copy Constructor.
|
| | Container (Container &&) noexcept(std::is_nothrow_move_constructible< ContainerType >::value)=default |
| | Move constructor.
|
| | Container () noexcept |
| | Constructor.
|
| Container & | operator= (const Container &)=default |
| | Assignment.
|
| virtual | ~Container () noexcept(std::is_nothrow_destructible< std::vector< DbValue > >::value)=default |
| | Destructor.
|
| iterator | begin () |
| | Iterator access.
|
| iterator | end () |
| | Iterator access.
|
| const_iterator | cbegin () const |
| | Iterator access.
|
| const_iterator | cend () const |
| | Iterator access.
|
| size_type | size () const |
| | Container size.
|
| reference | at (size_t i) |
| | checked random access
|
| reference | operator[] (size_t i) |
| | unchecked random access
|
A row of DbValues.
Fixed size vector of DbValue instances. DbValues models a row in a database, therefore assignment works only if fields are compatible.
◆ container_type
◆ DbValues() [1/3]
| sl3::DbValues::DbValues |
( |
| ) |
|
|
noexcept |
◆ DbValues() [2/3]
| sl3::DbValues::DbValues |
( |
const DbValues & | | ) |
|
◆ DbValues() [3/3]
| sl3::DbValues::DbValues |
( |
DbValues && | | ) |
const |
|
noexcept |
◆ Container() [1/5]
Constructor.
Create an empty container.
◆ Container() [2/5]
◆ Container() [3/5]
◆ Container() [4/5]
◆ Container() [5/5]
| sl3::Container< ContainerType >::Container |
( |
std::initializer_list< value_type > | container | ) |
|
|
inline |
◆ operator=() [1/2]
Assignment.
- Exceptions
-
- See also
- assignment of DbValue
- Returns
- reference to this
◆ operator=() [2/2]
Assignment.
- Exceptions
-
- See also
- assignment of DbValue
- Returns
- reference to this
◆ swap()
| void sl3::DbValues::swap |
( |
DbValues & | other | ) |
|
|
noexcept |
swap function
Swaps content of 2 DbValues.
- Parameters
-
The documentation for this class was generated from the following file: