]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE>OptimallyBuffered</TITLE> | |
5 | <LINK REL="stylesheet" HREF="../../../../boost.css"> | |
6 | <LINK REL="stylesheet" HREF="../theme/iostreams.css"> | |
7 | </HEAD> | |
8 | <BODY> | |
9 | ||
10 | <!-- Begin Banner --> | |
11 | ||
12 | <H1 CLASS="title">OptimallyBuffered</H1> | |
13 | <HR CLASS="banner"> | |
14 | ||
15 | <!-- End Banner --> | |
16 | ||
17 | <H2>Description</H2> | |
18 | ||
19 | <P> | |
20 | A OptimallyBuffered Filter or Device provides a way for the Iostreams library to determine the best size of buffer to allocate for it if the user doesn't explicitly specify a buffer size. | |
21 | </P> | |
22 | ||
23 | <H2>Refinement of</H2> | |
24 | ||
25 | <A NAME="types"></A> | |
26 | <H2>Associated Types</H2> | |
27 | ||
28 | <H2>Notation</H2> | |
29 | ||
30 | <TABLE CELLPADDING="2"> | |
31 | <TR><TD><CODE>O</CODE></TD><TD>-</TD><TD>A type which is a model of OptimallyBuffered</TD></TR> | |
32 | <TR><TD><CODE>o</CODE></TD><TD>-</TD><TD>Object of type <CODE>O</CODE></TD></TR> | |
33 | <TR><TD><CODE>io</CODE></TD><TD>-</TD><TD>Alias for namespace <CODE>boost::iostreams</CODE></TD></TR> | |
34 | </TABLE> | |
35 | ||
36 | <H2>Valid Expressions / Semantics</H2> | |
37 | ||
38 | <TABLE CELLPADDING="5" BORDER="1"> | |
39 | <TR><TH>Expression</TH><TH>Expression Type</TH><TH>Semantics</TH></TR> | |
40 | <TR> | |
41 | <TD> | |
42 | <PRE CLASS="plain_code"><CODE><A HREF="../functions/optimal_buffer_size.html">io::optimal_buffer_size</A>(o)</CODE></PRE> | |
43 | </TD> | |
44 | <TD><CODE>std::streamsize</CODE></TD> | |
45 | <TD>Returns the size of buffer that should be allocated for <CODE>o</CODE> if the user has not explicitly specified a buffer size.</TD> | |
46 | </TR> | |
47 | </TABLE> | |
48 | ||
49 | <H2>Models</H2> | |
50 | <UL> | |
51 | <LI><A HREF="../classes/counter.html"><CODE>basic_counter</CODE></A> | |
52 | </UL> | |
53 | ||
54 | <!-- Begin Footer --> | |
55 | ||
56 | <HR> | |
57 | ||
58 | <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> | |
59 | <P CLASS="copyright"> | |
60 | 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>) | |
61 | </P> | |
62 | ||
63 | <!-- End Footer --> | |
64 | ||
65 | </BODY> |