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
[legend]

Classes

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 
)
inline

Definition at line 76 of file FormatClasses.h.

◆ ~FormattersMatchCandidate()

lldb_private::FormattersMatchCandidate::~FormattersMatchCandidate ( )
default

Member Function Documentation

◆ DidStripPointer()

bool lldb_private::FormattersMatchCandidate::DidStripPointer ( ) const
inline

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
inline

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
inline

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
inline

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
inline

Definition at line 90 of file FormatClasses.h.

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

Member Data Documentation

◆ m_flags

Flags lldb_private::FormattersMatchCandidate::m_flags
private

Definition at line 104 of file FormatClasses.h.

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

◆ m_type_name

ConstString lldb_private::FormattersMatchCandidate::m_type_name
private

Definition at line 103 of file FormatClasses.h.

Referenced by GetTypeName().


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