libmoost
scoped_tempfile Struct Reference

List of all members.

Public Member Functions

 scoped_tempfile (const std::string &name, bool keep=false)
 ~scoped_tempfile ()
bool keep () const
std::string path () const
bool exists () const

Private Attributes

const boost::filesystem::path m_path
const bool m_keep

Detailed Description

Definition at line 41 of file memory_mapped_dataset.cpp.


Constructor & Destructor Documentation

scoped_tempfile::scoped_tempfile ( const std::string &  name,
bool  keep = false 
) [inline]

Definition at line 43 of file memory_mapped_dataset.cpp.

Definition at line 49 of file memory_mapped_dataset.cpp.


Member Function Documentation

bool scoped_tempfile::exists ( ) const [inline]

Definition at line 81 of file memory_mapped_dataset.cpp.

Here is the caller graph for this function:

bool scoped_tempfile::keep ( ) const [inline]

Definition at line 57 of file memory_mapped_dataset.cpp.

std::string scoped_tempfile::path ( ) const [inline]

Definition at line 76 of file memory_mapped_dataset.cpp.

Here is the caller graph for this function:


Member Data Documentation

const bool scoped_tempfile::m_keep [private]

Definition at line 88 of file memory_mapped_dataset.cpp.

const boost::filesystem::path scoped_tempfile::m_path [private]

Definition at line 87 of file memory_mapped_dataset.cpp.


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