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

#include <SBSourceManager.h>

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

Public Member Functions

 SBSourceManager (const SBDebugger &debugger)
 
 SBSourceManager (const SBTarget &target)
 
 SBSourceManager (const SBSourceManager &rhs)
 
 ~SBSourceManager ()
 
const lldb::SBSourceManageroperator= (const lldb::SBSourceManager &rhs)
 
size_t DisplaySourceLinesWithLineNumbers (const lldb::SBFileSpec &file, uint32_t line, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb::SBStream &s)
 
size_t DisplaySourceLinesWithLineNumbersAndColumn (const lldb::SBFileSpec &file, uint32_t line, uint32_t column, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb::SBStream &s)
 

Private Attributes

std::unique_ptr< lldb_private::SourceManagerImplm_opaque_up
 

Friends

class SBCommandInterpreter
 
class SBDebugger
 

Detailed Description

Definition at line 18 of file SBSourceManager.h.

Constructor & Destructor Documentation

◆ SBSourceManager() [1/3]

SBSourceManager::SBSourceManager ( const SBDebugger debugger)

Definition at line 74 of file SBSourceManager.cpp.

References lldb::SBDebugger::get_sp(), and LLDB_RECORD_CONSTRUCTOR.

◆ SBSourceManager() [2/3]

SBSourceManager::SBSourceManager ( const SBTarget target)

Definition at line 81 of file SBSourceManager.cpp.

References lldb::SBTarget::GetSP(), and LLDB_RECORD_CONSTRUCTOR.

◆ SBSourceManager() [3/3]

SBSourceManager::SBSourceManager ( const SBSourceManager rhs)

Definition at line 87 of file SBSourceManager.cpp.

References LLDB_RECORD_CONSTRUCTOR, and m_opaque_up.

◆ ~SBSourceManager()

SBSourceManager::~SBSourceManager ( )
default

Member Function Documentation

◆ DisplaySourceLinesWithLineNumbers()

size_t SBSourceManager::DisplaySourceLinesWithLineNumbers ( const lldb::SBFileSpec file,
uint32_t  line,
uint32_t  context_before,
uint32_t  context_after,
const char *  current_line_cstr,
lldb::SBStream s 
)

Definition at line 109 of file SBSourceManager.cpp.

References LLDB_RECORD_METHOD, and lldb::SBFileSpec::ref().

◆ DisplaySourceLinesWithLineNumbersAndColumn()

size_t SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn ( const lldb::SBFileSpec file,
uint32_t  line,
uint32_t  column,
uint32_t  context_before,
uint32_t  context_after,
const char *  current_line_cstr,
lldb::SBStream s 
)

◆ operator=()

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

Definition at line 98 of file SBSourceManager.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_up.

Friends And Related Function Documentation

◆ SBCommandInterpreter

friend class SBCommandInterpreter
friend

Definition at line 38 of file SBSourceManager.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 39 of file SBSourceManager.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::SourceManagerImpl> lldb::SBSourceManager::m_opaque_up
private

Definition at line 42 of file SBSourceManager.h.

Referenced by operator=(), and SBSourceManager().


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