LLVM 22.0.0git
llvm::vfs::HashingOutputFile< HasherT > Class Template Reference

HashingOutputFile. More...

#include "llvm/Support/HashingOutputBackend.h"

Inheritance diagram for llvm::vfs::HashingOutputFile< HasherT >:
[legend]

Public Member Functions

Error keep () override
Error discard () override
raw_pwrite_streamgetOS () override
 HashingOutputFile (StringRef OutputPath, HashingOutputBackend< HasherT > &Backend)
Public Member Functions inherited from llvm::vfs::OutputFileImpl
virtual ~OutputFileImpl ()=default
Public Member Functions inherited from llvm::RTTIExtends< OutputFileImpl, RTTIRoot >
const void * dynamicClassID () const override
bool isA () const
 Check whether this instance is a subclass of QueryT.
Public Member Functions inherited from llvm::RTTIRoot
virtual ~RTTIRoot ()=default
virtual bool isA (const void *const ClassID) const
 Returns true if this class's ID matches the given class ID.

Additional Inherited Members

Static Public Member Functions inherited from llvm::RTTIExtends< OutputFileImpl, RTTIRoot >
static const void * classID ()
static bool classof (const T *R)
Static Public Member Functions inherited from llvm::RTTIRoot
static const void * classID ()
 Returns the class ID for this type.
Static Public Attributes inherited from llvm::vfs::OutputFileImpl
static char ID = 0

Detailed Description

template<typename HasherT>
class llvm::vfs::HashingOutputFile< HasherT >

HashingOutputFile.

Definition at line 104 of file HashingOutputBackend.h.

Constructor & Destructor Documentation

◆ HashingOutputFile()

template<typename HasherT>
llvm::vfs::HashingOutputFile< HasherT >::HashingOutputFile ( StringRef OutputPath,
HashingOutputBackend< HasherT > & Backend )
inline

Definition at line 114 of file HashingOutputBackend.h.

Member Function Documentation

◆ discard()

template<typename HasherT>
Error llvm::vfs::HashingOutputFile< HasherT >::discard ( )
inlineoverridevirtual

Implements llvm::vfs::OutputFileImpl.

Definition at line 111 of file HashingOutputBackend.h.

References llvm::Error::success().

◆ getOS()

template<typename HasherT>
raw_pwrite_stream & llvm::vfs::HashingOutputFile< HasherT >::getOS ( )
inlineoverridevirtual

Implements llvm::vfs::OutputFileImpl.

Definition at line 112 of file HashingOutputBackend.h.

◆ keep()

template<typename HasherT>
Error llvm::vfs::HashingOutputFile< HasherT >::keep ( )
inlineoverridevirtual

Implements llvm::vfs::OutputFileImpl.

Definition at line 106 of file HashingOutputBackend.h.

References llvm::Error::success(), and llvm::toStringRef().


The documentation for this class was generated from the following file: