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

#include <Type.h>

Public Member Functions

 TypeEnumMemberImpl ()
 
 TypeEnumMemberImpl (const lldb::TypeImplSP &integer_type_sp, ConstString name, const llvm::APSInt &value)
 
 TypeEnumMemberImpl (const TypeEnumMemberImpl &rhs)=default
 
TypeEnumMemberImploperator= (const TypeEnumMemberImpl &rhs)
 
bool IsValid ()
 
ConstString GetName () const
 
const lldb::TypeImplSPGetIntegerType () const
 
uint64_t GetValueAsUnsigned () const
 
int64_t GetValueAsSigned () const
 

Protected Attributes

lldb::TypeImplSP m_integer_type_sp
 
ConstString m_name
 
llvm::APSInt m_value
 
bool m_valid = false
 

Detailed Description

Definition at line 859 of file Type.h.

Constructor & Destructor Documentation

◆ TypeEnumMemberImpl() [1/3]

lldb_private::TypeEnumMemberImpl::TypeEnumMemberImpl ( )
inline

Definition at line 861 of file Type.h.

◆ TypeEnumMemberImpl() [2/3]

TypeEnumMemberImpl::TypeEnumMemberImpl ( const lldb::TypeImplSP integer_type_sp,
ConstString  name,
const llvm::APSInt &  value 
)

Definition at line 1263 of file Type.cpp.

◆ TypeEnumMemberImpl() [3/3]

lldb_private::TypeEnumMemberImpl::TypeEnumMemberImpl ( const TypeEnumMemberImpl rhs)
default

Member Function Documentation

◆ GetIntegerType()

const lldb::TypeImplSP & lldb_private::TypeEnumMemberImpl::GetIntegerType ( ) const
inline

Definition at line 874 of file Type.h.

References m_integer_type_sp.

◆ GetName()

ConstString lldb_private::TypeEnumMemberImpl::GetName ( ) const
inline

Definition at line 872 of file Type.h.

References m_name.

◆ GetValueAsSigned()

int64_t lldb_private::TypeEnumMemberImpl::GetValueAsSigned ( ) const
inline

Definition at line 878 of file Type.h.

References m_value.

◆ GetValueAsUnsigned()

uint64_t lldb_private::TypeEnumMemberImpl::GetValueAsUnsigned ( ) const
inline

Definition at line 876 of file Type.h.

References m_value.

◆ IsValid()

bool lldb_private::TypeEnumMemberImpl::IsValid ( )
inline

Definition at line 870 of file Type.h.

References m_valid.

◆ operator=()

TypeEnumMemberImpl & lldb_private::TypeEnumMemberImpl::operator= ( const TypeEnumMemberImpl rhs)

Member Data Documentation

◆ m_integer_type_sp

lldb::TypeImplSP lldb_private::TypeEnumMemberImpl::m_integer_type_sp
protected

Definition at line 881 of file Type.h.

Referenced by GetIntegerType().

◆ m_name

ConstString lldb_private::TypeEnumMemberImpl::m_name
protected

Definition at line 882 of file Type.h.

Referenced by GetName().

◆ m_valid

bool lldb_private::TypeEnumMemberImpl::m_valid = false
protected

Definition at line 884 of file Type.h.

Referenced by IsValid().

◆ m_value

llvm::APSInt lldb_private::TypeEnumMemberImpl::m_value
protected

Definition at line 883 of file Type.h.

Referenced by GetValueAsSigned(), and GetValueAsUnsigned().


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