<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE header PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
  "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<!--
  Hamigaki.Iostreams Library Document Source

  Copyright Takeshi Mouri 2006, 2007.
  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://hamigaki.sourceforge.jp/libs/iostreams for library home page.
-->
<header name="hamigaki/iostreams/device/zero.hpp">
  <namespace name="hamigaki">
    <namespace name="iostreams">
      <class name="basic_zero_source">
        <template>
          <template-type-parameter name="Ch"/>
        </template>

        <typedef name="char_type">
          <type>Ch</type>
        </typedef>

        <method-group name="Boost.Iostreams implementation">
          <method name="read">
            <type>std::streamsize</type>

            <parameter name="s">
              <paramtype>Ch*</paramtype>
            </parameter>

            <parameter name="n">
              <paramtype>std::streamsize</paramtype>
            </parameter>
          </method>

          <method name="seek">
            <type>std::streampos</type>

            <parameter name="">
              <paramtype>boost::iostreams::stream_offset</paramtype>
            </parameter>

            <parameter name="">
              <paramtype>std::ios_base::seekdir</paramtype>
            </parameter>
          </method>

          <method name="close">
            <type>void</type>
          </method>
        </method-group>
      </class>

      <typedef name="zero_source">
        <type>basic_zero_source&lt;char&gt;</type>
      </typedef>

      <typedef name="wzero_source">
        <type>basic_zero_source&lt;wchar_t&gt;</type>
      </typedef>
    </namespace>
  </namespace>
</header>
