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>

Collaboration diagram for lldb::SBDeclaration:
Collaboration graph
[legend]

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

◆ SBDeclaration() [3/3]

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

Definition at line 30 of file SBDeclaration.cpp.

Member Function Documentation

◆ get()

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

Definition at line 164 of file SBDeclaration.cpp.

◆ GetColumn()

uint32_t SBDeclaration::GetColumn ( ) const

Definition at line 81 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ GetDescription()

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

◆ GetFileSpec()

SBFileSpec SBDeclaration::GetFileSpec ( ) const

Definition at line 60 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::SetFileSpec().

◆ GetLine()

uint32_t SBDeclaration::GetLine ( ) const

Definition at line 70 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ 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.

◆ 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]

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

Definition at line 137 of file SBDeclaration.cpp.

◆ ref() [2/2]

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

◆ SetColumn()

void SBDeclaration::SetColumn ( uint32_t  column)

Definition at line 103 of file SBDeclaration.cpp.

References LLDB_INSTRUMENT_VA.

◆ SetDeclaration()

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

Definition at line 43 of file SBDeclaration.cpp.

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.

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

Definition at line 66 of file SBDeclaration.h.

Referenced by operator!=(), operator=(), operator==(), and SBDeclaration().


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