Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::filesystem::path_traits Namespace Reference

Classes

struct  is_pathable
 
struct  is_pathable< char * >
 
struct  is_pathable< const char * >
 
struct  is_pathable< const wchar_t * >
 
struct  is_pathable< directory_entry >
 
struct  is_pathable< std::list< char > >
 
struct  is_pathable< std::list< wchar_t > >
 
struct  is_pathable< std::string >
 
struct  is_pathable< std::vector< char > >
 
struct  is_pathable< std::vector< wchar_t > >
 
struct  is_pathable< std::wstring >
 
struct  is_pathable< wchar_t * >
 

Typedefs

typedef std::codecvt< wchar_t,
char, std::mbstate_t > 
codecvt_type
 

Functions

void convert (const char *from, const char *from_end, std::wstring &to)
 
void convert (const wchar_t *from, const wchar_t *from_end, std::string &to)
 
void convert (const char *from, std::wstring &to)
 
void convert (const wchar_t *from, std::string &to)
 
template<class Container >
boost::disable_if
< boost::is_array< Container >
, bool >::type 
empty (const Container &c)
 
template<class T >
bool empty (T *const &c_str)
 
template<typename T , size_t N>
bool empty (T(&x)[N])
 
BOOST_FILESYSTEM_DECL void convert (const char *from, const char *from_end, std::wstring &to, const codecvt_type &cvt)
 
BOOST_FILESYSTEM_DECL void convert (const wchar_t *from, const wchar_t *from_end, std::string &to, const codecvt_type &cvt)
 
void convert (const char *from, std::wstring &to, const codecvt_type &cvt)
 
void convert (const wchar_t *from, std::string &to, const codecvt_type &cvt)
 
void convert (const char *from, const char *from_end, std::string &to, const codecvt_type &)
 
void convert (const char *from, std::string &to, const codecvt_type &)
 
void convert (const wchar_t *from, const wchar_t *from_end, std::wstring &to, const codecvt_type &)
 
void convert (const wchar_t *from, std::wstring &to, const codecvt_type &)
 
void convert (const char *from, const char *from_end, std::string &to)
 
void convert (const char *from, std::string &to)
 
void convert (const wchar_t *from, const wchar_t *from_end, std::wstring &to)
 
void convert (const wchar_t *from, std::wstring &to)
 
template<class U >
void dispatch (const std::string &c, U &to, const codecvt_type &cvt)
 
template<class U >
void dispatch (const std::wstring &c, U &to, const codecvt_type &cvt)
 
template<class U >
void dispatch (const std::vector< char > &c, U &to, const codecvt_type &cvt)
 
template<class U >
void dispatch (const std::vector< wchar_t > &c, U &to, const codecvt_type &cvt)
 
template<class U >
void dispatch (const std::string &c, U &to)
 
template<class U >
void dispatch (const std::wstring &c, U &to)
 
template<class U >
void dispatch (const std::vector< char > &c, U &to)
 
template<class U >
void dispatch (const std::vector< wchar_t > &c, U &to)
 
template<class Container , class U >
boost::disable_if
< boost::is_array< Container >
, void >::type 
dispatch (const Container &c, U &to, const codecvt_type &cvt)
 
template<class T , class U >
void dispatch (T *const &c_str, U &to, const codecvt_type &cvt)
 
BOOST_FILESYSTEM_DECL void dispatch (const directory_entry &de, std::string &to, const codecvt_type &)
 
template<class Container , class U >
boost::disable_if
< boost::is_array< Container >
, void >::type 
dispatch (const Container &c, U &to)
 
template<class T , class U >
void dispatch (T *const &c_str, U &to)
 
BOOST_FILESYSTEM_DECL void dispatch (const directory_entry &de, std::string &to)
 

Typedef Documentation

typedef std::codecvt<wchar_t, char, std::mbstate_t> boost::filesystem::path_traits::codecvt_type

Function Documentation

