write.hpp
Go to the documentation of this file.
00001 //
00002 // write.hpp
00003 // ~~~~~~~~~
00004 //
00005 // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
00006 //
00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying
00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00009 //
00010 
00011 #ifndef ASIO_WRITE_HPP
00012 #define ASIO_WRITE_HPP
00013 
00014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
00015 # pragma once
00016 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
00017 
00018 #include "asio/detail/push_options.hpp"
00019 
00020 #include "asio/detail/push_options.hpp"
00021 #include <cstddef>
00022 #include <boost/config.hpp>
00023 #include "asio/detail/pop_options.hpp"
00024 
00025 #include "asio/basic_streambuf.hpp"
00026 #include "asio/error.hpp"
00027 
00028 namespace asio {
00029 
00036 
00038 
00073 template <typename SyncWriteStream, typename ConstBufferSequence>
00074 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers);
00075 
00077 
00122 template <typename SyncWriteStream, typename ConstBufferSequence,
00123     typename CompletionCondition>
00124 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
00125     CompletionCondition completion_condition);
00126 
00128 
00166 template <typename SyncWriteStream, typename ConstBufferSequence,
00167     typename CompletionCondition>
00168 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
00169     CompletionCondition completion_condition, asio::error_code& ec);
00170 
00172 
00197 template <typename SyncWriteStream, typename Allocator>
00198 std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b);
00199 
00201 
00235 template <typename SyncWriteStream, typename Allocator,
00236     typename CompletionCondition>
00237 std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b,
00238     CompletionCondition completion_condition);
00239 
00241 
00276 template <typename SyncWriteStream, typename Allocator,
00277     typename CompletionCondition>
00278 std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b,
00279     CompletionCondition completion_condition, asio::error_code& ec);
00280 
00289 
00292 
00339 template <typename AsyncWriteStream, typename ConstBufferSequence,
00340     typename WriteHandler>
00341 void async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
00342     WriteHandler handler);
00343 
00346 
00408 template <typename AsyncWriteStream, typename ConstBufferSequence,
00409     typename CompletionCondition, typename WriteHandler>
00410 void async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
00411     CompletionCondition completion_condition, WriteHandler handler);
00412 
00415 
00451 template <typename AsyncWriteStream, typename Allocator, typename WriteHandler>
00452 void async_write(AsyncWriteStream& s, basic_streambuf<Allocator>& b,
00453     WriteHandler handler);
00454 
00457 
00507 template <typename AsyncWriteStream, typename Allocator,
00508     typename CompletionCondition, typename WriteHandler>
00509 void async_write(AsyncWriteStream& s, basic_streambuf<Allocator>& b,
00510     CompletionCondition completion_condition, WriteHandler handler);
00511 
00514 } // namespace asio
00515 
00516 #include "asio/impl/write.ipp"
00517 
00518 #include "asio/detail/pop_options.hpp"
00519 
00520 #endif // ASIO_WRITE_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:40