1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
5 <LINK REL=
"stylesheet" HREF=
"../../../../boost.css">
6 <LINK REL=
"stylesheet" HREF=
"../theme/iostreams.css">
12 <H1 CLASS=
"title">Pipable
</H1>
20 A Pipable Filter can appear as a component of a
<A HREF=
"../guide/pipelines.html">pipline
</A>.
24 Certian overloads of
<CODE>operator|
</CODE> must be defined to make a Filter Pipable; this is achieved by invoking the macro
<A HREF=
"../guide/pipelines.html#boost_iostreams_pipable"><CODE>BOOST_IOSTREAMS_PIPABLE
</CODE></A>.
27 <H2>Refinement of
</H2>
29 <A HREF=
"filter.html">Filter
</A>.
32 <H2>Associated Types
</H2>
34 Same as
<A HREF=
"filter.html">Filter
</A>.
38 <TABLE CELLPADDING=
"2">
39 <TR><TD><CODE>P
</CODE></TD><TD>-
</TD><TD>A type which is a model of Pipable
</TD></TR>
40 <TR><TD><CODE>C
</CODE></TD><TD>-
</TD><TD>A type which is a model of
<A HREF=
"filter.html">Filter
</A> or
<A HREF=
"device.html">Device
</A> and which is
<A HREF=
"../../../../doc/html/CopyConstructible.html" TARGET=
"_top">CopyConstructible
</A><A CLASS='footnote_ref' NAME='note_1_ref'
HREF=
"#note_1"><SUP>[
1]
</A></SUP></TD></TR>
41 <TR><TD><CODE>p
</CODE></TD><TD>-
</TD><TD>Object of type
<CODE>P
</CODE></TD></TR>
42 <TR><TD><CODE>c
</CODE></TD><TD>-
</TD><TD>Object of type
<CODE>C
</CODE></TD></TR>
45 <H2>Valid Expressions / Semantics
</H2>
47 <TABLE CELLPADDING=
"5" BORDER=
"1">
48 <TR><TH>Expression
</TH><TH>Expression Type
</TH><TH>Semantics
</TH></TR>
51 <PRE CLASS=
"plain_code"><CODE>f | c
</CODE></PRE>
53 <TD><I>implementation-defined
</I></TD>
55 Returns a pipeline corresponding to the sequence
<CODE>f
</CODE>,
<CODE>c
</CODE>
68 <LI>All the Filters provided by the Iostreams library.
71 <!-- Begin Footnotes -->
76 <A CLASS=
"footnote_ref" NAME=
"note_1" HREF=
"#note_1_ref"><SUP>[
1]
</SUP></A>This requirement prevents streams and stream buffers from appearing in pipelines without the use of
<A HREF=
"../../../../doc/html/ref.html">reference wrappers
</A>. This restriction may be removed in a future version of the Iostreams library.
79 <!-- End Footnotes -->
85 <P CLASS=
"copyright">© Copyright
2008 <a href=
"http://www.coderage.com/" target=
"_top">CodeRage, LLC
</a><br/>© Copyright
2004-
2007 <a href=
"http://www.coderage.com/turkanis/" target=
"_top">Jonathan Turkanis
</a></P>
87 Distributed under the Boost Software License, Version
1.0. (See accompanying file LICENSE_1_0.txt or copy at
<A HREF=
"http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt
</A>)