A convenience bundle of path and flags, with optional precondition. Paths may be a path fragment (relative to the precondition) or absolute, in which case if necessary they are made canonical and absolute in the constructor according to the current working directory.
More...
Classes |
struct | absolute |
| Convenience tag type constructing an absolute path path_req. More...
|
struct | relative |
| Convenience tag type constructing a relative path path_req. More...
|
Public Member Functions |
| path_req () |
| Default constructor.
|
| path_req (const path_req &o) |
| Copy constructor.
|
| path_req (path_req &&o) noexcept |
| Move constructor.
|
| path_req (absolute &&o) |
| Move constructor.
|
| path_req (relative &&o) |
| Move constructor.
|
template<class T , typename = typename std::enable_if<!std::is_constructible<path_req, T>::value && !std::is_constructible<future<>, T>::value>::type> |
| path_req (T &&_path, file_flags _flags=file_flags::none) |
| Constructs an instance.
|
template<class T , typename = typename std::enable_if<!std::is_convertible<boost::afio::path, T>::value>::type> |
| path_req (bool _is_relative, future<> _precondition, T &&_path, file_flags _flags=file_flags::none) |
| Constructs an instance.
|
| path_req (bool _is_relative, future<> _precondition, boost::afio::path _path, file_flags _flags=file_flags::none) |
| path_req (future<> _precondition, file_flags _flags=file_flags::none) |
| Constructs an instance.
|
bool | validate () const |
| Validates contents.
|
Public Attributes |
bool | is_relative |
| Whether the precondition is also where this path begins.
|
boost::afio::path | path |
| The filing system path to be used for this operation.
|
file_flags | flags |
| The flags to be used for this operation (note they can be overriden by flags passed during dispatcher construction).
|
future | precondition |
Protected Member Functions |
void | _validate () const |
A convenience bundle of path and flags, with optional precondition. Paths may be a path fragment (relative to the precondition) or absolute, in which case if necessary they are made canonical and absolute in the constructor according to the current working directory.
Definition at line 2737 of file afio.hpp.