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 792 of file Type.h.

Constructor & Destructor Documentation

◆ TypeEnumMemberImpl() [1/3]

lldb_private::TypeEnumMemberImpl::TypeEnumMemberImpl ( )
inline

Definition at line 794 of file Type.h.

◆ TypeEnumMemberImpl() [2/3]

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

Definition at line 1243 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 807 of file Type.h.

References m_integer_type_sp.

◆ GetName()

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

Definition at line 805 of file Type.h.

References m_name.

◆ GetValueAsSigned()

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

Definition at line 811 of file Type.h.

References m_value.

◆ GetValueAsUnsigned()

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

Definition at line 809 of file Type.h.

References m_value.

◆ IsValid()

bool lldb_private::TypeEnumMemberImpl::IsValid ( )
inline

Definition at line 803 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 814 of file Type.h.

Referenced by GetIntegerType().

◆ m_name

ConstString lldb_private::TypeEnumMemberImpl::m_name
protected

Definition at line 815 of file Type.h.

Referenced by GetName().

◆ m_valid

bool lldb_private::TypeEnumMemberImpl::m_valid = false
protected

Definition at line 817 of file Type.h.

Referenced by IsValid().

◆ m_value

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

Definition at line 816 of file Type.h.

Referenced by GetValueAsSigned(), and GetValueAsUnsigned().


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