proxygen
|
#include <StringKeyedMap.h>
Public Types | |
typedef Base::key_type | key_type |
typedef Base::mapped_type | mapped_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::difference_type | difference_type |
typedef Base::size_type | size_type |
Private Types | |
using | Base = std::map< StringPiece, Value, Compare, Alloc > |
Wrapper class for map<string, Value> 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 map
Definition at line 41 of file StringKeyedMap.h.
typedef Base::allocator_type folly::StringKeyedMap< Value, Compare, Alloc >::allocator_type |
Definition at line 50 of file StringKeyedMap.h.
|
private |
Definition at line 43 of file StringKeyedMap.h.
typedef Base::const_iterator folly::StringKeyedMap< Value, Compare, Alloc >::const_iterator |
Definition at line 56 of file StringKeyedMap.h.
typedef Base::const_pointer folly::StringKeyedMap< Value, Compare, Alloc >::const_pointer |
Definition at line 54 of file StringKeyedMap.h.
typedef Base::const_reference folly::StringKeyedMap< Value, Compare, Alloc >::const_reference |
Definition at line 52 of file StringKeyedMap.h.
typedef Base::const_reverse_iterator folly::StringKeyedMap< Value, Compare, Alloc >::const_reverse_iterator |
Definition at line 58 of file StringKeyedMap.h.
typedef Base::difference_type folly::StringKeyedMap< Value, Compare, Alloc >::difference_type |
Definition at line 59 of file StringKeyedMap.h.
typedef Base::iterator folly::StringKeyedMap< Value, Compare, Alloc >::iterator |
Definition at line 55 of file StringKeyedMap.h.
typedef Base::key_compare folly::StringKeyedMap< Value, Compare, Alloc >::key_compare |
Definition at line 49 of file StringKeyedMap.h.
typedef Base::key_type folly::StringKeyedMap< Value, Compare, Alloc >::key_type |
Definition at line 46 of file StringKeyedMap.h.
typedef Base::mapped_type folly::StringKeyedMap< Value, Compare, Alloc >::mapped_type |
Definition at line 47 of file StringKeyedMap.h.
typedef Base::pointer folly::StringKeyedMap< Value, Compare, Alloc >::pointer |
Definition at line 53 of file StringKeyedMap.h.
typedef Base::reference folly::StringKeyedMap< Value, Compare, Alloc >::reference |
Definition at line 51 of file StringKeyedMap.h.
typedef Base::reverse_iterator folly::StringKeyedMap< Value, Compare, Alloc >::reverse_iterator |
Definition at line 57 of file StringKeyedMap.h.
typedef Base::size_type folly::StringKeyedMap< Value, Compare, Alloc >::size_type |
Definition at line 60 of file StringKeyedMap.h.
typedef Base::value_type folly::StringKeyedMap< Value, Compare, Alloc >::value_type |
Definition at line 48 of file StringKeyedMap.h.
|
inlineexplicit |
Definition at line 66 of file StringKeyedMap.h.
Referenced by folly::StringKeyedMap< Value, Compare, Alloc >::operator=().
|
inlineexplicit |
Definition at line 71 of file StringKeyedMap.h.
|
inlineexplicit |
Definition at line 74 of file StringKeyedMap.h.
References b, and folly::StringKeyedMap< Value, Compare, Alloc >::emplace().
|
inline |
Definition at line 86 of file StringKeyedMap.h.
|
inline |
Definition at line 89 of file StringKeyedMap.h.
|
inlinenoexcept |
Definition at line 92 of file StringKeyedMap.h.
|
inlinenoexcept |
Definition at line 94 of file StringKeyedMap.h.
|
inline |
Definition at line 97 of file StringKeyedMap.h.
|
inline |
Definition at line 196 of file StringKeyedMap.h.
References folly::stringPieceDel().
|
inlinenoexcept |
Definition at line 187 of file StringKeyedMap.h.
References folly::stringPieceDel(), and folly::f14::swap().
Referenced by folly::StringKeyedMap< Value, Compare, Alloc >::operator=().
|
inline |
Definition at line 153 of file StringKeyedMap.h.
References folly::test::end(), and folly::stringPieceDup().
Referenced by BENCHMARK_RELATIVE(), folly::StringKeyedMap< Value, Compare, Alloc >::StringKeyedMap(), and TEST().
|
inline |
Definition at line 171 of file StringKeyedMap.h.
References folly::stringPieceDel().
Referenced by BENCHMARK_RELATIVE(), folly::StringKeyedMap< Value, Compare, Alloc >::erase(), and TEST().
|
inline |
Definition at line 178 of file StringKeyedMap.h.
References folly::test::end(), and folly::StringKeyedMap< Value, Compare, Alloc >::erase().
|
inline |
Definition at line 162 of file StringKeyedMap.h.
References folly::test::end(), folly::gen::move, and folly::stringPieceDup().
Referenced by TEST().
|
inline |
Definition at line 103 of file StringKeyedMap.h.
References folly::StringKeyedMap< Value, Compare, Alloc >::StringKeyedMap().
|
inlinenoexcept |
Definition at line 110 of file StringKeyedMap.h.
References folly::test::begin(), folly::padded::cbegin(), folly::padded::cend(), folly::StringKeyedMap< Value, Compare, Alloc >::clear(), folly::empty(), folly::test::end(), folly::gen::move, and folly::size().
|
inline |
Definition at line 129 of file StringKeyedMap.h.
References upload::const, and folly::detail::rhs.
|
inline |
Definition at line 136 of file StringKeyedMap.h.
References testing::Args(), count, folly::test::end(), and folly::stringPieceDup().