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

#include <FormatClasses.h>

Classes

struct  Flags
 

Public Member Functions

 FormattersMatchCandidate (ConstString name, ScriptInterpreter *script_interpreter, TypeImpl type, Flags flags)
 
 ~FormattersMatchCandidate ()=default
 
ConstString GetTypeName () const
 
TypeImpl GetType () const
 
ScriptInterpreterGetScriptInterpreter () 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
 
ScriptInterpreterm_script_interpreter
 
TypeImpl m_type
 
Flags m_flags
 

Detailed Description

Definition at line 45 of file FormatClasses.h.

Constructor & Destructor Documentation

◆ FormattersMatchCandidate()

lldb_private::FormattersMatchCandidate::FormattersMatchCandidate ( ConstString  name,
ScriptInterpreter script_interpreter,
TypeImpl  type,
Flags  flags 
)
inline

Definition at line 77 of file FormatClasses.h.

◆ ~FormattersMatchCandidate()

lldb_private::FormattersMatchCandidate::~FormattersMatchCandidate ( )
default

Member Function Documentation

◆ DidStripPointer()

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

Definition at line 93 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 95 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 97 of file FormatClasses.h.

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

Referenced by IsMatch().

◆ GetScriptInterpreter()

ScriptInterpreter * lldb_private::FormattersMatchCandidate::GetScriptInterpreter ( ) const
inline

Definition at line 89 of file FormatClasses.h.

References m_script_interpreter.

Referenced by lldb_private::TypeMatcher::Matches().

◆ GetType()

TypeImpl lldb_private::FormattersMatchCandidate::GetType ( ) const
inline

Definition at line 87 of file FormatClasses.h.

References m_type.

Referenced by lldb_private::TypeMatcher::Matches().

◆ GetTypeName()

ConstString lldb_private::FormattersMatchCandidate::GetTypeName ( ) const
inline

Definition at line 85 of file FormatClasses.h.

References m_type_name.

Referenced by lldb_private::TypeMatcher::Matches().

◆ IsMatch()

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

Definition at line 100 of file FormatClasses.h.

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

Member Data Documentation

◆ m_flags

Flags lldb_private::FormattersMatchCandidate::m_flags
private

Definition at line 118 of file FormatClasses.h.

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

◆ m_script_interpreter

ScriptInterpreter* lldb_private::FormattersMatchCandidate::m_script_interpreter
private

Definition at line 116 of file FormatClasses.h.

Referenced by GetScriptInterpreter().

◆ m_type

TypeImpl lldb_private::FormattersMatchCandidate::m_type
private

Definition at line 117 of file FormatClasses.h.

Referenced by GetType().

◆ m_type_name

ConstString lldb_private::FormattersMatchCandidate::m_type_name
private

Definition at line 113 of file FormatClasses.h.

Referenced by GetTypeName().


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