9#ifndef LLDB_API_SBSTREAM_H
10#define LLDB_API_SBSTREAM_H
17class ScriptInterpreter;
32 explicit operator bool()
const;
38 const char *GetData();
45 __attribute__((format(printf, 2, 3))) void Printf(const
char *format, ...);
48 void Print(
const char *str);
50 void RedirectToFile(
const char *path,
bool append);
57 void RedirectToFileHandle(FILE *fh,
bool transfer_fh_ownership);
60 void RedirectToFileDescriptor(
int fd,
bool transfer_fh_ownership);
122 bool m_is_file =
false;
SBStream(const SBStream &)=delete
__attribute__((format(printf, 2, 3))) void Printf(const char *format
const SBStream & operator=(const SBStream &)=delete
std::unique_ptr< lldb_private::Stream > m_opaque_up
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::File > FileSP