Go to the documentation of this file.
9 #ifndef LLDB_DATAFORMATTERS_FORMATMANAGER_H
10 #define LLDB_DATAFORMATTERS_FORMATMANAGER_H
13 #include <initializer_list>
41 typedef std::map<lldb::LanguageType, LanguageCategory::UniquePointer>
63 category_sp->AddLanguage(lang);
99 lldb::TypeCategoryImplSP
GetCategory(
const char *category_name =
nullptr,
100 bool can_create =
true) {
107 bool can_create =
true);
109 lldb::TypeFormatImplSP
112 lldb::TypeSummaryImplSP
115 lldb::TypeFilterImplSP
118 lldb::ScriptedSyntheticChildrenSP
127 lldb::SyntheticChildrenSP
134 bool only_enabled =
true,
const char **matching_category =
nullptr,
137 matching_category, matching_type);
166 use_dynamic, matches,
false,
false,
false,
true);
174 static std::vector<lldb::LanguageType>
182 bool did_strip_ptr,
bool did_strip_ref,
183 bool did_strip_typedef,
184 bool root_level =
false);
197 template <
typename ImplSP>
219 #endif // LLDB_DATAFORMATTERS_FORMATMANAGER_H
Format
Display format definitions.
bool Enable(KeyType category_name, Position pos=Default)
LanguageType
Programming language type.
static const uint16_t ALL_ITEM_TYPES
bool AnyMatches(ConstString type_name, TypeCategoryImpl::FormatCategoryItems items=TypeCategoryImpl::ALL_ITEM_TYPES, bool only_enabled=true, const char **matching_category=nullptr, TypeCategoryImpl::FormatCategoryItems *matching_type=nullptr)
lldb::TypeCategoryImplSP GetAtIndex(uint32_t)
std::function< bool(const ValueSP &)> ForEachCallback
std::vector< FormattersMatchCandidate > FormattersMatchVector
static const Position Default
ValueType::SharedPointer ValueSP
bool Delete(KeyType name)
bool Disable(KeyType category_name)
CompilerType GetCompilerType()
Generic representation of a type in a programming language.
A class that represents a running process on the host machine.
bool Get(KeyType name, ValueSP &entry)