LLDB mainline
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
lldb::SBTypeCategory Class Reference

#include <SBTypeCategory.h>

Public Member Functions

 SBTypeCategory ()
 
 SBTypeCategory (const lldb::SBTypeCategory &rhs)
 
 ~SBTypeCategory ()
 
 operator bool () const
 
bool IsValid () const
 
bool GetEnabled ()
 
void SetEnabled (bool)
 
const char * GetName ()
 
lldb::LanguageType GetLanguageAtIndex (uint32_t idx)
 
uint32_t GetNumLanguages ()
 
void AddLanguage (lldb::LanguageType language)
 
bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level)
 
uint32_t GetNumFormats ()
 
uint32_t GetNumSummaries ()
 
uint32_t GetNumFilters ()
 
uint32_t GetNumSynthetics ()
 
SBTypeNameSpecifier GetTypeNameSpecifierForFilterAtIndex (uint32_t)
 
SBTypeNameSpecifier GetTypeNameSpecifierForFormatAtIndex (uint32_t)
 
SBTypeNameSpecifier GetTypeNameSpecifierForSummaryAtIndex (uint32_t)
 
SBTypeNameSpecifier GetTypeNameSpecifierForSyntheticAtIndex (uint32_t)
 
SBTypeFilter GetFilterForType (SBTypeNameSpecifier)
 
SBTypeFormat GetFormatForType (SBTypeNameSpecifier)
 
SBTypeSummary GetSummaryForType (SBTypeNameSpecifier)
 
SBTypeSynthetic GetSyntheticForType (SBTypeNameSpecifier)
 
SBTypeFilter GetFilterAtIndex (uint32_t)
 
SBTypeFormat GetFormatAtIndex (uint32_t)
 
SBTypeSummary GetSummaryAtIndex (uint32_t)
 
SBTypeSynthetic GetSyntheticAtIndex (uint32_t)
 
bool AddTypeFormat (SBTypeNameSpecifier, SBTypeFormat)
 
bool DeleteTypeFormat (SBTypeNameSpecifier)
 
bool AddTypeSummary (SBTypeNameSpecifier, SBTypeSummary)
 
bool DeleteTypeSummary (SBTypeNameSpecifier)
 
bool AddTypeFilter (SBTypeNameSpecifier, SBTypeFilter)
 
bool DeleteTypeFilter (SBTypeNameSpecifier)
 
bool AddTypeSynthetic (SBTypeNameSpecifier, SBTypeSynthetic)
 
bool DeleteTypeSynthetic (SBTypeNameSpecifier)
 
lldb::SBTypeCategoryoperator= (const lldb::SBTypeCategory &rhs)
 
bool operator== (lldb::SBTypeCategory &rhs)
 
bool operator!= (lldb::SBTypeCategory &rhs)
 

Protected Member Functions

lldb::TypeCategoryImplSP GetSP ()
 
void SetSP (const lldb::TypeCategoryImplSP &typecategory_impl_sp)
 
 SBTypeCategory (const lldb::TypeCategoryImplSP &)
 
 SBTypeCategory (const char *)
 
bool IsDefaultCategory ()
 

Protected Attributes

TypeCategoryImplSP m_opaque_sp
 

Friends

class SBDebugger
 

Detailed Description

Definition at line 17 of file SBTypeCategory.h.

Constructor & Destructor Documentation

◆ SBTypeCategory() [1/4]

SBTypeCategory::SBTypeCategory ( )

Definition at line 29 of file SBTypeCategory.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBTypeCategory() [2/4]

SBTypeCategory::SBTypeCategory ( const lldb::SBTypeCategory rhs)

Definition at line 35 of file SBTypeCategory.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBTypeCategory()

SBTypeCategory::~SBTypeCategory ( )
default

References lldb::operator==().

◆ SBTypeCategory() [3/4]

SBTypeCategory::SBTypeCategory ( const lldb::TypeCategoryImplSP typecategory_impl_sp)
protected

Definition at line 535 of file SBTypeCategory.cpp.

◆ SBTypeCategory() [4/4]

SBTypeCategory::SBTypeCategory ( const char *  name)
protected

Member Function Documentation

◆ AddLanguage()

void SBTypeCategory::AddLanguage ( lldb::LanguageType  language)

Definition at line 95 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ AddTypeFilter()

bool SBTypeCategory::AddTypeFilter ( SBTypeNameSpecifier  type_name,
SBTypeFilter  filter 
)

◆ AddTypeFormat()

bool SBTypeCategory::AddTypeFormat ( SBTypeNameSpecifier  type_name,
SBTypeFormat  format 
)

◆ AddTypeSummary()

bool SBTypeCategory::AddTypeSummary ( SBTypeNameSpecifier  type_name,
SBTypeSummary  summary 
)

◆ AddTypeSynthetic()

bool SBTypeCategory::AddTypeSynthetic ( SBTypeNameSpecifier  type_name,
SBTypeSynthetic  synth 
)

◆ DeleteTypeFilter()

bool SBTypeCategory::DeleteTypeFilter ( SBTypeNameSpecifier  type_name)

◆ DeleteTypeFormat()

bool SBTypeCategory::DeleteTypeFormat ( SBTypeNameSpecifier  type_name)

