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

#include <SBDeclaration.h>

Public Member Functions

 SBDeclaration ()
 
 SBDeclaration (const lldb::SBDeclaration &rhs)
 
 ~SBDeclaration ()
 
const lldb::SBDeclarationoperator= (const lldb::SBDeclaration &rhs)
 
 operator bool () const
 
bool IsValid () const
 
lldb::SBFileSpec GetFileSpec () const
 
uint32_t GetLine () const
 
uint32_t GetColumn () const
 
void SetFileSpec (lldb::SBFileSpec filespec)
 
void SetLine (uint32_t line)
 
void SetColumn (uint32_t column)
 
bool operator== (const lldb::SBDeclaration &rhs) const
 
bool operator!= (const lldb::SBDeclaration &rhs) const
 
bool GetDescription (lldb::SBStream &description)
 

Protected Member Functions

lldb_private::Declarationget ()
 

Private Member Functions

const lldb_private::Declarationoperator-> () const
 
lldb_private::Declarationref ()
 
const lldb_private::Declarationref () const
 
 SBDeclaration (const lldb_private::Declaration *lldb_object_ptr)
 
void SetDeclaration (const lldb_private::Declaration &lldb_object_ref)
 

Private Attributes

std::unique_ptr< lldb_private::Declarationm_opaque_up
 

Friends

class SBValue
 

Detailed Description

Definition at line 18 of file SBDeclaration.h.

Constructor & Destructor Documentation

◆ SBDeclaration() [1/3]

SBDeclaration::SBDeclaration ( )

Definition at line 22 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBDeclaration() [2/3]

SBDeclaration::SBDeclaration ( const lldb::SBDeclaration rhs)

Definition at line 24 of file SBDeclaration.cpp.

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

◆ ~SBDeclaration()

SBDeclaration::~SBDeclaration ( )
default

References lldb::operator==().

◆ SBDeclaration() [3/3]

SBDeclaration::SBDeclaration ( const lldb_private::Declaration lldb_object_ptr)
private

Definition at line 30 of file SBDeclaration.cpp.

References m_opaque_up.

Member Function Documentation

◆ get()

lldb_private::Declaration * SBDeclaration::get ( )
protected

Definition at line 164 of file SBDeclaration.cpp.

References m_opaque_up.

◆ GetColumn()

uint32_t SBDeclaration::GetColumn ( ) const

Definition at line 81 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by GetDescription().

◆ GetDescription()

bool SBDeclaration::GetDescription ( lldb::SBStream description)

◆ GetFileSpec()

SBFileSpec SBDeclaration::GetFileSpec ( ) const

◆ GetLine()

uint32_t SBDeclaration::GetLine ( ) const

Definition at line 70 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by GetDescription().

◆ IsValid()

bool SBDeclaration::IsValid ( ) const

Definition at line 50 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator bool()

SBDeclaration::operator bool ( ) const
explicit

Definition at line 54 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

bool SBDeclaration::operator!= ( const lldb::SBDeclaration rhs) const

◆ operator->()

const lldb_private::Declaration * SBDeclaration::operator-> ( ) const
private

Definition at line 133 of file SBDeclaration.cpp.

References m_opaque_up.

◆ operator=()

const SBDeclaration & SBDeclaration::operator= ( const lldb::SBDeclaration rhs)

Definition at line 35 of file SBDeclaration.cpp.

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

◆ operator==()

bool SBDeclaration::operator== ( const lldb::SBDeclaration rhs) const

◆ ref() [1/2]

lldb_private::Declaration & SBDeclaration::ref ( )
private

Definition at line 137 of file SBDeclaration.cpp.

References m_opaque_up.

Referenced by SetColumn(), SetDeclaration(), SetFileSpec(), and SetLine().

◆ ref() [2/2]

const lldb_private::Declaration & SBDeclaration::ref ( ) const
private

Definition at line 143 of file SBDeclaration.cpp.

References m_opaque_up.

◆ SetColumn()

void SBDeclaration::SetColumn ( uint32_t  column)

◆ SetDeclaration()

void SBDeclaration::SetDeclaration ( const lldb_private::Declaration lldb_object_ref)
private

Definition at line 43 of file SBDeclaration.cpp.

References ref().

Referenced by lldb::SBValue::GetDeclaration().

◆ SetFileSpec()

void SBDeclaration::SetFileSpec ( lldb::SBFileSpec  filespec)

◆ SetLine()

void SBDeclaration::SetLine ( uint32_t  line)

Definition at line 97 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA, ref(), and lldb_private::Declaration::SetLine().

Friends And Related Function Documentation

◆ SBValue

friend class SBValue
friend

Definition at line 54 of file SBDeclaration.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::Declaration> lldb::SBDeclaration::m_opaque_up
private

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