#include "lldb/API/SBCommandReturnObject.h"
#include "Utils.h"
#include "lldb/API/SBError.h"
#include "lldb/API/SBFile.h"
#include "lldb/API/SBStream.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/Instrumentation.h"
#include "lldb/Utility/Status.h"
usingnamespacelldb;
usingnamespacelldb_private;
class lldb_private::SBCommandReturnObjectImpl { … };
SBCommandReturnObject::SBCommandReturnObject()
: … { … }
SBCommandReturnObject::SBCommandReturnObject(CommandReturnObject &ref)
: … { … }
SBCommandReturnObject::SBCommandReturnObject(const SBCommandReturnObject &rhs) { … }
SBCommandReturnObject &SBCommandReturnObject::
operator=(const SBCommandReturnObject &rhs) { … }
SBCommandReturnObject::~SBCommandReturnObject() = default;
bool SBCommandReturnObject::IsValid() const { … }
operator bool()
const char *SBCommandReturnObject::GetOutput() { … }
const char *SBCommandReturnObject::GetError() { … }
size_t SBCommandReturnObject::GetOutputSize() { … }
size_t SBCommandReturnObject::GetErrorSize() { … }
size_t SBCommandReturnObject::PutOutput(FILE *fh) { … }
size_t SBCommandReturnObject::PutOutput(FileSP file_sp) { … }
size_t SBCommandReturnObject::PutOutput(SBFile file) { … }
size_t SBCommandReturnObject::PutError(FILE *fh) { … }
size_t SBCommandReturnObject::PutError(FileSP file_sp) { … }
size_t SBCommandReturnObject::PutError(SBFile file) { … }
void SBCommandReturnObject::Clear() { … }
lldb::ReturnStatus SBCommandReturnObject::GetStatus() { … }
void SBCommandReturnObject::SetStatus(lldb::ReturnStatus status) { … }
bool SBCommandReturnObject::Succeeded() { … }
bool SBCommandReturnObject::HasResult() { … }
void SBCommandReturnObject::AppendMessage(const char *message) { … }
void SBCommandReturnObject::AppendWarning(const char *message) { … }
CommandReturnObject *SBCommandReturnObject::operator->() const { … }
CommandReturnObject *SBCommandReturnObject::get() const { … }
CommandReturnObject &SBCommandReturnObject::operator*() const { … }
CommandReturnObject &SBCommandReturnObject::ref() const { … }
bool SBCommandReturnObject::GetDescription(SBStream &description) { … }
void SBCommandReturnObject::SetImmediateOutputFile(FILE *fh) { … }
void SBCommandReturnObject::SetImmediateErrorFile(FILE *fh) { … }
void SBCommandReturnObject::SetImmediateOutputFile(FILE *fh,
bool transfer_ownership) { … }
void SBCommandReturnObject::SetImmediateErrorFile(FILE *fh,
bool transfer_ownership) { … }
void SBCommandReturnObject::SetImmediateOutputFile(SBFile file) { … }
void SBCommandReturnObject::SetImmediateErrorFile(SBFile file) { … }
void SBCommandReturnObject::SetImmediateOutputFile(FileSP file_sp) { … }
void SBCommandReturnObject::SetImmediateErrorFile(FileSP file_sp) { … }
void SBCommandReturnObject::PutCString(const char *string, int len) { … }
const char *SBCommandReturnObject::GetOutput(bool only_if_no_immediate) { … }
const char *SBCommandReturnObject::GetError(bool only_if_no_immediate) { … }
size_t SBCommandReturnObject::Printf(const char *format, ...) { … }
void SBCommandReturnObject::SetError(lldb::SBError &error,
const char *fallback_error_cstr) { … }
void SBCommandReturnObject::SetError(const char *error_cstr) { … }