diff options
author | Ed Maste <emaste@FreeBSD.org> | 2015-02-06 21:38:51 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2015-02-06 21:38:51 +0000 |
commit | 205afe679855a4ce8149cdaa94d3f0868ce796dc (patch) | |
tree | 09bc83f73246ee3c7a779605cd0122093d2a8a19 /include/lldb/DataFormatters/FormatManager.h | |
parent | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (diff) |
Diffstat (limited to 'include/lldb/DataFormatters/FormatManager.h')
-rw-r--r-- | include/lldb/DataFormatters/FormatManager.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/lldb/DataFormatters/FormatManager.h b/include/lldb/DataFormatters/FormatManager.h index 0b9144dffa17..37dae6536761 100644 --- a/include/lldb/DataFormatters/FormatManager.h +++ b/include/lldb/DataFormatters/FormatManager.h @@ -86,6 +86,18 @@ public: m_categories_map.Disable(category); } + void + EnableAllCategories () + { + m_categories_map.EnableAllCategories (); + } + + void + DisableAllCategories () + { + m_categories_map.DisableAllCategories (); + } + bool DeleteCategory (const ConstString& category_name) { @@ -148,6 +160,9 @@ public: GetSyntheticChildrenForType (lldb::TypeNameSpecifierImplSP type_sp); #endif + lldb::TypeValidatorImplSP + GetValidatorForType (lldb::TypeNameSpecifierImplSP type_sp); + lldb::TypeFormatImplSP GetFormat (ValueObject& valobj, lldb::DynamicValueType use_dynamic); @@ -162,6 +177,10 @@ public: lldb::DynamicValueType use_dynamic); #endif + lldb::TypeValidatorImplSP + GetValidator (ValueObject& valobj, + lldb::DynamicValueType use_dynamic); + bool AnyMatches (ConstString type_name, TypeCategoryImpl::FormatCategoryItems items = TypeCategoryImpl::ALL_ITEM_TYPES, @@ -272,6 +291,7 @@ private: HardcodedFormatterFinders<TypeFormatImpl> m_hardcoded_formats; HardcodedFormatterFinders<TypeSummaryImpl> m_hardcoded_summaries; HardcodedFormatterFinders<SyntheticChildren> m_hardcoded_synthetics; + HardcodedFormatterFinders<TypeValidatorImpl> m_hardcoded_validators; lldb::TypeFormatImplSP GetHardcodedFormat (ValueObject&,lldb::DynamicValueType); @@ -282,6 +302,9 @@ private: lldb::SyntheticChildrenSP GetHardcodedSyntheticChildren (ValueObject&,lldb::DynamicValueType); + lldb::TypeValidatorImplSP + GetHardcodedValidator (ValueObject&,lldb::DynamicValueType); + TypeCategoryMap& GetCategories () { |