|
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.
Referenced by operator=(), SBFile(), SBProcess, and ~SBFile().
| SBFile::SBFile | ( | FileSP | file_sp | ) |
Definition at line 19 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBFile::SBFile | ( | const SBFile & | rhs | ) |
Definition at line 25 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFile().
| 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 |
References Close(), Flush(), GetFile(), IsValid(), operator!(), operator=(), Read(), SBFile(), and Write().
| SBError SBFile::Close | ( | ) |
Definition at line 103 of file SBFile.cpp.
References error(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFile().
| SBError SBFile::Flush | ( | ) |
Definition at line 86 of file SBFile.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFile().
| FileSP SBFile::GetFile | ( | ) | const |
Definition at line 121 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBStream::RedirectToFile(), and ~SBFile().
| bool SBFile::IsValid | ( | ) | const |
Definition at line 98 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by operator bool(), operator!(), lldb::SBInstructionList::Print(), and ~SBFile().
| SBFile::operator bool | ( | ) | const |
Definition at line 111 of file SBFile.cpp.
References IsValid(), and LLDB_INSTRUMENT_VA.
| bool SBFile::operator! | ( | ) | const |
Definition at line 116 of file SBFile.cpp.
References IsValid(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBFile().
Definition at line 29 of file SBFile.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFile().
Referenced by ~SBFile().
| SBError SBFile::Read | ( | uint8_t * | buf, |
| size_t | num_bytes, | ||
| size_t * | OUTPUT ) |
Definition at line 57 of file SBFile.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFile().
| SBError SBFile::Write | ( | const uint8_t * | buf, |
| size_t | num_bytes, | ||
| size_t * | OUTPUT ) |
Definition at line 71 of file SBFile.cpp.
References error(), lldb_private::Status::FromErrorString(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFile().
|
friend |
Definition at line 22 of file SBFile.h.
References SBCommandReturnObject.
Referenced by SBCommandReturnObject.
|
friend |
|
friend |
|
friend |
Definition at line 20 of file SBFile.h.
References SBInstructionList.
Referenced by SBInstructionList.
|
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(), SBFile(), SBFile(), SBFile(), lldb::SBDebugger::SetErrorFile(), lldb::SBCommandReturnObject::SetImmediateErrorFile(), lldb::SBCommandReturnObject::SetImmediateOutputFile(), lldb::SBDebugger::SetInputFile(), lldb::SBDebugger::SetOutputFile(), and Write().