◆ DeleteTypeSummary()

bool SBTypeCategory::DeleteTypeSummary ( SBTypeNameSpecifier  type_name)

◆ DeleteTypeSynthetic()

bool SBTypeCategory::DeleteTypeSynthetic ( SBTypeNameSpecifier  type_name)

◆ GetDescription()

bool SBTypeCategory::GetDescription ( lldb::SBStream description,
lldb::DescriptionLevel  description_level 
)

Definition at line 486 of file SBTypeCategory.cpp.

References GetName(), IsValid(), and LLDB_INSTRUMENT_VA.

◆ GetEnabled()

bool SBTypeCategory::GetEnabled ( )

Definition at line 52 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Referenced by lldb::SBDebugger::GetFormatForType().

◆ GetFilterAtIndex()

SBTypeFilter SBTypeCategory::GetFilterAtIndex ( uint32_t  index)

Definition at line 252 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetFilterForType()

SBTypeFilter SBTypeCategory::GetFilterForType ( SBTypeNameSpecifier  spec)

◆ GetFormatAtIndex()

SBTypeFormat SBTypeCategory::GetFormatAtIndex ( uint32_t  index)

Definition at line 269 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetFormatForType()

SBTypeFormat SBTypeCategory::GetFormatForType ( SBTypeNameSpecifier  spec)

◆ GetLanguageAtIndex()

lldb::LanguageType SBTypeCategory::GetLanguageAtIndex ( uint32_t  idx)

◆ GetName()

const char * SBTypeCategory::GetName ( )

◆ GetNumFilters()

uint32_t SBTypeCategory::GetNumFilters ( )

Definition at line 119 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetNumFormats()

uint32_t SBTypeCategory::GetNumFormats ( )

Definition at line 102 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetNumLanguages()

uint32_t SBTypeCategory::GetNumLanguages ( )

Definition at line 87 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetNumSummaries()

uint32_t SBTypeCategory::GetNumSummaries ( )

Definition at line 111 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetNumSynthetics()

uint32_t SBTypeCategory::GetNumSynthetics ( )

Definition at line 127 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetSP()

lldb::TypeCategoryImplSP SBTypeCategory::GetSP ( )
protected

Definition at line 524 of file SBTypeCategory.cpp.

References IsValid(), and m_opaque_sp.

◆ GetSummaryAtIndex()

SBTypeSummary SBTypeCategory::GetSummaryAtIndex ( uint32_t  index)

Definition at line 277 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetSummaryForType()

SBTypeSummary SBTypeCategory::GetSummaryForType ( SBTypeNameSpecifier  spec)

◆ GetSyntheticAtIndex()

SBTypeSynthetic SBTypeCategory::GetSyntheticAtIndex ( uint32_t  index)

Definition at line 285 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetSyntheticForType()

SBTypeSynthetic SBTypeCategory::GetSyntheticForType ( SBTypeNameSpecifier  spec)

◆ GetTypeNameSpecifierForFilterAtIndex()

lldb::SBTypeNameSpecifier SBTypeCategory::GetTypeNameSpecifierForFilterAtIndex ( uint32_t  index)

Definition at line 136 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetTypeNameSpecifierForFormatAtIndex()

lldb::SBTypeNameSpecifier SBTypeCategory::GetTypeNameSpecifierForFormatAtIndex ( uint32_t  index)

Definition at line 146 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetTypeNameSpecifierForSummaryAtIndex()

lldb::SBTypeNameSpecifier SBTypeCategory::GetTypeNameSpecifierForSummaryAtIndex ( uint32_t  index)

Definition at line 156 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetTypeNameSpecifierForSyntheticAtIndex()

lldb::SBTypeNameSpecifier SBTypeCategory::GetTypeNameSpecifierForSyntheticAtIndex ( uint32_t  index)

Definition at line 166 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ IsDefaultCategory()

bool SBTypeCategory::IsDefaultCategory ( )
protected

Definition at line 539 of file SBTypeCategory.cpp.

References IsValid(), and m_opaque_sp.

◆ IsValid()

bool SBTypeCategory::IsValid ( ) const

◆ operator bool()

SBTypeCategory::operator bool ( ) const
explicit

Definition at line 46 of file SBTypeCategory.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

bool SBTypeCategory::operator!= ( lldb::SBTypeCategory rhs)

Definition at line 515 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ operator=()

lldb::SBTypeCategory & SBTypeCategory::operator= ( const lldb::SBTypeCategory rhs)

Definition at line 496 of file SBTypeCategory.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ operator==()

bool SBTypeCategory::operator== ( lldb::SBTypeCategory rhs)

Definition at line 506 of file SBTypeCategory.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ SetEnabled()

void SBTypeCategory::SetEnabled ( bool  enabled)

◆ SetSP()

void SBTypeCategory::SetSP ( const lldb::TypeCategoryImplSP typecategory_impl_sp)
protected

Definition at line 530 of file SBTypeCategory.cpp.

References m_opaque_sp.

Friends And Related Function Documentation

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 99 of file SBTypeCategory.h.

Member Data Documentation

◆ m_opaque_sp

TypeCategoryImplSP lldb::SBTypeCategory::m_opaque_sp
protected

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