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

#include <TypeValidator.h>

Inheritance diagram for lldb_private::TypeValidatorImpl_CXX:
Inheritance graph
Collaboration diagram for lldb_private::TypeValidatorImpl_CXX:
Collaboration graph

Public Types

typedef std::function< TypeValidatorImpl::ValidationResult(ValueObject *valobj)> ValidatorFunction
typedef std::shared_ptr< TypeValidatorImpl_CXXSharedPointer
- Public Types inherited from lldb_private::TypeValidatorImpl
enum  Type { Type::eTypeUnknown, Type::eTypeCXX }
typedef std::shared_ptr< TypeValidatorImplSharedPointer

Public Member Functions

 TypeValidatorImpl_CXX (ValidatorFunction f, std::string d, const TypeValidatorImpl::Flags &flags=Flags())
 ~TypeValidatorImpl_CXX () override
ValidatorFunction GetValidatorFunction () const
void SetValidatorFunction (ValidatorFunction f)
TypeValidatorImpl::Type GetType () override
ValidationResult FormatObject (ValueObject *valobj) const override
std::string GetDescription () override
- Public Member Functions inherited from lldb_private::TypeValidatorImpl
 TypeValidatorImpl (const Flags &flags=Flags())
virtual ~TypeValidatorImpl ()
bool Cascades () const
bool SkipsPointers () const
bool SkipsReferences () const
bool NonCacheable () const
void SetCascades (bool value)
void SetSkipsPointers (bool value)
void SetSkipsReferences (bool value)
void SetNonCacheable (bool value)
uint32_t GetOptions ()
void SetOptions (uint32_t value)
uint32_tGetRevision ()

Protected Attributes

std::string m_description
ValidatorFunction m_validator_function
- Protected Attributes inherited from lldb_private::TypeValidatorImpl
Flags m_flags
uint32_t m_my_revision

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::TypeValidatorImpl
static ValidationResult Success ()
static ValidationResult Failure (std::string message)

Detailed Description

Definition at line 164 of file TypeValidator.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 173 of file TypeValidator.h.

◆ ValidatorFunction

Definition at line 168 of file TypeValidator.h.

Constructor & Destructor Documentation

◆ TypeValidatorImpl_CXX()

TypeValidatorImpl_CXX::TypeValidatorImpl_CXX ( ValidatorFunction  f,
std::string  d,
const TypeValidatorImpl::Flags flags = Flags() 

Definition at line 32 of file TypeValidator.cpp.

◆ ~TypeValidatorImpl_CXX()

TypeValidatorImpl_CXX::~TypeValidatorImpl_CXX ( )

Definition at line 36 of file TypeValidator.cpp.

Member Function Documentation

◆ FormatObject()

TypeValidatorImpl::ValidationResult TypeValidatorImpl_CXX::FormatObject ( ValueObject valobj) const

◆ GetDescription()

std::string TypeValidatorImpl_CXX::GetDescription ( )

◆ GetType()

TypeValidatorImpl::Type lldb_private::TypeValidatorImpl_CXX::GetType ( )

◆ GetValidatorFunction()

ValidatorFunction lldb_private::TypeValidatorImpl_CXX::GetValidatorFunction ( ) const

Definition at line 177 of file TypeValidator.h.

◆ SetValidatorFunction()

void lldb_private::TypeValidatorImpl_CXX::SetValidatorFunction ( ValidatorFunction  f)

Definition at line 181 of file TypeValidator.h.

Member Data Documentation

◆ m_description

std::string lldb_private::TypeValidatorImpl_CXX::m_description

Definition at line 192 of file TypeValidator.h.

Referenced by GetDescription().

◆ m_validator_function

ValidatorFunction lldb_private::TypeValidatorImpl_CXX::m_validator_function

Definition at line 193 of file TypeValidator.h.

Referenced by FormatObject().

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