#include "lldb/API/SBFile.h"
#include "lldb/API/SBError.h"
#include "lldb/Host/File.h"
#include "lldb/Utility/Instrumentation.h"
usingnamespacelldb;
usingnamespacelldb_private;
SBFile::~SBFile() = default;
SBFile::SBFile(FileSP file_sp) : … { … }
SBFile::SBFile(const SBFile &rhs) : … { … }
SBFile &SBFile ::operator=(const SBFile &rhs) { … }
SBFile::SBFile() { … }
SBFile::SBFile(FILE *file, bool transfer_ownership) { … }
SBFile::SBFile(int fd, const char *mode, bool transfer_owndership) { … }
SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { … }
SBError SBFile::Write(const uint8_t *buf, size_t num_bytes,
size_t *bytes_written) { … }
SBError SBFile::Flush() { … }
bool SBFile::IsValid() const { … }
SBError SBFile::Close() { … }
operator bool()
bool SBFile::operator!() const { … }
FileSP SBFile::GetFile() const { … }