LLDB mainline
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::LanguageCategory Class Reference

#include <LanguageCategory.h>

Public Types

typedef std::unique_ptr< LanguageCategoryUniquePointer
 

Public Member Functions

 LanguageCategory (lldb::LanguageType lang_type)
 
template<typename ImplSP >
bool Get (FormattersMatchData &match_data, ImplSP &format_sp)
 
template<typename ImplSP >
bool GetHardcoded (FormatManager &fmt_mgr, FormattersMatchData &match_data, ImplSP &format_sp)
 
lldb::TypeCategoryImplSP GetCategory () const
 
FormatCacheGetFormatCache ()
 
void Enable ()
 
void Disable ()
 
bool IsEnabled ()
 

Private Member Functions

template<typename ImplSP >
auto & GetHardcodedFinder ()
 

Private Attributes

lldb::TypeCategoryImplSP m_category_sp
 
HardcodedFormatters::HardcodedFormatFinder m_hardcoded_formats
 
HardcodedFormatters::HardcodedSummaryFinder m_hardcoded_summaries
 
HardcodedFormatters::HardcodedSyntheticFinder m_hardcoded_synthetics
 
lldb_private::FormatCache m_format_cache
 
bool m_enabled
 

Detailed Description

Definition at line 21 of file LanguageCategory.h.

Member Typedef Documentation

◆ UniquePointer

Definition at line 23 of file LanguageCategory.h.

Constructor & Destructor Documentation

◆ LanguageCategory()

LanguageCategory::LanguageCategory ( lldb::LanguageType  lang_type)

Member Function Documentation

◆ Disable()

void LanguageCategory::Disable ( )

Definition at line 130 of file LanguageCategory.cpp.

References m_category_sp, and m_enabled.

◆ Enable()

void LanguageCategory::Enable ( )

Definition at line 124 of file LanguageCategory.cpp.

References lldb_private::TypeCategoryMap::Default, m_category_sp, and m_enabled.

Referenced by LanguageCategory().

◆ Get()

template<typename ImplSP >
bool LanguageCategory::Get ( FormattersMatchData match_data,
ImplSP &  format_sp 
)

◆ GetCategory()

lldb::TypeCategoryImplSP LanguageCategory::GetCategory ( ) const

Definition at line 118 of file LanguageCategory.cpp.

References m_category_sp.

◆ GetFormatCache()

FormatCache & LanguageCategory::GetFormatCache ( )

Definition at line 122 of file LanguageCategory.cpp.

References m_format_cache.

◆ GetHardcoded()

template<typename ImplSP >
bool LanguageCategory::GetHardcoded ( FormatManager fmt_mgr,
FormattersMatchData match_data,
ImplSP &  format_sp 
)

◆ GetHardcodedFinder()

template<typename ImplSP >
auto & lldb_private::LanguageCategory::GetHardcodedFinder ( )
private

◆ IsEnabled()

bool LanguageCategory::IsEnabled ( )

Definition at line 136 of file LanguageCategory.cpp.

References m_enabled.

Referenced by Get(), and GetHardcoded().

Member Data Documentation

◆ m_category_sp

lldb::TypeCategoryImplSP lldb_private::LanguageCategory::m_category_sp
private

Definition at line 44 of file LanguageCategory.h.

Referenced by Disable(), Enable(), Get(), GetCategory(), and LanguageCategory().

◆ m_enabled

bool lldb_private::LanguageCategory::m_enabled
private

Definition at line 55 of file LanguageCategory.h.

Referenced by Disable(), Enable(), and IsEnabled().

◆ m_format_cache

lldb_private::FormatCache lldb_private::LanguageCategory::m_format_cache
private

Definition at line 53 of file LanguageCategory.h.

Referenced by Get(), and GetFormatCache().

◆ m_hardcoded_formats

HardcodedFormatters::HardcodedFormatFinder lldb_private::LanguageCategory::m_hardcoded_formats
private

Definition at line 46 of file LanguageCategory.h.

Referenced by LanguageCategory().

◆ m_hardcoded_summaries

HardcodedFormatters::HardcodedSummaryFinder lldb_private::LanguageCategory::m_hardcoded_summaries
private

Definition at line 47 of file LanguageCategory.h.

Referenced by LanguageCategory().

◆ m_hardcoded_synthetics

HardcodedFormatters::HardcodedSyntheticFinder lldb_private::LanguageCategory::m_hardcoded_synthetics
private

Definition at line 48 of file LanguageCategory.h.

Referenced by LanguageCategory().


The documentation for this class was generated from the following files: