Google OR-Tools: util_intops::StrongVector< IntType, NativeType, Alloc
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
class util_intops::StrongVector< IntType, NativeType, Alloc >
Definition at line 75 of file strong_vector.h.
#include <strong_vector.h>

Public Types | |
| typedef std::vector< NativeType, Alloc > | ParentType |
| typedef ParentType::size_type | size_type |
| typedef ParentType::allocator_type | allocator_type |
| typedef ParentType::value_type | value_type |
| typedef ParentType::reference | reference |
| typedef ParentType::const_reference | const_reference |
| typedef ParentType::pointer | pointer |
| typedef ParentType::const_pointer | const_pointer |
| typedef ParentType::iterator | iterator |
| typedef ParentType::const_iterator | const_iterator |
| typedef ParentType::reverse_iterator | reverse_iterator |
| typedef ParentType::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
| StrongVector () | |
| StrongVector (const allocator_type &a) | |
| StrongVector (size_type n) | |
| StrongVector (IntType n) | |
| StrongVector (size_type n, const value_type &v, const allocator_type &a=allocator_type()) | |
| StrongVector (IntType n, const value_type &v, const allocator_type &a=allocator_type()) | |
| StrongVector (const StrongVector &x) | |
| StrongVector (StrongVector &&x)=default | |
| StrongVector (std::initializer_list< value_type > l, const allocator_type &a=allocator_type()) | |
| template<typename InputIteratorType> | |
| StrongVector (InputIteratorType first, InputIteratorType last, const allocator_type &a=allocator_type()) | |
| ~StrongVector () | |
| const ParentType & | get () const |
| ParentType * | mutable_get () |
| reference | operator[] (IntType i) |
| const_reference | operator[] (IntType i) const |
| reference | at (IntType i) |
| const_reference | at (IntType i) const |
| IntType | start_index () const |
| IntType | end_index () const |
| bool | IsValidSize () const |
| StrongIntRange< IntType > | index_range () const |
| value_type * | data () |
| const value_type * | data () const |
| StrongVector & | operator= (const StrongVector &x) |
| StrongVector & | operator= (StrongVector &&x)=default |
| StrongVector & | operator= (std::initializer_list< value_type > l) |
| void | swap (StrongVector &x) noexcept |
| void | assign (size_type n, const value_type &val) |
| template<typename InputIt> | |
| void | assign (InputIt f, InputIt l) |
| void | assign (std::initializer_list< value_type > l) |
| template<typename... Args> | |
| iterator | emplace (const_iterator pos, Args &&... args) |
| template<typename... Args> | |
| reference | emplace_back (Args &&... args) |
| iterator | insert (const_iterator pos, const value_type &x) |
| iterator | insert (const_iterator pos, value_type &&x) |
| void | insert (const_iterator pos, size_type n, const value_type &x) |
| template<typename SIT> | |
| void | insert (const_iterator pos, SIT first, SIT last) |
| void | push_back (const value_type &val) |
| void | push_back (value_type &&val) |
| void | reserve (size_type n) |
| void | reserve (IntType n) |
| void | resize (size_type new_size) |
| void | resize (IntType new_size) |
| void | resize (size_type new_size, const value_type &x) |
| void | resize (IntType new_size, const value_type &x) |
Friends | |
| template<typename H> | |
| H | AbslHashValue (H h, const StrongVector &v) |
| bool | operator== (const StrongVector &x, const StrongVector &y) |
| bool | operator!= (const StrongVector &x, const StrongVector &y) |
| bool | operator< (const StrongVector &x, const StrongVector &y) |
| bool | operator> (const StrongVector &x, const StrongVector &y) |
| bool | operator<= (const StrongVector &x, const StrongVector &y) |
| bool | operator>= (const StrongVector &x, const StrongVector &y) |
| void | swap (StrongVector &x, StrongVector &y) noexcept |
◆ allocator_type
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ const_iterator
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ const_pointer
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ const_reference
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ const_reverse_iterator
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ iterator
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ ParentType
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ pointer
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ reference
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ reverse_iterator
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ size_type
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ value_type
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [2/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [3/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [4/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [5/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [6/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [7/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
inline |
◆ StrongVector() [8/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
default |
◆ StrongVector() [9/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ StrongVector() [10/10]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename InputIteratorType>
|
inline |
◆ ~StrongVector()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ assign() [1/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename InputIt>
◆ assign() [2/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ assign() [3/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ at() [1/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ at() [2/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ data() [1/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ data() [2/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ emplace()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename... Args>
◆ emplace_back()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename... Args>
◆ end_index()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ get()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ index_range()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ insert() [1/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ insert() [2/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename SIT>
◆ insert() [3/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ insert() [4/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ IsValidSize()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ mutable_get()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ operator=() [1/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ operator=() [2/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ operator=() [3/3]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ operator[]() [1/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ operator[]() [2/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ push_back() [1/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ push_back() [2/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ reserve() [1/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ reserve() [2/2]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ resize() [1/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ resize() [2/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ resize() [3/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ resize() [4/4]
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ start_index()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ swap()
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
◆ AbslHashValue
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
template<typename H>
|
friend |
◆ operator!=
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ operator<
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ operator<=
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ operator==
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ operator>
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ operator>=
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
◆ swap
template<typename IntType, typename NativeType, typename Alloc = std::allocator<NativeType>>
|
friend |
The documentation for this class was generated from the following file:
- ortools/base/strong_vector.h