|
libsl3 1.2.50004
A C++ interface for SQLite
|
#include <sl3/dbvalues.hpp>
Public Types | |
| using | conatiner_type = Container::conatiner_type |
| usual typedefs | |
| using | iterator = conatiner_type::iterator |
| using | const_iterator = conatiner_type::const_iterator |
| using | value_type = conatiner_type::value_type |
| using | reference = conatiner_type::reference |
| using | const_reference = conatiner_type::const_reference |
| using | size_type = conatiner_type::size_type |
Public Types inherited from sl3::Container< std::vector< DbValue > > | |
| using | conatiner_type |
| using | iterator |
| using | const_iterator |
| using | value_type |
| using | reference |
| using | const_reference |
| using | size_type |
| using | container_type |
Public Member Functions | |
| DbValues () noexcept | |
| Constructor. | |
| DbValues (const DbValues &) | |
| Copy constructor. | |
| DbValues (DbValues &&) noexcept(std::is_nothrow_move_constructible< DbValue >::value) | |
| Move constructor. | |
| DbValues & | operator= (const DbValues &) |
| Assigment. | |
| DbValues & | operator= (DbValues &&) |
| Assigment. | |
| 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. | |
Public Member Functions inherited from sl3::Container< std::vector< DbValue > > | |
| Container () noexcept | |
| Constructor. | |
| Container (std::vector< DbValue > container) noexcept(std::is_nothrow_move_constructible< std::vector< DbValue > >::value) | |
| Constructor. | |
| Container (std::initializer_list< value_type > container) | |
| Constructor. | |
| Container (const Container &)=default | |
| Copy Constructor. | |
| Container (Container &&) noexcept(std::is_nothrow_move_constructible< std::vector< DbValue > >::value)=default | |
| Move constructor. | |
| Container & | operator= (const Container &)=default |
| Assignment. | |
| Container & | operator= (Container &&)=default |
| Move assignment. | |
| virtual | ~Container () noexcept(std::is_nothrow_destructible< std::vector< DbValue > >::value)=default |
| Destructor. | |
| iterator | begin () |
| Iterator access. | |
| const_iterator | begin () const |
| Iterator access. | |
| iterator | end () |
| Iterator access. | |
| const_iterator | end () const |
| 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 | |
| const_reference | at (size_t i) const |
| checked random access | |
| reference | operator[] (size_t i) |
| unchecked random access | |
| const_reference | operator[] (size_t i) const |
| unchecked random access | |
Additional Inherited Members | |
Protected Attributes inherited from sl3::Container< std::vector< DbValue > > | |
| std::vector< DbValue > | _cont |
| Container T. | |
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.
| using sl3::DbValues::conatiner_type = Container::conatiner_type |
usual typedefs
|
noexcept |
Constructor.
| sl3::DbValues::DbValues | ( | const DbValues & | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
inlinenoexcept |
Constructor.
Create an empty container.
|
default |
Copy Constructor.
|
defaultnoexcept |
Move constructor.
|
inlinenoexcept |
Constructor.
| container | values |
|
inline |
Constructor.
| container | values |
Assigment.
| sl3::ErrTypeMisMatch | if size() is different |
Assigment.
| sl3::ErrTypeMisMatch | if size() is different |
|
noexcept |