IODA Bundle
TemporaryFile Class Reference

#include <TemporaryFiles.h>

Public Member Functions

 TemporaryFile ()
 
virtual ~TemporaryFile ()
 
const eckit::PathName & path () const
 

Private Attributes

eckit::PathName path_
 

Detailed Description

A class to be used as a fixture, which writes a temporary ODB file using the supplied initialisation function, and then ensures that it is correctly cleaned up at the end of the test.

Definition at line 25 of file TemporaryFiles.h.

Constructor & Destructor Documentation

◆ TemporaryFile()

TemporaryFile::TemporaryFile ( )
inline

Definition at line 29 of file TemporaryFiles.h.

◆ ~TemporaryFile()

virtual TemporaryFile::~TemporaryFile ( )
inlinevirtual

Definition at line 32 of file TemporaryFiles.h.

Member Function Documentation

◆ path()

const eckit::PathName& TemporaryFile::path ( ) const
inline

Definition at line 38 of file TemporaryFiles.h.

Here is the caller graph for this function:

Member Data Documentation

◆ path_

eckit::PathName TemporaryFile::path_
private

Definition at line 42 of file TemporaryFiles.h.


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