BOOST_FILESYSTEM_DECL void boost::filesystem::path_traits::convert ( const char *  from,
const char *  from_end,
std::wstring &  to,
const codecvt_type &  cvt 
)
BOOST_FILESYSTEM_DECL void boost::filesystem::path_traits::convert ( const wchar_t *  from,
const wchar_t *  from_end,
std::string &  to,
const codecvt_type &  cvt 
)
void boost::filesystem::path_traits::convert ( const char *  from,
std::wstring &  to,
const codecvt_type &  cvt 
)
inline

References BOOST_ASSERT, and convert().

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
std::string &  to,
const codecvt_type &  cvt 
)
inline

References BOOST_ASSERT, and convert().

void boost::filesystem::path_traits::convert ( const char *  from,
const char *  from_end,
std::string &  to,
const codecvt_type &   
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const char *  from,
std::string &  to,
const codecvt_type &   
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
const wchar_t *  from_end,
std::wstring &  to,
const codecvt_type &   
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
std::wstring &  to,
const codecvt_type &   
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const char *  from,
const char *  from_end,
std::string &  to 
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const char *  from,
std::string &  to 
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
const wchar_t *  from_end,
std::wstring &  to 
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
std::wstring &  to 
)
inline

References BOOST_ASSERT.

void boost::filesystem::path_traits::convert ( const wchar_t *  from,
const wchar_t *  from_end,
std::string &  to 
)
inline
void boost::filesystem::path_traits::convert ( const char *  from,
std::wstring &  to 
)
inline
void boost::filesystem::path_traits::convert ( const wchar_t *  from,
std::string &  to 
)
inline
template<class U >
void boost::filesystem::path_traits::dispatch ( const std::string &  c,
U &  to,
const codecvt_type &  cvt 
)
inline
template<class U >
void boost::filesystem::path_traits::dispatch ( const std::wstring &  c,
U &  to,
const codecvt_type &  cvt 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::vector< char > &  c,
U &  to,
const codecvt_type &  cvt 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::vector< wchar_t > &  c,
U &  to,
const codecvt_type &  cvt 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::string &  c,
U &  to 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::wstring &  c,
U &  to 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::vector< char > &  c,
U &  to 
)
inline

References convert().

template<class U >
void boost::filesystem::path_traits::dispatch ( const std::vector< wchar_t > &  c,
U &  to 
)
inline

References convert().

template<class Container , class U >
boost::disable_if<boost::is_array<Container>, void>::type boost::filesystem::path_traits::dispatch ( const Container &  c,
U &  to,
const codecvt_type &  cvt 
)
inline

References convert(), and boost::asio::s.

template<class T , class U >
void boost::filesystem::path_traits::dispatch ( T *const &  c_str,
U &  to,
const codecvt_type &  cvt 
)
inline

References BOOST_ASSERT, and convert().

BOOST_FILESYSTEM_DECL void boost::filesystem::path_traits::dispatch ( const directory_entry &  de,
std::string &  to,
const codecvt_type &   
)
template<class Container , class U >
boost::disable_if<boost::is_array<Container>, void>::type boost::filesystem::path_traits::dispatch ( const Container &  c,
U &  to 
)
inline

References convert(), and boost::asio::s.

template<class T , class U >
void boost::filesystem::path_traits::dispatch ( T *const &  c_str,
U &  to 
)
inline

References BOOST_ASSERT, and convert().

BOOST_FILESYSTEM_DECL void boost::filesystem::path_traits::dispatch ( const directory_entry &  de,
std::string &  to 
)
template<class Container >
boost::disable_if<boost::is_array<Container>, bool>::type boost::filesystem::path_traits::empty ( const Container &  c)
inline
template<class T >
bool boost::filesystem::path_traits::empty ( T *const &  c_str)
inline

References BOOST_ASSERT.

template<typename T , size_t N>
bool boost::filesystem::path_traits::empty ( T(&)  x[N])
inline

References boost::flyweights::x.