LLDB  mainline
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lldb_private::TypeValidatorImpl Class Referenceabstract

#include <TypeValidator.h>

Inheritance diagram for lldb_private::TypeValidatorImpl:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::TypeValidatorImpl:
Collaboration graph
[legend]

Classes

class  Flags
 
struct  ValidationResult
 

Public Types

enum  Type { Type::eTypeUnknown, Type::eTypeCXX }
 
typedef std::shared_ptr< TypeValidatorImplSharedPointer
 

Public Member Functions

 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 ()
 
virtual Type GetType ()
 
virtual ValidationResult FormatObject (ValueObject *valobj) const =0
 
virtual std::string GetDescription ()=0
 

Static Public Member Functions

static ValidationResult Success ()
 
static ValidationResult Failure (std::string message)
 

Protected Attributes

Flags m_flags
 
uint32_t m_my_revision
 

Detailed Description

Definition at line 24 of file TypeValidator.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 112 of file TypeValidator.h.

Member Enumeration Documentation

◆ Type

Enumerator
eTypeUnknown 
eTypeCXX 

Definition at line 135 of file TypeValidator.h.

Constructor & Destructor Documentation

◆ TypeValidatorImpl()

TypeValidatorImpl::TypeValidatorImpl ( const Flags flags = Flags())

Definition at line 18 of file TypeValidator.cpp.

Referenced by lldb_private::TypeValidatorImpl::Flags::SetValue().

◆ ~TypeValidatorImpl()

TypeValidatorImpl::~TypeValidatorImpl ( )
virtual

Definition at line 21 of file TypeValidator.cpp.

Member Function Documentation

◆ Cascades()

bool lldb_private::TypeValidatorImpl::Cascades ( ) const
inline

◆ Failure()

TypeValidatorImpl::ValidationResult TypeValidatorImpl::Failure ( std::string  message)
static

Definition at line 28 of file TypeValidator.cpp.

References lldb_private::Failure.

Referenced by GetType().

◆ FormatObject()

virtual ValidationResult lldb_private::TypeValidatorImpl::FormatObject ( ValueObject valobj) const
pure virtual

◆ GetDescription()

virtual std::string lldb_private::TypeValidatorImpl::GetDescription ( )
pure virtual

◆ GetOptions()

uint32_t lldb_private::TypeValidatorImpl::GetOptions ( )
inline

Definition at line 129 of file TypeValidator.h.

◆ GetRevision()

uint32_t& lldb_private::TypeValidatorImpl::GetRevision ( )
inline

Definition at line 133 of file TypeValidator.h.

References m_my_revision.

◆ GetType()

virtual Type lldb_private::TypeValidatorImpl::GetType ( )
inlinevirtual

◆ NonCacheable()

bool lldb_private::TypeValidatorImpl::NonCacheable ( ) const
inline

Definition at line 119 of file TypeValidator.h.

◆ SetCascades()

void lldb_private::TypeValidatorImpl::SetCascades ( bool  value)
inline

Definition at line 121 of file TypeValidator.h.

◆ SetNonCacheable()

void lldb_private::TypeValidatorImpl::SetNonCacheable ( bool  value)
inline

Definition at line 127 of file TypeValidator.h.

◆ SetOptions()

void lldb_private::TypeValidatorImpl::SetOptions ( uint32_t  value)
inline

Definition at line 131 of file TypeValidator.h.

◆ SetSkipsPointers()

void lldb_private::TypeValidatorImpl::SetSkipsPointers ( bool  value)
inline

Definition at line 123 of file TypeValidator.h.

◆ SetSkipsReferences()

void lldb_private::TypeValidatorImpl::SetSkipsReferences ( bool  value)
inline

Definition at line 125 of file TypeValidator.h.

◆ SkipsPointers()

bool lldb_private::TypeValidatorImpl::SkipsPointers ( ) const
inline

◆ SkipsReferences()

bool lldb_private::TypeValidatorImpl::SkipsReferences ( ) const
inline

◆ Success()

TypeValidatorImpl::ValidationResult TypeValidatorImpl::Success ( )
static

Member Data Documentation

◆ m_flags

Flags lldb_private::TypeValidatorImpl::m_flags
protected

Definition at line 157 of file TypeValidator.h.

◆ m_my_revision

uint32_t lldb_private::TypeValidatorImpl::m_my_revision
protected

Definition at line 158 of file TypeValidator.h.

Referenced by GetRevision().


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