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

#include <FormatClasses.h>

Collaboration diagram for lldb_private::FormattersMatchCandidate:
Collaboration graph


struct  Flags

Public Member Functions

 FormattersMatchCandidate (ConstString name, Flags flags)
 ~FormattersMatchCandidate ()=default
ConstString GetTypeName () const
bool DidStripPointer () const
bool DidStripReference () const
bool DidStripTypedef () const
template<class Formatter >
bool IsMatch (const std::shared_ptr< Formatter > &formatter_sp) const

Private Attributes

ConstString m_type_name
Flags m_flags

Detailed Description

Definition at line 44 of file FormatClasses.h.

Constructor & Destructor Documentation

◆ FormattersMatchCandidate()

lldb_private::FormattersMatchCandidate::FormattersMatchCandidate ( ConstString  name,
Flags  flags 

Definition at line 76 of file FormatClasses.h.

◆ ~FormattersMatchCandidate()

lldb_private::FormattersMatchCandidate::~FormattersMatchCandidate ( )

Member Function Documentation

◆ DidStripPointer()

bool lldb_private::FormattersMatchCandidate::DidStripPointer ( ) const

Definition at line 83 of file FormatClasses.h.

References m_flags, and lldb_private::FormattersMatchCandidate::Flags::stripped_pointer.

Referenced by IsMatch().

◆ DidStripReference()

bool lldb_private::FormattersMatchCandidate::DidStripReference ( ) const

Definition at line 85 of file FormatClasses.h.

References m_flags, and lldb_private::FormattersMatchCandidate::Flags::stripped_reference.

Referenced by IsMatch().

◆ DidStripTypedef()

bool lldb_private::FormattersMatchCandidate::DidStripTypedef ( ) const

Definition at line 87 of file FormatClasses.h.

References m_flags, and lldb_private::FormattersMatchCandidate::Flags::stripped_typedef.

Referenced by IsMatch().

◆ GetTypeName()

ConstString lldb_private::FormattersMatchCandidate::GetTypeName ( ) const

Definition at line 81 of file FormatClasses.h.

References m_type_name.

◆ IsMatch()

template<class Formatter >
bool lldb_private::FormattersMatchCandidate::IsMatch ( const std::shared_ptr< Formatter > &  formatter_sp) const

Definition at line 90 of file FormatClasses.h.

References DidStripPointer(), DidStripReference(), and DidStripTypedef().

Member Data Documentation

◆ m_flags

Flags lldb_private::FormattersMatchCandidate::m_flags

Definition at line 104 of file FormatClasses.h.

Referenced by DidStripPointer(), DidStripReference(), and DidStripTypedef().

◆ m_type_name

ConstString lldb_private::FormattersMatchCandidate::m_type_name

Definition at line 103 of file FormatClasses.h.

Referenced by GetTypeName().

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