Ticket #6541: 20120210_fixed_typos_part_2.patch

File 20120210_fixed_typos_part_2.patch, 9.0 KB (added by Steven Samuel Cole <steven.samuel.cole@…>, 11 years ago)

patch file with typo fixes; created as detailed in bug report

  • libs/iostreams/doc/guide/modes.html

     
    2929<DL class="page-index">
    3030  <DT><A href="#overview">Overview</A></DT>
    3131  <DT><A href="#definitions">Definitions of the Modes</A></DT>
    32   <DT><A href="#mode_hierchy_diagrams">Mode Hierchy Diagrams</A></DT>
     32  <DT><A href="#mode_hierarchy_diagrams">Mode Hierarchy Diagrams</A></DT>
    3333  <DT><A href="#mode_tags">Mode Tags</A></DT>
    3434  <DT><A href="#the_metafunction_mode">The metafunction <CODE>mode_of</CODE></A></DT>
    3535</DL>
     
    4848</P>
    4949
    5050<P>
    51     The Iostreams library supports eight modes, described in the next section (<I>see also</I> <A CLASS="caption_ref" HREF="#mode_hierchy_diagrams">Figure 2</A>). Of these, four are most import (<I>see </I> <A CLASS="caption_ref" HREF="#mode_hierchy_diagrams">Figure 1</A>). The two modes <A HREF="#input">input</A> and <A HREF="#output">output</A> are by far the most common. Readers new to the Iostreams library should feel free to concentrate primarily on these two modes.
     51    The Iostreams library supports eight modes, described in the next section (<I>see also</I> <A CLASS="caption_ref" HREF="#mode_hierarchy_diagrams">Figure 2</A>). Of these, four are most import (<I>see </I> <A CLASS="caption_ref" HREF="#mode_hierarchy_diagrams">Figure 1</A>). The two modes <A HREF="#input">input</A> and <A HREF="#output">output</A> are by far the most common. Readers new to the Iostreams library should feel free to concentrate primarily on these two modes.
    5252</P>
    5353
    5454<A NAME="definitions"></A>
     
    168168    For more on the selection of modes, see the <A href="../rationale.html">Rationale</A>.
    169169</P>
    170170
    171 <A NAME="mode_hierchy_diagrams"></A>
    172 <H2>Mode Hierchy Diagrams</H2>
     171<A NAME="mode_hierarchy_diagrams"></A>
     172<H2>Mode Hierarchy Diagrams</H2>
    173173
    174174<P>The following diagrams display the refinement hierarchies among modes.</P>
    175175
  • libs/iostreams/doc/classes/device.html

     
    2626<H2>Description</H2>
    2727
    2828<P>
    29     The class template <CODE>device</CODE>, its subcass <CODE>wdevice</CODE> and their specializations <CODE>source</CODE>, <CODE>sink</CODE>, <CODE>wsource</CODE> and <CODE>wsink</CODE> are provided by the Iostreams library to ease the definitions of new models of the various <A HREF="../guide/concepts.html#device_concepts">Device Concepts</A>. These templates and <CODE>typedef</CODE>s are inteded to be used as base classes for user-defined Devices. They supply the member types <CODE>char_type</CODE> and <CODE>category</CODE> used by the Iostreams library.
     29    The class template <CODE>device</CODE>, its subcass <CODE>wdevice</CODE> and their specializations <CODE>source</CODE>, <CODE>sink</CODE>, <CODE>wsource</CODE> and <CODE>wsink</CODE> are provided by the Iostreams library to ease the definitions of new models of the various <A HREF="../guide/concepts.html#device_concepts">Device Concepts</A>. These templates and <CODE>typedef</CODE>s are intended to be used as base classes for user-defined Devices. They supply the member types <CODE>char_type</CODE> and <CODE>category</CODE> used by the Iostreams library.
    3030</P>
    3131<P>
    3232    The supplied <CODE>category</CODE> member is convertible to <A HREF="../guide/traits.html#category_tags"><CODE>closable_tag</CODE></A> and to <A HREF="../guide/traits.html#category_tags"><CODE>localizable_tag</CODE></A>. This allows users to define models of the concepts <A HREF="../concepts/closable.html">Closable</A> and <A HREF="../concepts/closable.html">Localizable</A> simply by providing definitions of member functions <CODE>close</CODE> and <CODE>imbue</CODE>.
  • libs/iostreams/doc/tutorial/container_source.html

     
    5353
    5454<P>Here the member type <A HREF="../guide/traits.html#char_type"><CODE>char_type</CODE></A> indicates the type of characters handled by my_source, which will almost always be <CODE>char</CODE> or <CODE>wchar_t</CODE>. The member type <A HREF="../guide/traits.html#char_type">category</A> indicates which of the fundamental i/o operations are supported by the device. The category tag <A HREF="../guide/traits.html#category_tags"><CODE>source_tag</CODE></A> indicates that only <A HREF="../functions/read.html"><CODE>read</CODE></A> is supported.</P>
    5555
    56 <P>The member function <CODE>read</CODE> reads up to <CODE>n</CODE> character into the buffer <CODE>s</CODE> and returns the number of character read, unless that number is <CODE>0</CODE> and end-of-stream has been reached, in which case the special value <CODE>-1</CODE> is returned. In general, a Source's member function <CODE>read</CODE> may return fewer characters than requested even though end-of-stream has not been reached; such Sources are called <I>non-blocking</I>. Non-blocking Devices do not interact well with standard streams and stream buffers, however, so most devices should be <A HREF="../concepts/blocking.html">Blocking</A>. <I>See</I> <A HREF="../guide/asynchronous.html">Asynchronous and Non-Blocking I/O</A>.</P>
     56<P>The member function <CODE>read</CODE> reads up to <CODE>n</CODE> characters into the buffer <CODE>s</CODE> and returns the number of characters read, unless that number is <CODE>0</CODE> and end-of-stream has been reached, in which case the special value <CODE>-1</CODE> is returned. In general, a Source's member function <CODE>read</CODE> may return fewer characters than requested even though end-of-stream has not been reached; such Sources are called <I>non-blocking</I>. Non-blocking Devices do not interact well with standard streams and stream buffers, however, so most devices should be <A HREF="../concepts/blocking.html">Blocking</A>. <I>See</I> <A HREF="../guide/asynchronous.html">Asynchronous and Non-Blocking I/O</A>.</P>
    5757
    5858<P>You could also write the above example as follows:</P>
    5959
  • libs/iostreams/doc/tutorial/writing_filters.html

     
    2727<A NAME="filter_overview"></A>
    2828<H2>2.2.1. Overview: InputFilters, OutputFilters and Filter Helpers</H2>
    2929
    30 <P>Filters are used to modify character sequences. For example, you might use a filter to replace all instances of one word with another, to convert all alphabetic characters to lower case or to encrypt a document. Sometimes the filter is a mere observer; in this case the filtered character sequence if the same as the unfiltered sequence. For example, you might use a filter to count the number of occurences of a given word.</P>
     30<P>Filters are used to modify character sequences. For example, you might use a filter to replace all instances of one word with another, to convert all alphabetic characters to lower case or to encrypt a document. Sometimes the filter is a mere observer; in this case the filtered character sequence if the same as the unfiltered sequence. For example, you might use a filter to count the number of occurrences of a given word.</P>
    3131
    3232
    3333<A NAME="input_filters_and_output_filters"></A>
  • libs/iostreams/doc/concepts/multi_character.html

     
    11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    22<HTML>
    33<HEAD>
    4     <TITLE>Mutli-Character Filter</TITLE>
     4    <TITLE>Multi-Character Filter</TITLE>
    55    <LINK REL="stylesheet" HREF="../../../../boost.css">
    66    <LINK REL="stylesheet" HREF="../theme/iostreams.css">
    77</HEAD>
     
    99
    1010<!-- Begin Banner -->
    1111
    12     <H1 CLASS="title">Mutli-Character Filter</H1>
     12    <H1 CLASS="title">Multi-Character Filter</H1>
    1313    <HR CLASS="banner">
    1414
    1515<!-- End Banner -->
    1616
    1717<H2>Description</H2>
    1818
    19 <P><A HREF="filter.html">Filter</A> which provides access to its controlled sequence or sequences several characters at a time. The difference between a Filter which is Mutli-Character and one which is not is reflected in the specifications of the various Filter refinements. <I>See</I>, <I>e.g.</I>, <A HREF="input_filter.html">InputFilter</A> and <A HREF="output_filter.html">OutputFilter</A>.</P>
     19<P><A HREF="filter.html">Filter</A> which provides access to its controlled sequence or sequences several characters at a time. The difference between a Filter which is Multi-Character and one which is not is reflected in the specifications of the various Filter refinements. <I>See</I>, <I>e.g.</I>, <A HREF="input_filter.html">InputFilter</A> and <A HREF="output_filter.html">OutputFilter</A>.</P>
    2020
    2121<H2>Refinement of</H2>
    2222