x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
device_adapter.hpp - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\iostreams\detail\adapter\device_adapter.hpp
Girar
Efecto
Propiedad
Historial
/* * Defines the class template boost::iostreams::detail::device_adapter, * a convenience base class for device adapters. * * File: boost/iostreams/detail/adapter/filter_adapter.hpp * Date: Mon Nov 26 14:35:48 MST 2007 * * Copyright: 2007-2008 CodeRage, LLC * Author: Jonathan Turkanis * Contact: turkanis at coderage dot com * * Distributed under the Boost Software License, Version 1.0.(See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) * * See http://www.boost.org/libs/iostreams for documentation. */ #ifndef BOOST_IOSTREAMS_DETAIL_DEVICE_ADAPTER_HPP_INCLUDED #define BOOST_IOSTREAMS_DETAIL_DEVICE_ADAPTER_HPP_INCLUDED #include
#include
#include
#include
#include
#include
namespace boost { namespace iostreams { namespace detail { template
class device_adapter { private: typedef typename detail::value_type
::type value_type; typedef typename detail::param_type
::type param_type; public: explicit device_adapter(param_type t) : t_(t) { } T& component() { return t_; } void close() { detail::close_all(t_); } void close(BOOST_IOS::openmode which) { iostreams::close(t_, which); } bool flush() { return iostreams::flush(t_); } template
// Avoid dependency on
void imbue(const Locale& loc) { iostreams::imbue(t_, loc); } std::streamsize optimal_buffer_size() const { return iostreams::optimal_buffer_size(t_); } public: value_type t_; }; //----------------------------------------------------------------------------// } } } // End namespaces detail, iostreams, boost. #endif // #ifndef BOOST_IOSTREAMS_DETAIL_DEVICE_ADAPTER_HPP_INCLUDED
device_adapter.hpp
Dirección de la página
Dirección del archivo
Anterior
2/8
Siguiente
Descargar
( 1 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.