9#ifndef LLDB_HOST_STREAMFILE_H
10#define LLDB_HOST_STREAMFILE_H
29 uint32_t permissions = lldb::eFilePermissionsFileDefault);
43 void Flush()
override;
48 size_t WriteImpl(
const void *s,
size_t length)
override;
An abstract base class for files.
const StreamFile & operator=(const StreamFile &)=delete
const File & GetFile() const
StreamFile(std::shared_ptr< File > file)
std::shared_ptr< File > m_file_sp
void Flush() override
Flush the stream.
StreamFile(const StreamFile &)=delete
size_t WriteImpl(const void *s, size_t length) override
Output character bytes to the stream.
std::shared_ptr< File > GetFileSP()
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
ByteOrder
Byte ordering definitions.