|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| List () | |
| Create an empty list object. | |
| List (const List &list)=default | |
| Default copy constructor. | |
| List (List &&list)=default | |
| Default move constructor noexcept is deduced. | |
| List (std::initializer_list< ItemType > ilist) | |
| Construct from initializer list. | |
| List (const Std &list) | |
| Construct from const std::vector. | |
| List (Std &&list) | |
| Construct from std::vector. | |
| List & | operator= (const List &list)=default |
| Default copy assignment. | |
| List & | operator= (List &&list)=default |
| Default move assignment noexcept is deduced. | |
| List & | operator= (std::initializer_list< ItemType > ilist) |
| Copy from initializer list. | |
| List & | operator= (const Std &list) |
| Copy from const std::vector. | |
| List & | operator= (Std &&list) |
| Move from std::vector. | |
| bool | operator== (const List &list) const |
| Comparison equal. | |
| bool | operator!= (const List &list) const |
| Comparison not equal. | |
| template<typename TPredicate> | |
| bool | equals (const List &list, TPredicate pred) const |
| Comparison equal. | |
| void | assign (typename Std::size_type count, const ItemType &value) |
| std::vector interface Assign count and value | |
| template<typename It> | |
| void | assign (It first, It last) |
| Assign iterator first, iterator last. | |
| Std::reference | at_nc (typename Std::size_type pos) |
| non-const at() | |
| Std::const_reference | at (typename Std::size_type pos) const |
| const at() | |
| Std::const_reference | operator[] (typename Std::size_type pos) const |
| const index operator | |
| Std::reference | front_nc () |
| non-const front() | |
| Std::const_reference | front () const |
| const front() | |
| Std::reference | back_nc () |
| non-const back() | |
| Std::const_reference | back () const |
| const back() | |
| Std::iterator | begin_nc () noexcept |
| non-const begin() | |
| Std::const_iterator | begin () const noexcept |
| const begin() | |
| Std::iterator | end_nc () noexcept |
| non-const end() | |
| Std::const_iterator | end () const noexcept |
| const end() | |
| Std::reverse_iterator | rbegin_nc () noexcept |
| non-const rbegin() | |
| Std::const_reverse_iterator | rbegin () const noexcept |
| const rbegin() | |
| Std::reverse_iterator | rend_nc () noexcept |
| non-const rend() | |
| Std::const_reverse_iterator | rend () const noexcept |
| const rend() | |
| bool | empty () const noexcept |
| empty() | |
| Std::size_type | size () const noexcept |
| size() | |
| Std::size_type | max_size () const noexcept |
| max_size() | |
| void | reserve (typename Std::size_type sz) |
| reserve() | |
| Std::size_type | capacity () const noexcept |
| capacity() | |
| void | clear () noexcept |
| clear() | |
| Std::iterator | insert (typename Std::const_iterator pos, const ItemType &value) |
| insert | |
| Std::iterator | insert (typename Std::const_iterator pos, ItemType &&value) |
| insert | |
| Std::iterator | insert (typename Std::const_iterator pos, typename Std::size_type count, const ItemType &value) |
| insert | |
| Std::iterator | insert (typename Std::const_iterator pos, typename Std::size_type count, ItemType &&value) |
| insert | |
| template<typename It> | |
| Std::iterator | insert (typename Std::const_iterator pos, It first, It last) |
| insert | |
| Std::iterator | insert (typename Std::const_iterator pos, std::initializer_list< ItemType > ilist) |
| insert | |
| template<typename ... Args> | |
| Std::iterator | emplace (typename Std::const_iterator pos, Args &&... args) |
| emplace | |
| Std::iterator | erase (typename Std::const_iterator pos) |
| erase | |
| Std::iterator | erase (typename Std::const_iterator first, typename Std::const_iterator last) |
| erase | |
| void | push_back (const ItemType &value) |
| push_back const value | |
| void | push_back (ItemType &&value) |
| push_back | |
| template<typename ... Args> | |
| void | emplace_back (Args &&... args) |
| emplace_back | |
| void | pop_back () |
| pop_back | |
| void | resize (typename Std::size_type count) |
| resize | |
| void | resize (typename Std::size_type count, const ItemType &value) |
| resize | |
| void | resize (typename Std::size_type count, ItemType &&value) |
| resize | |
| void | swap (Std &other) noexcept |
| swap | |
| void | swap (List &other) noexcept |
| swap | |
| Std & | toStd () |
| Conversion to std::vector from const object. | |
| const Std & | toStd () const |
| Conversion to const std::vector from const object. | |
| const Std & | toCStd () |
| Conversion to const std::vector container. | |
Protected Types | |
| using | Base = ApiObject<IList<typename ItemType::ApiType>, true> |
| typedef for the base class | |
| using | Api = IList<typename ItemType::ApiType> |
| typedef for the Api interface | |
| using | Std = std::vector<ItemType> |
| typedef for the std::vector | |
List object.
Implements share-read / copy-on-write Api object over IList
|
default |
Default copy constructor.
| [in] | list | List object to copy |
|
default |
Default move constructor noexcept is deduced.
| [in] | list | List object to move |
|
inline |
Construct from initializer list.
| [in] | ilist | Initializer list |
|
inline |
Construct from const std::vector.
| [in] | list | Const std::vector |
|
inline |
Construct from std::vector.
| [in] | list | std::vector |
|
inline |
Assign iterator first, iterator last.
| [in] | first | Iterator to the first element |
| [in] | last | Iterator to the last element |
| It | Iterator type |
|
inline |
std::vector interface Assign count and value
| [in] | count | Number of elements to assign |
| [in] | value | Value to assign |
|
inline |
|
inline |
|
inline |
const back()
|
inline |
non-const back()
|
inlinenoexcept |
const begin()
|
inlinenoexcept |
non-const begin()
|
inlinenoexcept |
|
inlinenoexcept |
Removes all elements from the list
|
inline |
emplace
| [in] | pos | Iterator to the position to insert |
| [in] | args | Arguments to forward to the constructor |
| Args | Arguments type |
|
inline |
emplace_back
| [in] | args | Arguments to forward to the constructor |
| Args | Arguments type |
Adds a new element at the end of the list
|
inlinenoexcept |
|
inlinenoexcept |
const end()
|
inlinenoexcept |
non-const end()
|
inline |
Comparison equal.
| [in] | list | List object to compare |
| [in] | pred | The predicate used in comparing |
|
inline |
erase
| [in] | first | Iterator to the first element to erase |
| [in] | last | Iterator to the last element to erase |
Erases the elements in the range [first, last)
|
inline |
erase
| [in] | pos | Iterator to the element to erase |
|
inline |
const front()
|
inline |
non-const front()
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | value | Value to insert |
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | first | Iterator to the first element to insert |
| [in] | last | Iterator to the last element to insert |
| It | Iterator type |
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | value | Value to insert |
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | ilist | Initializer list |
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | count | Number of elements to insert |
| [in] | value | Value to insert |
|
inline |
insert
| [in] | pos | Iterator to the position to insert |
| [in] | count | Number of elements to insert |
| [in] | value | Value to insert |
|
inlinenoexcept |
|
inline |
Comparison not equal.
| [in] | list | List object to compare |
|
inline |
Copy from const std::vector.
| [in] | list | Const std::vector |
|
default |
Default move assignment noexcept is deduced.
| [in] | list | List object to move |
|
inline |
Move from std::vector.
| [in] | list | std::vector |
|
inline |
Copy from initializer list.
| [in] | ilist | Initializer list |
|
inline |
Comparison equal.
| [in] | list | List object to compare |
|
inline |
const index operator
| [in] | pos | Position of the element |
|
inline |
pop_back
Removes the last element of the list
|
inline |
push_back const value
| [in] | value | Value to push back (read-only) |
Adds a new element at the end of the list
|
inline |
push_back
| [in] | value | Value to push back |
Adds a new element at the end of the list
|
inlinenoexcept |
const rbegin()
|
inlinenoexcept |
non-const rbegin()
|
inlinenoexcept |
const rend()
|
inlinenoexcept |
non-const rend()
|
inline |
| [in] | sz | Number of elements to reserve |
|
inline |
resize
| [in] | count | New size of the list |
Resizes the list to contain count elements
|
inline |
resize
| [in] | count | New size of the list |
| [in] | value | Value to insert |
|
inline |
resize
| [in] | count | New size of the list |
| [in] | value | Value to insert |
|
inlinenoexcept |
|
inlinenoexcept |
swap
| [in] | other | List to swap with |
Swaps the contents of the list with the contents of other
|
inlinenoexcept |
swap
| [in] | other | List to swap with |
Swaps the contents of the list with the contents of other
|
inline |
Conversion to const std::vector container.
This method is const, and can be used to get a const reference to the std::vector container
|
inline |
Conversion to std::vector from const object.
|
inline |
Conversion to const std::vector from const object.
This method is const, and can be used to get a const reference to the std::vector container