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);
174 static std::vector<lldb::LanguageType>
183 bool root_level =
false);
196 template <
typename ImplSP>
Generic representation of a type in a programming language.
A uniqued constant string class.
static const uint16_t ALL_ITEM_TYPES
bool Get(KeyType name, ValueSP &entry)
ValueType::SharedPointer ValueSP
bool Delete(KeyType name)
std::function< bool(const ValueSP &)> ForEachCallback
bool AnyMatches(const FormattersMatchCandidate &candidate_type, TypeCategoryImpl::FormatCategoryItems items=TypeCategoryImpl::ALL_ITEM_TYPES, bool only_enabled=true, const char **matching_category=nullptr, TypeCategoryImpl::FormatCategoryItems *matching_type=nullptr)
bool Enable(KeyType category_name, Position pos=Default)
lldb::TypeCategoryImplSP GetAtIndex(uint32_t)
bool Disable(KeyType category_name)
static const Position Default
CompilerType GetCompilerType()
A class that represents a running process on the host machine.
std::vector< FormattersMatchCandidate > FormattersMatchVector
Format
Display format definitions.
LanguageType
Programming language type.