LLDB mainline
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
lldb::SBTypeEnumMember Class Reference

#include <SBTypeEnumMember.h>

Public Member Functions

 SBTypeEnumMember ()
 
 SBTypeEnumMember (const SBTypeEnumMember &rhs)
 
 ~SBTypeEnumMember ()
 
SBTypeEnumMemberoperator= (const SBTypeEnumMember &rhs)
 
 operator bool () const
 
bool IsValid () const
 
int64_t GetValueAsSigned ()
 
uint64_t GetValueAsUnsigned ()
 
const char * GetName ()
 
lldb::SBType GetType ()
 
bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level)
 

Protected Member Functions

void reset (lldb_private::TypeEnumMemberImpl *)
 
lldb_private::TypeEnumMemberImplref ()
 
const lldb_private::TypeEnumMemberImplref () const
 
 SBTypeEnumMember (const lldb::TypeEnumMemberImplSP &)
 

Protected Attributes

lldb::TypeEnumMemberImplSP m_opaque_sp
 

Friends

class SBType
 
class SBTypeEnumMemberList
 

Detailed Description

Definition at line 17 of file SBTypeEnumMember.h.

Constructor & Destructor Documentation

◆ SBTypeEnumMember() [1/3]

SBTypeEnumMember::SBTypeEnumMember ( )

Definition at line 24 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBTypeEnumMember() [2/3]

SBTypeEnumMember::SBTypeEnumMember ( const SBTypeEnumMember rhs)

Definition at line 32 of file SBTypeEnumMember.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ ~SBTypeEnumMember()

SBTypeEnumMember::~SBTypeEnumMember ( )
default

◆ SBTypeEnumMember() [3/3]

SBTypeEnumMember::SBTypeEnumMember ( const lldb::TypeEnumMemberImplSP enum_member_sp)
protected

Definition at line 28 of file SBTypeEnumMember.cpp.

Member Function Documentation

◆ GetDescription()

bool SBTypeEnumMember::GetDescription ( lldb::SBStream description,
lldb::DescriptionLevel  description_level 
)

◆ GetName()

const char * SBTypeEnumMember::GetName ( )

Definition at line 56 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetType()

SBType SBTypeEnumMember::GetType ( )

Definition at line 80 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBType::SetSP().

◆ GetValueAsSigned()

int64_t SBTypeEnumMember::GetValueAsSigned ( )

Definition at line 64 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetValueAsUnsigned()

uint64_t SBTypeEnumMember::GetValueAsUnsigned ( )

Definition at line 72 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ IsValid()

bool SBTypeEnumMember::IsValid ( ) const

Definition at line 46 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA.

Referenced by lldb::SBTypeEnumMemberList::Append().

◆ operator bool()

SBTypeEnumMember::operator bool ( ) const
explicit

Definition at line 50 of file SBTypeEnumMember.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

SBTypeEnumMember & SBTypeEnumMember::operator= ( const SBTypeEnumMember rhs)

Definition at line 38 of file SBTypeEnumMember.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ ref() [1/2]

TypeEnumMemberImpl & SBTypeEnumMember::ref ( )
protected

Definition at line 94 of file SBTypeEnumMember.cpp.

References m_opaque_sp.

◆ ref() [2/2]

const TypeEnumMemberImpl & SBTypeEnumMember::ref ( ) const
protected

Definition at line 100 of file SBTypeEnumMember.cpp.

References m_opaque_sp.

◆ reset()

void SBTypeEnumMember::reset ( lldb_private::TypeEnumMemberImpl type_member_impl)
protected

Definition at line 90 of file SBTypeEnumMember.cpp.

References m_opaque_sp.

Friends And Related Function Documentation

◆ SBType

friend class SBType
friend

Definition at line 43 of file SBTypeEnumMember.h.

◆ SBTypeEnumMemberList

friend class SBTypeEnumMemberList
friend

Definition at line 44 of file SBTypeEnumMember.h.

Member Data Documentation

◆ m_opaque_sp

lldb::TypeEnumMemberImplSP lldb::SBTypeEnumMember::m_opaque_sp
protected

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