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

◆ SBDeclaration() [2/3]

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

Definition at line 26 of file SBDeclaration.cpp.

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

◆ ~SBDeclaration()

SBDeclaration::~SBDeclaration ( )
default

◆ SBDeclaration() [3/3]

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

Definition at line 32 of file SBDeclaration.cpp.

References m_opaque_up.

Member Function Documentation

◆ get()

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

Definition at line 177 of file SBDeclaration.cpp.

References m_opaque_up.

◆ GetColumn()

uint32_t SBDeclaration::GetColumn ( ) const

Definition at line 90 of file SBDeclaration.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, 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 78 of file SBDeclaration.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

Referenced by GetDescription().

◆ IsValid()

bool SBDeclaration::IsValid ( ) const

Definition at line 55 of file SBDeclaration.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBDeclaration::operator bool ( ) const
explicit

Definition at line 59 of file SBDeclaration.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

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

◆ operator->()

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

Definition at line 145 of file SBDeclaration.cpp.

References m_opaque_up.

◆ operator=()

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

◆ operator==()

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

◆ ref() [1/2]

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

Definition at line 149 of file SBDeclaration.cpp.

References m_opaque_up.

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

◆ ref() [2/2]

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

◆ SetColumn()

void SBDeclaration::SetColumn ( uint32_t  column)

◆ SetDeclaration()

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

Definition at line 48 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)

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: