proxygen
|
#include <StringKeyedSet.h>
Public Types | |
typedef Base::key_type | key_type |
typedef Base::value_type | value_type |
typedef Base::key_compare | key_compare |
typedef Base::allocator_type | allocator_type |
typedef Base::reference | reference |
typedef Base::const_reference | const_reference |
typedef Base::pointer | pointer |
typedef Base::const_pointer | const_pointer |
typedef Base::iterator | iterator |
typedef Base::const_iterator | const_iterator |
typedef Base::reverse_iterator | reverse_iterator |
typedef Base::const_reverse_iterator | const_reverse_iterator |
typedef Base::size_type | size_type |
typedef Base::difference_type | difference_type |
Private Types | |
using | Base = std::set< StringPiece, Compare, Alloc > |
Wrapper class for set<string> that can perform lookup operations with StringPiece, not only string.
It uses kind of hack: string pointed by StringPiece is copied when StringPiece is inserted into set
Definition at line 40 of file StringKeyedSet.h.
typedef Base::allocator_type folly::StringKeyedSetBase< Compare, Alloc >::allocator_type |
Definition at line 48 of file StringKeyedSet.h.
|
private |
Definition at line 42 of file StringKeyedSet.h.
typedef Base::const_iterator folly::StringKeyedSetBase< Compare, Alloc >::const_iterator |
Definition at line 54 of file StringKeyedSet.h.
typedef Base::const_pointer folly::StringKeyedSetBase< Compare, Alloc >::const_pointer |
Definition at line 52 of file StringKeyedSet.h.
typedef Base::const_reference folly::StringKeyedSetBase< Compare, Alloc >::const_reference |
Definition at line 50 of file StringKeyedSet.h.
typedef Base::const_reverse_iterator folly::StringKeyedSetBase< Compare, Alloc >::const_reverse_iterator |
Definition at line 56 of file StringKeyedSet.h.
typedef Base::difference_type folly::StringKeyedSetBase< Compare, Alloc >::difference_type |
Definition at line 58 of file StringKeyedSet.h.
typedef Base::iterator folly::StringKeyedSetBase< Compare, Alloc >::iterator |
Definition at line 53 of file StringKeyedSet.h.
typedef Base::key_compare folly::StringKeyedSetBase< Compare, Alloc >::key_compare |
Definition at line 47 of file StringKeyedSet.h.
typedef Base::key_type folly::StringKeyedSetBase< Compare, Alloc >::key_type |
Definition at line 45 of file StringKeyedSet.h.
typedef Base::pointer folly::StringKeyedSetBase< Compare, Alloc >::pointer |
Definition at line 51 of file StringKeyedSet.h.
typedef Base::reference folly::StringKeyedSetBase< Compare, Alloc >::reference |
Definition at line 49 of file StringKeyedSet.h.
typedef Base::reverse_iterator folly::StringKeyedSetBase< Compare, Alloc >::reverse_iterator |
Definition at line 55 of file StringKeyedSet.h.
typedef Base::size_type folly::StringKeyedSetBase< Compare, Alloc >::size_type |
Definition at line 57 of file StringKeyedSet.h.
typedef Base::value_type folly::StringKeyedSetBase< Compare, Alloc >::value_type |
Definition at line 46 of file StringKeyedSet.h.
|
inlineexplicit |
Definition at line 60 of file StringKeyedSet.h.
Referenced by folly::StringKeyedSetBase< Compare, Alloc >::operator=().
|
inlineexplicit |
Definition at line 65 of file StringKeyedSet.h.
|
inline |
Definition at line 68 of file StringKeyedSet.h.
References b, and folly::StringKeyedSetBase< Compare, Alloc >::emplace().
|
inline |
Definition at line 79 of file StringKeyedSet.h.
|
inline |
Definition at line 82 of file StringKeyedSet.h.
|
inlinenoexcept |
Definition at line 85 of file StringKeyedSet.h.
|
inlinenoexcept |
Definition at line 90 of file StringKeyedSet.h.
|
inline |
Definition at line 97 of file StringKeyedSet.h.
|
inline |
Definition at line 183 of file StringKeyedSet.h.
References folly::stringPieceDel().
|
inlinenoexcept |
Definition at line 170 of file StringKeyedSet.h.
References folly::stringPieceDel().
Referenced by folly::StringKeyedSetBase< Compare, Alloc >::operator=().
|
inline |
Definition at line 137 of file StringKeyedSet.h.
References folly::test::end(), and folly::stringPieceDup().
Referenced by folly::StringKeyedSetBase< Compare, Alloc >::StringKeyedSetBase(), and TEST().
|
inline |
Definition at line 154 of file StringKeyedSet.h.
References folly::stringPieceDel().
Referenced by folly::StringKeyedSetBase< Compare, Alloc >::erase(), and TEST().
|
inline |
Definition at line 161 of file StringKeyedSet.h.
References folly::test::end(), and folly::StringKeyedSetBase< Compare, Alloc >::erase().
|
inline |
Definition at line 146 of file StringKeyedSet.h.
References folly::test::end(), and folly::stringPieceDup().
Referenced by TEST().
|
inline |
Definition at line 103 of file StringKeyedSet.h.
References folly::StringKeyedSetBase< Compare, Alloc >::StringKeyedSetBase().
|
inlinenoexcept |
Definition at line 110 of file StringKeyedSet.h.
References folly::test::begin(), folly::padded::cbegin(), folly::padded::cend(), folly::StringKeyedSetBase< Compare, Alloc >::clear(), count, folly::empty(), folly::test::end(), folly::gen::move, and folly::size().
|
inline |
Definition at line 130 of file StringKeyedSet.h.
References testing::Args(), upload::const, and folly::detail::rhs.
|
inline |
Definition at line 179 of file StringKeyedSet.h.
References folly::f14::swap().