Boost.AFIO    Boost C++ Libraries
Classes | Enumerations | Functions | Variables
boost::afio::detail Namespace Reference

The namespace containing Boost.ASIO internal details. More...

Classes

class  enqueued_task_impl
struct  do_continuation
struct  do_continuation< future< R >, void >
struct  vs2013_variadic_overload_resolution_workaround
struct  when_all_state
struct  when_any_state
struct  select_when_ops_return_type
struct  select_when_ops_return_type< false >
struct  enable_if_async_op
struct  enable_if_async_op< is_all, future< T > >
struct  to_asio_buffers_helper
struct  to_asio_buffers_helper< is_const, R, T, true, false >
struct  container_to_asio_buffers_helper
struct  container_to_asio_buffers_helper< R, std::basic_string< C, T, A >, _Ct, is_const, true >
struct  container_to_asio_buffers_helper< R, std::vector< T, A >, _T, is_const, true >
struct  container_to_asio_buffers_helper< R, std::array< T, N >, _T, is_const, true >
struct  to_asio_buffers_helper< is_const, R, T, is_trivial, true >
struct  to_asio_buffers_helper< is_const, R, std::vector< asio::mutable_buffer >, false, true >
struct  to_asio_buffers_helper< is_const, asio::mutable_buffer, std::vector< asio::mutable_buffer >, false, true >
struct  to_asio_buffers_helper< is_const, R, std::vector< asio::const_buffer >, false, true >
struct  to_asio_buffers_helper< is_const, asio::const_buffer, std::vector< asio::const_buffer >, false, true >
struct  to_asio_buffers_helper< is_const, R, std::array< asio::mutable_buffer, N >, false, true >
struct  to_asio_buffers_helper< is_const, R, std::array< asio::const_buffer, N >, false, true >
class  io_req_impl< false >
class  io_req_impl< true >
struct  make_io_req
struct  make_io_req< T, true >
struct  async_file_io_dispatcher_rwconverter
struct  async_dir
struct  async_rmdir
struct  async_file
struct  async_rmfile
struct  async_symlink
struct  async_rmsymlink
struct  async_sync
struct  async_close
struct  async_read
struct  async_write
struct  async_truncate
struct  async_enumerate
struct  async_zero
struct  async_extents
struct  async_statfs
struct  _is_not_handle
struct  _is_not_handle< future< T > >
struct  _is_not_handle< handle_ptr >
struct  is_not_handle

Enumerations

enum  OpType {
  Unknown, UserCompletion, dir, rmdir,
  file, rmfile, symlink, rmsymlink,
  sync, close, read, write,
  truncate, barrier, enumerate, adopt,
  zero, extents, statfs, lock,
  Last
}
 The type of operation. More...
enum  unit_testing_flags { none = 0, no_symbol_lookup = (1<<0) }

Functions

 static_assert (static_cast< size_t >(OpType::Last)==sizeof(optypes)/sizeof(*optypes),"You forgot to fix up the strings matching OpType")
template<class Impl , class Handle >
handle_ptr decode_relative_path (path_req &req, bool force_absolute=false)
template<bool rethrow>
void when_all_ops_do (std::shared_ptr< when_all_state > state)
template<bool rethrow, class Iterator >
stl_future< std::vector
< handle_ptr > > 
when_all_ops (Iterator first, Iterator last)
template<bool rethrow>
std::pair< bool, handle_ptr > when_any_ops_do (std::shared_ptr< when_any_state > state, size_t idx, size_t id, future<> h)
template<bool rethrow, class Iterator >
stl_future< handle_ptr > when_any_ops (Iterator first, Iterator last)
template<class tasktype >
std::pair< bool, handle_ptr > doCall (size_t, future<> _, std::shared_ptr< tasktype > c)

Variables

static const char * optypes []

Detailed Description

The namespace containing Boost.ASIO internal details.


Enumeration Type Documentation

The type of operation.

Definition at line 735 of file afio.hpp.

Enumerator:
none 

No flags set.

no_symbol_lookup 

Don't bother looking up symbols in stack backtracing as it's horribly slow on POSIX especially.

Definition at line 784 of file afio.hpp.


Variable Documentation

const char* boost::afio::detail::optypes[] [static]
Initial value:
{
        "unknown",
        "UserCompletion",
        "dir",
        "rmdir",
        "file",
        "rmfile",
        "symlink",
        "rmsymlink",
        "sync",
        "close",
        "read",
        "write",
        "truncate",
        "barrier",
        "enumerate",
        "adopt",
        "zero",
        "extents",
        "statfs",
        "lock"
    }

Definition at line 760 of file afio.hpp.


January, 2014

Copyright © 2013-2014 Niall Douglas, Cork, Ireland
Copyright © 2013 Paul Kirth, California
Documentation is generated by Doxygen