class CachedFileStream
Declaration
class CachedFileStream { /* full declaration omitted */ };
Description
This class wraps an output stream for a file. Most clients should just be able to return an instance of this base class from the stream callback, but if a client needs to perform some action after the stream is written to, that can be done by deriving from this class and overriding the destructor.
Declared at: llvm/include/llvm/Support/Caching.h:28
Member Variables
- public std::unique_ptr<raw_pwrite_stream> OS
- public std::string ObjectPathName
Method Overview
- public CachedFileStream(std::unique_ptr<raw_pwrite_stream> OS, std::string OSPath = "")
- public virtual ~CachedFileStream()
Methods
¶CachedFileStream(
std::unique_ptr<raw_pwrite_stream> OS,
std::string OSPath = "")
CachedFileStream(
std::unique_ptr<raw_pwrite_stream> OS,
std::string OSPath = "")
Declared at: llvm/include/llvm/Support/Caching.h:30
Parameters
- std::unique_ptr<raw_pwrite_stream> OS
- std::string OSPath = ""
¶virtual ~CachedFileStream()
virtual ~CachedFileStream()
Declared at: llvm/include/llvm/Support/Caching.h:35