LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::repro::DirectoryProvider< T > Class Template Reference

Abstract provider to storing directory paths. More...

#include <ReproducerProvider.h>

Inheritance diagram for lldb_private::repro::DirectoryProvider< T >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::repro::DirectoryProvider< T >:
Collaboration graph
[legend]

Public Member Functions

 DirectoryProvider (const FileSpec &root)
 
void SetDirectory (std::string directory)
 
llvm::StringRef GetDirectory ()
 
void Keep () override
 The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer. More...
 
- Public Member Functions inherited from lldb_private::repro::Provider< T >
const void * DynamicClassID () const override
 
llvm::StringRef GetName () const override
 
llvm::StringRef GetFile () const override
 
- Public Member Functions inherited from lldb_private::repro::ProviderBase
virtual ~ProviderBase ()=default
 
const FileSpecGetRoot () const
 
virtual void Discard ()
 The Discard method is called when it is decided that we do not need to keep any information and will not generate a reproducer. More...
 
virtual const void * DynamicClassID () const =0
 
virtual llvm::StringRef GetName () const =0
 
virtual llvm::StringRef GetFile () const =0
 

Protected Attributes

std::string m_directory
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::repro::Provider< T >
static const void * ClassID ()
 
- Static Public Member Functions inherited from lldb_private::repro::ProviderBase
static const void * ClassID ()
 
- Protected Member Functions inherited from lldb_private::repro::Provider< T >
 ProviderBase (const FileSpec &root)
 
- Protected Member Functions inherited from lldb_private::repro::ProviderBase
 ProviderBase (const FileSpec &root)
 

Detailed Description

template<typename T>
class lldb_private::repro::DirectoryProvider< T >

Abstract provider to storing directory paths.

Definition at line 161 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ DirectoryProvider()

template<typename T >
lldb_private::repro::DirectoryProvider< T >::DirectoryProvider ( const FileSpec root)
inline

Definition at line 163 of file ReproducerProvider.h.

Member Function Documentation

◆ GetDirectory()

template<typename T >
llvm::StringRef lldb_private::repro::DirectoryProvider< T >::GetDirectory ( )
inline

Definition at line 167 of file ReproducerProvider.h.

Referenced by InitializeFileSystem().

◆ Keep()

template<typename T >
void lldb_private::repro::DirectoryProvider< T >::Keep ( )
inlineoverridevirtual

The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer.

Reimplemented from lldb_private::repro::ProviderBase.

Definition at line 169 of file ReproducerProvider.h.

◆ SetDirectory()

template<typename T >
void lldb_private::repro::DirectoryProvider< T >::SetDirectory ( std::string  directory)
inline

Definition at line 164 of file ReproducerProvider.h.

Referenced by lldb::SBReproducer::SetWorkingDirectory().

Member Data Documentation

◆ m_directory

template<typename T >
std::string lldb_private::repro::DirectoryProvider< T >::m_directory
protected

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