Public Member Functions | Private Attributes

ana::detail::copying_buffer Class Reference
[Buffer]

A buffer to be constructed from different buffers that can duplicate the other and hold a local copy that will destruct with the object itself. More...

#include <buffers.hpp>

List of all members.

Public Member Functions

 copying_buffer (boost::asio::const_buffer buffer, ana::send_type copy_buffer)
size_t size () const
void * base () const
char * base_char () const
 ~copying_buffer ()

Private Attributes

const size_t size_
void * base_
const bool copy_

Detailed Description

A buffer to be constructed from different buffers that can duplicate the other and hold a local copy that will destruct with the object itself.

Definition at line 131 of file buffers.hpp.


Constructor & Destructor Documentation

ana::detail::copying_buffer::copying_buffer ( boost::asio::const_buffer  buffer,
ana::send_type  copy_buffer 
) [inline]

Definition at line 134 of file buffers.hpp.

References base_, and size_.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:18 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs