Classes | Namespaces | Functions
buffer.hpp File Reference
#include "asio/detail/push_options.hpp"
#include <cstddef>
#include <boost/config.hpp>
#include <boost/array.hpp>
#include <boost/type_traits/is_const.hpp>
#include <string>
#include <vector>
#include "asio/detail/pop_options.hpp"
Include dependency graph for buffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  asio::const_buffer
 Holds a buffer that cannot be modified. More...
class  asio::const_buffers_1
class  asio::mutable_buffer
 Holds a buffer that can be modified. More...
class  asio::mutable_buffers_1
class  asio::null_buffers

Namespaces

namespace  asio
namespace  asio::detail

Functions

mutable_buffers_1 asio::buffer (const mutable_buffer &b)
 Create a new modifiable buffer from an existing buffer.
mutable_buffers_1 asio::buffer (const mutable_buffer &b, std::size_t max_size_in_bytes)
 Create a new modifiable buffer from an existing buffer.
const_buffers_1 asio::buffer (const const_buffer &b)
 Create a new non-modifiable buffer from an existing buffer.
const_buffers_1 asio::buffer (const const_buffer &b, std::size_t max_size_in_bytes)
 Create a new non-modifiable buffer from an existing buffer.
mutable_buffers_1 asio::buffer (void *data, std::size_t size_in_bytes)
 Create a new modifiable buffer that represents the given memory range.
const_buffers_1 asio::buffer (const void *data, std::size_t size_in_bytes)
 Create a new non-modifiable buffer that represents the given memory range.
template<typename PodType , std::size_t N>
mutable_buffers_1 asio::buffer (PodType(&data)[N])
 Create a new modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
mutable_buffers_1 asio::buffer (PodType(&data)[N], std::size_t max_size_in_bytes)
 Create a new modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
const_buffers_1 asio::buffer (const PodType(&data)[N])
 Create a new non-modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
const_buffers_1 asio::buffer (const PodType(&data)[N], std::size_t max_size_in_bytes)
 Create a new non-modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
mutable_buffers_1 asio::buffer (boost::array< PodType, N > &data)
 Create a new modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
mutable_buffers_1 asio::buffer (boost::array< PodType, N > &data, std::size_t max_size_in_bytes)
 Create a new modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
const_buffers_1 asio::buffer (boost::array< const PodType, N > &data)
 Create a new non-modifiable buffer that represents the given POD array.
template<typename PodType , std::size_t N>
const_buffers_1 asio::buffer (boost::array< const PodType, N > &data, std::size_t max_size_in_bytes)
 Create a new non-modifiable buffer that represents the given POD array.
template<typename PodType , typename Allocator >
mutable_buffers_1 asio::buffer (std::vector< PodType, Allocator > &data)
 Create a new modifiable buffer that represents the given POD vector.
template<typename PodType , typename Allocator >
mutable_buffers_1 asio::buffer (std::vector< PodType, Allocator > &data, std::size_t max_size_in_bytes)
 Create a new modifiable buffer that represents the given POD vector.
template<typename PodType , typename Allocator >
const_buffers_1 asio::buffer (const std::vector< PodType, Allocator > &data)
 Create a new non-modifiable buffer that represents the given POD vector.
template<typename PodType , typename Allocator >
const_buffers_1 asio::buffer (const std::vector< PodType, Allocator > &data, std::size_t max_size_in_bytes)
 Create a new non-modifiable buffer that represents the given POD vector.
const_buffers_1 asio::buffer (const std::string &data)
 Create a new non-modifiable buffer that represents the given string.
const_buffers_1 asio::buffer (const std::string &data, std::size_t max_size_in_bytes)
 Create a new non-modifiable buffer that represents the given string.
void * asio::detail::buffer_cast_helper (const mutable_buffer &)
const void * asio::detail::buffer_cast_helper (const const_buffer &)
std::size_t asio::detail::buffer_size_helper (const mutable_buffer &)
std::size_t asio::detail::buffer_size_helper (const const_buffer &)
 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