Chaste  Release::2018.1
BoostFilesystem.hpp File Reference
#include <boost/version.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
+ Include dependency graph for BoostFilesystem.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOOST_FILESYSTEM_VERSION   2
 
#define PATH_LEAF_NAME(path)   path.leaf()
 
#define BOOST_NO_CXX11_SCOPED_ENUMS
 

Detailed Description

Include the Boost Filesystem library headers, and set up the 'fs' namespace alias. This header also ensures that we use version 2 of the library when available.

Definition in file BoostFilesystem.hpp.

Macro Definition Documentation

#define BOOST_FILESYSTEM_VERSION   2

Which version of the library to use.

Definition at line 50 of file BoostFilesystem.hpp.

#define BOOST_NO_CXX11_SCOPED_ENUMS

Change boost SCOPED_ENUMS behaviour on older versions

Definition at line 67 of file BoostFilesystem.hpp.

#define PATH_LEAF_NAME (   path)    path.leaf()

How to get a leafname as a string (in version 2).

Definition at line 52 of file BoostFilesystem.hpp.

Referenced by FileFinder::FindMatches(), FileFinder::GetLeafName(), and FileFinder::IsEmpty().