LLDB mainline
|
#include <UniqueCStringMap.h>
Classes | |
struct | Compare |
struct | Entry |
Public Types | |
typedef std::vector< Entry > | collection |
typedef collection::iterator | iterator |
typedef collection::const_iterator | const_iterator |
Public Member Functions | |
void | Append (ConstString unique_cstr, const T &value) |
void | Append (const Entry &e) |
void | Clear () |
bool | GetValueAtIndex (uint32_t idx, T &value) const |
ConstString | GetCStringAtIndexUnchecked (uint32_t idx) const |
T | GetValueAtIndexUnchecked (uint32_t idx) const |
const T & | GetValueRefAtIndexUnchecked (uint32_t idx) const |
ConstString | GetCStringAtIndex (uint32_t idx) const |
T | Find (ConstString unique_cstr, T fail_value) const |
const Entry * | FindFirstValueForName (ConstString unique_cstr) const |
const Entry * | FindNextValueForName (const Entry *entry_ptr) const |
size_t | GetValues (ConstString unique_cstr, std::vector< T > &values) const |
size_t | GetValues (const RegularExpression ®ex, std::vector< T > &values) const |
size_t | GetSize () const |
bool | IsEmpty () const |
void | Reserve (size_t n) |
void | Sort () |
template<typename TCompare > | |
void | Sort (TCompare tc) |
Sort contents of this map using the provided comparator to break ties for entries with the same string value. | |
void | SizeToFit () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
llvm::iterator_range< const_iterator > | equal_range (ConstString unique_cstr) const |
Protected Attributes | |
collection | m_map |
Definition at line 26 of file UniqueCStringMap.h.
typedef std::vector<Entry> lldb_private::UniqueCStringMap< T >::collection |
Definition at line 35 of file UniqueCStringMap.h.
typedef collection::const_iterator lldb_private::UniqueCStringMap< T >::const_iterator |
Definition at line 37 of file UniqueCStringMap.h.
typedef collection::iterator lldb_private::UniqueCStringMap< T >::iterator |
Definition at line 36 of file UniqueCStringMap.h.
|
inline |
Definition at line 46 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 42 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::Symtab::AppendSymbolNamesToMap(), SymbolFilePDB::CacheFunctionNames(), DecodeCStrMap(), and lldb_private::OptionValueEnumeration::SetEnumerations().
|
inline |
Definition at line 196 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 198 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 48 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::OptionValueEnumeration::SetEnumerations().
|
inline |
Definition at line 197 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::UniqueCStringMap< T >::GetValues().
|
inline |
Definition at line 199 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 203 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 86 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by DWARFASTParserClang::CopyUniqueClassMethodTypes().
|
inline |
Definition at line 98 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::OptionValueEnumeration::SetValueFromString().
|
inline |
Definition at line 111 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::Entry::cstring, and lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 76 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::OptionValueEnumeration::AutoComplete(), DWARFASTParserClang::CopyUniqueClassMethodTypes(), lldb_private::OptionValueEnumeration::DumpValue(), and lldb_private::OptionValueEnumeration::SetValueFromString().
|
inline |
Definition at line 62 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 148 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by lldb_private::OptionValueEnumeration::AutoComplete(), DWARFASTParserClang::CopyUniqueClassMethodTypes(), lldb_private::OptionValueEnumeration::DumpValue(), EncodeCStrMap(), and lldb_private::OptionValueEnumeration::SetValueFromString().
|
inline |
Definition at line 54 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 68 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by DWARFASTParserClang::CopyUniqueClassMethodTypes(), and lldb_private::OptionValueEnumeration::DumpValue().
|
inline |
Definition at line 72 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 134 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::end(), lldb_private::RegularExpression::Execute(), and lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 124 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
|
inline |
Definition at line 151 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by SymbolFilePDB::CacheFunctionNames(), and DWARFASTParserClang::CopyUniqueClassMethodTypes().
|
inline |
Definition at line 157 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by DecodeCStrMap().
|
inline |
Definition at line 189 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::m_map.
Referenced by SymbolFilePDB::CacheFunctionNames().
|
inline |
Definition at line 168 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::Sort().
Referenced by SymbolFilePDB::CacheFunctionNames(), SymbolFileSymtab::CalculateAbilities(), DWARFASTParserClang::CopyUniqueClassMethodTypes(), DecodeCStrMap(), lldb_private::OptionValueEnumeration::SetEnumerations(), and lldb_private::UniqueCStringMap< T >::Sort().
|
inline |
Sort contents of this map using the provided comparator to break ties for entries with the same string value.
Definition at line 174 of file UniqueCStringMap.h.
References lldb_private::UniqueCStringMap< T >::Entry::cstring, lldb_private::UniqueCStringMap< T >::m_map, lldb_private::UniqueCStringMap< T >::Compare::ThreeWay(), and lldb_private::UniqueCStringMap< T >::Entry::value.
|
protected |
Definition at line 240 of file UniqueCStringMap.h.
Referenced by lldb_private::UniqueCStringMap< T >::Append(), lldb_private::UniqueCStringMap< T >::begin(), lldb_private::UniqueCStringMap< T >::Clear(), lldb_private::UniqueCStringMap< T >::end(), lldb_private::UniqueCStringMap< T >::equal_range(), lldb_private::UniqueCStringMap< T >::Find(), lldb_private::UniqueCStringMap< T >::FindFirstValueForName(), lldb_private::UniqueCStringMap< T >::FindNextValueForName(), lldb_private::UniqueCStringMap< T >::GetCStringAtIndex(), lldb_private::UniqueCStringMap< T >::GetCStringAtIndexUnchecked(), lldb_private::UniqueCStringMap< T >::GetSize(), lldb_private::UniqueCStringMap< T >::GetValueAtIndex(), lldb_private::UniqueCStringMap< T >::GetValueAtIndexUnchecked(), lldb_private::UniqueCStringMap< T >::GetValueRefAtIndexUnchecked(), lldb_private::UniqueCStringMap< T >::GetValues(), lldb_private::UniqueCStringMap< T >::IsEmpty(), lldb_private::UniqueCStringMap< T >::Reserve(), lldb_private::UniqueCStringMap< T >::SizeToFit(), and lldb_private::UniqueCStringMap< T >::Sort().