LLDB mainline
|
#include <SBFile.h>
Public Member Functions | |
SBFile () | |
SBFile (FileSP file_sp) | |
SBFile (const SBFile &rhs) | |
SBFile (FILE *file, bool transfer_ownership) | |
SBFile (int fd, const char *mode, bool transfer_ownership) | |
~SBFile () | |
SBFile & | operator= (const SBFile &rhs) |
SBError | Read (uint8_t *buf, size_t num_bytes, size_t *OUTPUT) |
SBError | Write (const uint8_t *buf, size_t num_bytes, size_t *OUTPUT) |
SBError | Flush () |
bool | IsValid () const |
SBError | Close () |
operator bool () const | |
bool | operator! () const |
FileSP | GetFile () const |
Private Attributes | |
FileSP | m_opaque_sp |
Friends | |
class | SBInstruction |
class | SBInstructionList |
class | SBDebugger |
class | SBCommandReturnObject |
class | SBProcess |
SBFile::SBFile | ( | ) |
Definition at line 37 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA.
SBFile::SBFile | ( | FileSP | file_sp | ) |
Definition at line 19 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA.
SBFile::SBFile | ( | const SBFile & | rhs | ) |
Definition at line 25 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA.
SBFile::SBFile | ( | FILE * | file, |
bool | transfer_ownership | ||
) |
Definition at line 39 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBFile::SBFile | ( | int | fd, |
const char * | mode, | ||
bool | transfer_ownership | ||
) |
Definition at line 45 of file SBFile.cpp.
References lldb_private::File::GetOptionsFromMode(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
default |
SBError SBFile::Close | ( | ) |
Definition at line 106 of file SBFile.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBError SBFile::Flush | ( | ) |
Definition at line 88 of file SBFile.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
FileSP SBFile::GetFile | ( | ) | const |
Definition at line 126 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBStream::RedirectToFile().
bool SBFile::IsValid | ( | ) | const |
Definition at line 101 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by operator!(), and lldb::SBInstructionList::Print().
SBFile::operator bool | ( | ) | const |
Definition at line 116 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA.
bool SBFile::operator! | ( | ) | const |
Definition at line 121 of file SBFile.cpp.
References IsValid(), and LLDB_INSTRUMENT_VA.
Definition at line 29 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBError SBFile::Read | ( | uint8_t * | buf, |
size_t | num_bytes, | ||
size_t * | OUTPUT | ||
) |
Definition at line 57 of file SBFile.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBError SBFile::Write | ( | const uint8_t * | buf, |
size_t | num_bytes, | ||
size_t * | OUTPUT | ||
) |
Definition at line 72 of file SBFile.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 51 of file SBFile.h.
Referenced by Close(), Flush(), GetFile(), IsValid(), operator=(), lldb::SBInstruction::Print(), lldb::SBInstructionList::Print(), lldb::SBCommandReturnObject::PutError(), lldb::SBCommandReturnObject::PutOutput(), Read(), lldb::SBProcess::ReportEventState(), SBFile(), lldb::SBDebugger::SetErrorFile(), lldb::SBCommandReturnObject::SetImmediateErrorFile(), lldb::SBCommandReturnObject::SetImmediateOutputFile(), lldb::SBDebugger::SetInputFile(), lldb::SBDebugger::SetOutputFile(), and Write().