Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
path_req::relative

Convenience tag type constructing a relative path path_req.

Synopsis
struct path_req::relative
      : public path_req
{
  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;     // An optional precondition for this operation 
};
Constructor(s)

Function

Description

Parameters

template<class T>
relative(future<> _precondition, T && _path, file_flags _flags = file_flags::none)

Constructs an instance.

future<>: _precondition: The precondition for this operation.

T &&: _path: The filing system path to be used.

file_flags: _flags: The flags to be used.

relative(future<> _precondition, file_flags _flags = file_flags::none)

Constructs an instance.

future<>: _precondition: The precondition for this operation.

file_flags: _flags: The flags to be used.

Member Function(s)

Function

Description

Parameters

Returns

bool validate()

Validates contents.

Header

#include <boost/afio/v2/afio.hpp>


PrevUpHomeNext