Silicium
Classes | Namespaces | Macros | Functions
absolute_path.hpp File Reference
#include <silicium/relative_path.hpp>
#include <silicium/optional.hpp>
#include <silicium/error_or.hpp>
#include <silicium/is_handle.hpp>
#include <silicium/c_string.hpp>
#include <boost/filesystem/operations.hpp>
#include <iostream>

Go to the source code of this file.

Classes

struct  Si::absolute_path
 
struct  std::hash< ::Si::absolute_path >
 

Namespaces

 Si
 
 std
 

Macros

#define SILICIUM_HAS_ABSOLUTE_PATH_OPERATIONS   SILICIUM_HAS_EXCEPTIONS
 

Functions

 Si::BOOST_STATIC_ASSERT (Si::is_handle< absolute_path >::value)
 
std::ostream & Si::operator<< (std::ostream &out, absolute_path const &p)
 
std::istream & Si::operator>> (std::istream &in, absolute_path &p)
 
template<class ComparableToPath >
SILICIUM_USE_RESULT bool Si::operator== (absolute_path const &left, ComparableToPath const &right)
 
template<class ComparableToPath >
SILICIUM_USE_RESULT bool Si::operator== (ComparableToPath const &left, absolute_path const &right)
 
SILICIUM_USE_RESULT bool Si::operator== (absolute_path const &left, boost::filesystem::path const &right)
 
SILICIUM_USE_RESULT bool Si::operator== (boost::filesystem::path const &left, absolute_path const &right)
 
SILICIUM_USE_RESULT bool Si::operator== (absolute_path const &left, absolute_path const &right)
 
template<class ComparableToPath >
SILICIUM_USE_RESULT bool Si::operator!= (absolute_path const &left, ComparableToPath const &right)
 
template<class ComparableToPath >
SILICIUM_USE_RESULT bool Si::operator!= (ComparableToPath const &left, absolute_path const &right)
 
SILICIUM_USE_RESULT bool Si::operator< (absolute_path const &left, absolute_path const &right)
 
SILICIUM_USE_RESULT std::size_t Si::hash_value (absolute_path const &value)
 
SILICIUM_USE_RESULT relative_path Si::leaf (absolute_path const &whole)
 
SILICIUM_USE_RESULT optional< absolute_path > Si::parent (absolute_path const &whole)
 
SILICIUM_USE_RESULT absolute_path Si::operator/ (absolute_path const &front, relative_path const &back)
 
template<std::size_t N>
SILICIUM_USE_RESULT absolute_path Si::operator/ (absolute_path const &front, absolute_path::char_type const (&literal)[N])
 
SILICIUM_USE_RESULT absolute_path Si::get_current_working_directory ()
 
SILICIUM_USE_RESULT boost::system::error_code Si::remove_file (absolute_path const &name)
 
SILICIUM_USE_RESULT boost::system::error_code Si::create_directories (absolute_path const &directories)
 
SILICIUM_USE_RESULT error_or< boost::uint64_t > Si::remove_all (absolute_path const &directories)
 
SILICIUM_USE_RESULT boost::system::error_code Si::recreate_directories (absolute_path const &directories)
 
SILICIUM_USE_RESULT error_or< bool > Si::file_exists (absolute_path const &file)
 

Macro Definition Documentation

#define SILICIUM_HAS_ABSOLUTE_PATH_OPERATIONS   SILICIUM_HAS_EXCEPTIONS