You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/03/16 23:18:56 UTC

svn commit: r637671 - in /stdcxx/trunk/doc/stdlibref: basic-ios.html lists.html

Author: sebor
Date: Sun Mar 16 15:18:53 2008
New Revision: 637671

URL: http://svn.apache.org/viewvc?rev=637671&view=rev
Log:
2008-03-16  Martin Sebor  <se...@roguewave.com>

	STDCXX-770
	* doc/stdlibref/basic-ios.html (copyfmt): Added Table 40: copyfmt()
	Postconditions.
	(init): Added Table 41: init() Postconditions.
	* doc/stdlibref/lists.html: Added references to Tables 40 and 41.

Modified:
    stdcxx/trunk/doc/stdlibref/basic-ios.html
    stdcxx/trunk/doc/stdlibref/lists.html

Modified: stdcxx/trunk/doc/stdlibref/basic-ios.html
URL: http://svn.apache.org/viewvc/stdcxx/trunk/doc/stdlibref/basic-ios.html?rev=637671&r1=637670&r2=637671&view=diff
==============================================================================
--- stdcxx/trunk/doc/stdlibref/basic-ios.html (original)
+++ stdcxx/trunk/doc/stdlibref/basic-ios.html Sun Mar 16 15:18:53 2008
@@ -15,7 +15,7 @@
     implied.   See  the License  for  the  specific language  governing
     permissions and limitations under the License.
 
-    Copyright 1999-2007 Rogue Wave Software, Inc.
+    Copyright 1999-2008 Rogue Wave Software, Inc.
 -->
 
 <HTML>
@@ -250,6 +250,49 @@
 <P>Before copying any parts of <SAMP>rhs</SAMP>, calls each registered callback pair <SAMP>(fn, index)</SAMP> as <SAMP>(*fn)(erase_event,*this, index)</SAMP>. After all parts but <SAMP>exceptions()</SAMP> are replaced, calls each callback pair that was copied from <SAMP>rhs</SAMP> as <SAMP>(*fn)(copy_event,*this, index)</SAMP>.</P>
 </UL>
 
+<H4><A NAME="Table&nbsp;40">Table&nbsp;40: <SAMP>copyfmt()</SAMP> Postconditions</A></H4>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="3">
+<tr>
+  <td valign=top><B>Element</B></td>
+  <td valign=top><B>Value</B></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>rdbuf()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE">unchanged</P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>tie()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.tie()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>rdstate()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE">unchanged</P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>exceptions()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.exceptions()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>flags()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.flags()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>width()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.width()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>precision()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.precision()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>fill()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.fill()</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>getloc()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>rhs.getloc()</SAMP></P></td>
+</tr>
+</TABLE>
 
 <A NAME="idx119"></A><PRE>bool 
 <B>eof</B>() const; </PRE>
@@ -310,20 +353,52 @@
 <A NAME="idx127"></A><PRE>void 
 <B>init</B>(basic_streambuf&lt;charT,traits&gt;* sb); </PRE>
 <UL>
-<P>Performs the following initialization:</P>
-
-<UL><PRE>rdbuf()      sb
-tie()        0
-rdstate()    goodbit if sb is not null otherwise badbit
-exceptions() goodbit
-flags()      skipws | dec
-width()      0
-precision()  6
-fill()       the space character
-getloc()     a copy of the locale returned by
-             locale::locale()
-</PRE></UL>
+<P>Performs initialization according to the following table:</P>
 </UL>
+
+<H4><A NAME="Table&nbsp;41">Table&nbsp;41: <SAMP>init()</SAMP> Postconditions</A></H4>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="3">
+<tr>
+  <td valign=top><B>Element</B></td>
+  <td valign=top><B>Value</B></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>rdbuf()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>sb</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>tie()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>0</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>rdstate()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>sb ? goodbit : badbit</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>exceptions()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>goodbit</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>flags()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>skipws | dec</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>width()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>0</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>precision()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>6</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>fill()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>widen(' ')</SAMP></P></td>
+</tr>
+<tr>
+  <td valign=top><P CLASS="TABLE"><SAMP>getloc()</SAMP></P></td>
+  <td valign=top><P CLASS="TABLE"><SAMP>locale::global()</SAMP></P></td>
+</tr>
+</TABLE>
 
 
 <A NAME="idx128"></A><PRE>char 

Modified: stdcxx/trunk/doc/stdlibref/lists.html
URL: http://svn.apache.org/viewvc/stdcxx/trunk/doc/stdlibref/lists.html?rev=637671&r1=637670&r2=637671&view=diff
==============================================================================
--- stdcxx/trunk/doc/stdlibref/lists.html (original)
+++ stdcxx/trunk/doc/stdlibref/lists.html Sun Mar 16 15:18:53 2008
@@ -15,7 +15,7 @@
     implied.   See  the License  for  the  specific language  governing
     permissions and limitations under the License.
 
-    Copyright 1999-2007 Rogue Wave Software, Inc.
+    Copyright 1999-2008 Rogue Wave Software, Inc.
 -->
 
 <HTML>
@@ -72,6 +72,11 @@
 <A HREF="time-put.html#Table&nbsp;37">Table&nbsp;37: Recognized modified formatting characters&nbsp;.</A><BR>
 <A HREF="wcout.html#Table&nbsp;38">Table&nbsp;38: Formatting functions and manipulators in wcout</A><BR>
 <A HREF="B.html#Table&nbsp;39">Table&nbsp;39: Extensions of this implementation to the C++ Standard Library&nbsp;</A><BR>
+
+<A HREF="basic-ios.html#Table&nbsp;40">Table&nbsp;40: <SAMP>copyfmt()</SAMP> Postconditions</A><BR>
+
+<A HREF="basic-ios.html#Table&nbsp;41">Table&nbsp;41: <SAMP>init()</SAMP> Postconditions</A><BR>
+
 </UL>