LLDB
mainline
|
#include <FormattersContainer.h>
Public Types | |
typedef std::shared_ptr< ValueType > | ValueSP |
typedef std::vector< std::pair< TypeMatcher, ValueSP > > | MapType |
typedef std::function< bool(const TypeMatcher &, const ValueSP &)> | ForEachCallback |
typedef std::shared_ptr< FormattersContainer< ValueType > > | SharedPointer |
Public Member Functions | |
FormattersContainer (IFormatChangeListener *lst) | |
void | Add (TypeMatcher matcher, const ValueSP &entry) |
bool | Delete (TypeMatcher matcher) |
bool | Get (ConstString type, ValueSP &entry) |
bool | GetExact (TypeMatcher matcher, ValueSP &entry) |
ValueSP | GetAtIndex (size_t index) |
lldb::TypeNameSpecifierImplSP | GetTypeNameSpecifierAtIndex (size_t index) |
void | Clear () |
void | ForEach (ForEachCallback callback) |
uint32_t | GetCount () |
void | AutoComplete (CompletionRequest &request) |
Protected Member Functions | |
FormattersContainer (const FormattersContainer &)=delete | |
const FormattersContainer & | operator= (const FormattersContainer &)=delete |
bool | Get (const FormattersMatchVector &candidates, ValueSP &entry) |
Protected Attributes | |
MapType | m_map |
std::recursive_mutex | m_map_mutex |
IFormatChangeListener * | listener |
Friends | |
class | TypeCategoryImpl |
Definition at line 107 of file FormattersContainer.h.
typedef std::function<bool(const TypeMatcher &, const ValueSP &)> lldb_private::FormattersContainer< ValueType >::ForEachCallback |
Definition at line 112 of file FormattersContainer.h.
typedef std::vector<std::pair<TypeMatcher, ValueSP> > lldb_private::FormattersContainer< ValueType >::MapType |
Definition at line 110 of file FormattersContainer.h.
typedef std::shared_ptr<FormattersContainer<ValueType> > lldb_private::FormattersContainer< ValueType >::SharedPointer |
Definition at line 114 of file FormattersContainer.h.
typedef std::shared_ptr<ValueType> lldb_private::FormattersContainer< ValueType >::ValueSP |
Definition at line 109 of file FormattersContainer.h.
|
inline |
Definition at line 118 of file FormattersContainer.h.
|
protecteddelete |
|
inline |
Definition at line 120 of file FormattersContainer.h.
Referenced by lldb_private::DataVisualization::NamedSummaryFormats::Add().
|
inline |
Definition at line 205 of file FormattersContainer.h.
|
inline |
Definition at line 182 of file FormattersContainer.h.
Referenced by lldb_private::DataVisualization::NamedSummaryFormats::Clear().
|
inline |
Definition at line 133 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::Add(), and lldb_private::DataVisualization::NamedSummaryFormats::Delete().
|
inline |
Definition at line 189 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::AutoComplete(), and lldb_private::DataVisualization::NamedSummaryFormats::ForEach().
|
inlineprotected |
Definition at line 216 of file FormattersContainer.h.
|
inline |
Definition at line 145 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::Get().
|
inline |
Definition at line 166 of file FormattersContainer.h.
|
inline |
Definition at line 200 of file FormattersContainer.h.
Referenced by lldb_private::DataVisualization::NamedSummaryFormats::GetCount().
|
inline |
Definition at line 156 of file FormattersContainer.h.
Referenced by lldb_private::DataVisualization::NamedSummaryFormats::GetSummaryFormat().
|
inline |
Definition at line 173 of file FormattersContainer.h.
|
protecteddelete |
|
friend |
Definition at line 116 of file FormattersContainer.h.
|
protected |
Definition at line 232 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::Add(), lldb_private::FormattersContainer< TypeSummaryImpl >::Clear(), and lldb_private::FormattersContainer< TypeSummaryImpl >::Delete().
|
protected |
Definition at line 230 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::Add(), lldb_private::FormattersContainer< TypeSummaryImpl >::Clear(), lldb_private::FormattersContainer< TypeSummaryImpl >::Delete(), lldb_private::FormattersContainer< TypeSummaryImpl >::ForEach(), lldb_private::FormattersContainer< TypeSummaryImpl >::Get(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetAtIndex(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetCount(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetExact(), and lldb_private::FormattersContainer< TypeSummaryImpl >::GetTypeNameSpecifierAtIndex().
|
protected |
Definition at line 231 of file FormattersContainer.h.
Referenced by lldb_private::FormattersContainer< TypeSummaryImpl >::Add(), lldb_private::FormattersContainer< TypeSummaryImpl >::Clear(), lldb_private::FormattersContainer< TypeSummaryImpl >::Delete(), lldb_private::FormattersContainer< TypeSummaryImpl >::ForEach(), lldb_private::FormattersContainer< TypeSummaryImpl >::Get(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetAtIndex(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetCount(), lldb_private::FormattersContainer< TypeSummaryImpl >::GetExact(), and lldb_private::FormattersContainer< TypeSummaryImpl >::GetTypeNameSpecifierAtIndex().