libsl3  1.1.31001
The convenient C++11 interface for SQLite 3.x
Public Types | Public Member Functions | List of all members
sl3::Types Class Reference

A Container holding sl3::Type values. More...

#include <sl3/types.hpp>

Inheritance diagram for sl3::Types:
sl3::Container< std::vector< Type > >

Public Types

using conatiner_type = Container::conatiner_type
 
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< Type > >
using conatiner_type = std::vector< Type >
 
using iterator = typename conatiner_type::iterator
 
using const_iterator = typename conatiner_type::const_iterator
 
using value_type = typename conatiner_type::value_type
 
using reference = typename conatiner_type::reference
 
using const_reference = typename conatiner_type::const_reference
 
using size_type = typename conatiner_type::size_type
 
using container_type = std::vector< Type >
 

Public Member Functions

void swap (Types &other) noexcept
 Swap container. More...
 
 Container () noexcept
 Constructor. More...
 
 Container (ContainerType container) noexcept(std::is_nothrow_move_constructible< ContainerType >::value)
 Constructor. More...
 
 Container (std::initializer_list< value_type > container)
 Constructor. More...
 
 Container (const Container &)=default
 Copy Constructor. More...
 
 Container (Container &&) noexcept(std::is_nothrow_move_constructible< ContainerType >::value)=default
 Move constructor. More...
 
- Public Member Functions inherited from sl3::Container< std::vector< Type > >
 Container () noexcept
 Constructor. More...
 
 Container (std::vector< Type > container) noexcept(std::is_nothrow_move_constructible< std::vector< Type > >::value)
 Constructor. More...
 
 Container (std::initializer_list< value_type > container)
 Constructor. More...
 
 Container (const Container &)=default
 Copy Constructor. More...
 
 Container (Container &&) noexcept(std::is_nothrow_move_constructible< std::vector< Type > >::value)=default
 Move constructor. More...
 
Containeroperator= (const Container &)=default
 Assignment. More...
 
Containeroperator= (Container &&)=default
 Move assignment. More...
 
virtual ~Container () noexcept(std::is_nothrow_destructible< std::vector< Type > >::value)=default
 Destructor. More...
 
iterator begin ()
 Iterator access. More...
 
const_iterator begin () const
 Iterator access. More...
 
iterator end ()
 Iterator access. More...
 
const_iterator end () const
 Iterator access. More...
 
const_iterator cbegin () const
 Iterator access. More...
 
const_iterator cend () const
 Iterator access. More...
 
size_type size () const
 Container size. More...
 
reference at (size_t i)
 checked random access More...
 
const_reference at (size_t i) const
 checked random access More...
 
reference operator[] (size_t i)
 unchecked random access More...
 
const_reference operator[] (size_t i) const
 unchecked random access More...
 

Additional Inherited Members

- Protected Attributes inherited from sl3::Container< std::vector< Type > >
std::vector< Type_cont
 Container T. More...
 

Detailed Description

A Container holding sl3::Type values.

A fixed size list of sl3::Type values.

Member Function Documentation

◆ Container() [1/5]

sl3::Container< ContainerType >::Container
inlinenoexcept

Constructor.

Create an empty container.

◆ Container() [2/5]

sl3::Container< ContainerType >::Container
default

Copy Constructor.

◆ Container() [3/5]

sl3::Container< ContainerType >::Container
defaultnoexcept

Move constructor.

◆ Container() [4/5]

sl3::Container< ContainerType >::Container
inlinenoexcept

Constructor.

Parameters
containervalues

◆ Container() [5/5]

sl3::Container< ContainerType >::Container
inline

Constructor.

Parameters
containervalues

◆ swap()

void sl3::Types::swap ( Types other)
noexcept

Swap container.

Uses standard swap to change the contents.

Parameters
otherTypes to swap with

The documentation for this class was generated from the following file: