]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
locale_facets.h (isspace, [...]): Add doxygen markup.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 23 Nov 2004 09:18:41 +0000 (09:18 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 23 Nov 2004 09:18:41 +0000 (09:18 +0000)
2004-11-22  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (isspace, isprint, isupper,
islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
toupper, tolower): Add doxygen markup.
(codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
time_get_byname, time_put_byname, moneypunct_byname,
messages_byname): Same.
* include/std/std_fstream.h: Remove superfluous markup.
* include/std/std_sstream.h: Same.
* include/std/std_streambuf.h: Same.
* include/ext/enc_filebuf.h: Adjust markup.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/bits/codecvt.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* include/tr1/array: Add markup.
* include/tr1/tuple: Same.

* docs/doxygen/run_doxygen: Print arguments.

* docs/doxygen/user.cfg.in: Tweaks.

From-SVN: r91080

16 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h
libstdc++-v3/config/os/gnu-linux/ctype_base.h
libstdc++-v3/docs/doxygen/run_doxygen
libstdc++-v3/docs/doxygen/user.cfg.in
libstdc++-v3/include/bits/codecvt.h
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/ext/enc_filebuf.h
libstdc++-v3/include/ext/stdio_filebuf.h
libstdc++-v3/include/ext/stdio_sync_filebuf.h
libstdc++-v3/include/std/std_fstream.h
libstdc++-v3/include/std/std_sstream.h
libstdc++-v3/include/std/std_streambuf.h
libstdc++-v3/include/tr1/array
libstdc++-v3/include/tr1/tuple

index 6158511a8064354462550f634740c2716a5f45da..62a9776c6813469be931fa6e485ae6f85596b804 100644 (file)
@@ -1,3 +1,27 @@
+2004-11-22  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/locale_facets.h (isspace, isprint, isupper,
+       islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
+       toupper, tolower): Add doxygen markup.
+       (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
+       time_get_byname, time_put_byname, moneypunct_byname,
+       messages_byname): Same.
+       * include/std/std_fstream.h: Remove superfluous markup.
+       * include/std/std_sstream.h: Same.
+       * include/std/std_streambuf.h: Same.
+       * include/ext/enc_filebuf.h: Adjust markup.
+       * include/ext/stdio_filebuf.h: Same.
+       * include/ext/stdio_sync_filebuf.h: Same.
+       * include/bits/codecvt.h: Same.
+       * config/os/gnu-linux/ctype_base.h: Same.
+       * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
+       * include/tr1/array: Add markup.
+       * include/tr1/tuple: Same.
+       
+       * docs/doxygen/run_doxygen: Print arguments.
+
+       * docs/doxygen/user.cfg.in: Tweaks.
+       
 2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>
 
        * include/bits/basic_string.h, include/bits/locale_classes.h,
index 3c762a193898b2674dcb25c159e567a94c84caa8..268a79e362780600c165b3c795320b6e95d452fb 100644 (file)
 
 // Written by Benjamin Kosnik <bkoz@cygnus.com>
 
+/** @file bits/codecvt_specializations.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
   // XXX
   // Define this here so codecvt.cc can have _S_max_size definition.
 #define _GLIBCXX_USE___ENC_TRAITS 1
     { return _M_ext_enc; }    
   };
 
-  /// Partial specialization.
-  // This specialization takes advantage of iconv to provide code
-  // conversions between a large number of character encodings.
+  /// @brief  class codecvt<InternT, _ExternT, __enc_traits> specialization.
+  // This partial specialization takes advantage of iconv to provide
+  // code conversions between a large number of character encodings.
   template<typename _InternT, typename _ExternT>
     class codecvt<_InternT, _ExternT, __enc_traits>
     : public __codecvt_abstract_base<_InternT, _ExternT, __enc_traits>
index 43c924eeb1319b69f64f1edbb6a831c697a238f8..3a34bc602bd5683b0305961d34b7579a57a8b5b1 100644 (file)
@@ -1,6 +1,6 @@
 // Locale support -*- C++ -*-
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003
+// Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // ISO C++ 14882: 22.1  Locales
 //
   
+/** @file ctype_base.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 // Information as gleaned from /usr/include/ctype.h
   
   /// @brief  Base class for ctype.
index ae67cbcb4970e22e9e9854ad6bce02e1d7a2f5d6..6f98463d3eeb57827317b3016673965a5417e8d0 100644 (file)
@@ -108,6 +108,9 @@ enabled_sections=
 generate_tagfile=
 DATEtext=`date '+%Y-%m-%d'`
 
+# Show how this script is called.
+echo run_doxygen $*
+
 parse_options $*
 find_doxygen
 
index b7d34518e60c2875da515b5c4888b7e711d3f746..19118031a78d1076516e443ca56a82c3f779cf14 100644 (file)
@@ -35,8 +35,8 @@ SUBGROUPING            = YES
 EXTRACT_ALL            = NO
 EXTRACT_PRIVATE        = NO
 EXTRACT_STATIC         = YES
-EXTRACT_LOCAL_CLASSES  = NO
-EXTRACT_LOCAL_METHODS  = NO
+EXTRACT_LOCAL_CLASSES  = YES
+EXTRACT_LOCAL_METHODS  = YES
 HIDE_UNDOC_MEMBERS     = NO
 HIDE_UNDOC_CLASSES     = YES
 HIDE_FRIEND_COMPOUNDS  = NO
@@ -44,7 +44,7 @@ HIDE_IN_BODY_DOCS      = NO
 INTERNAL_DOCS          = NO
 CASE_SENSE_NAMES       = NO
 HIDE_SCOPE_NAMES       = YES
-SHOW_INCLUDE_FILES     = YES
+SHOW_INCLUDE_FILES     = NO
 INLINE_INFO            = YES
 SORT_MEMBER_DOCS       = YES
 SORT_BRIEF_DOCS        = YES
@@ -70,7 +70,9 @@ WARN_LOGFILE           =
 # configuration options related to the input files
 #---------------------------------------------------------------------------
 INPUT                  = @srcdir@/docs/doxygen/doxygroups.cc \
-                         @srcdir@/src \
+                        include/@host_alias@/bits \
+                         include/bits \
+                         include/ext \
                          @srcdir@/libsupc++/exception \
                          @srcdir@/libsupc++/new \
                          @srcdir@/libsupc++/typeinfo \
@@ -101,8 +103,6 @@ INPUT                  = @srcdir@/docs/doxygen/doxygroups.cc \
                          include/utility \
                          include/valarray \
                          include/vector \
-                         include/bits \
-                         include/ext \
                          include/ext/algorithm \
                          include/ext/functional \
                          include/ext/hash_map \
@@ -112,8 +112,7 @@ INPUT                  = @srcdir@/docs/doxygen/doxygroups.cc \
                          include/ext/rope \
                          include/ext/slist \
                          include/tr1/array \
-                         include/tr1/tuple \
-                        include/@host_alias@/bits
+                         include/tr1/tuple 
 FILE_PATTERNS          = *.h \
                          *.tcc
 RECURSIVE              = NO
@@ -253,13 +252,13 @@ PERL_PATH              = /usr/bin/perl
 # Configuration options related to the dot tool   
 #---------------------------------------------------------------------------
 CLASS_DIAGRAMS         = YES
-HIDE_UNDOC_RELATIONS   = YES
+HIDE_UNDOC_RELATIONS   = NO
 HAVE_DOT               = NO
 CLASS_GRAPH            = YES
-COLLABORATION_GRAPH    = YES
+COLLABORATION_GRAPH    = NO
 UML_LOOK               = NO
 TEMPLATE_RELATIONS     = YES
-INCLUDE_GRAPH          = YES
+INCLUDE_GRAPH          = NO
 INCLUDED_BY_GRAPH      = NO
 CALL_GRAPH             = NO
 GRAPHICAL_HIERARCHY    = YES
index 027eaca3ef7ab0bf1c16135423fd3f035b9ddc7b..51ad4dd7d1f125cf530b7b4fba9cf3205df4e9a3 100644 (file)
@@ -33,7 +33,7 @@
 
 // Written by Benjamin Kosnik <bkoz@cygnus.com>
 
-/** @file codecvt.h
+/** @file bits/codecvt.h
  *  This is an internal header file, included by other library headers.
  *  You should not attempt to use it directly.
  */
 
 #pragma GCC system_header
 
-  //  22.2.1.5  Template class codecvt
-  /**
-   *  @brief  Base class for codecvt facet providing conversion result enum.
-   */
+  /// @brief  Empty base class for codecvt facet [22.2.1.5].
   class codecvt_base
   {
   public:
     };
   };
 
-  // Template class __codecvt_abstract_base
-  // NB: An abstract base class that fills in the public inlines, so
-  // that the specializations don't have to re-copy the public
-  // interface.
   /**
-   *  @brief  Common base for codecvt facet
+   *  @brief  Common base for codecvt functions.
    *
    *  This template class provides implementations of the public functions
    *  that forward to the protected virtual functions.
       do_max_length() const throw() = 0;
     };
 
-  /// @brief  22.2.1.5 Template class codecvt
-  // NB: Generic, mostly useless implementation.
+  /// @brief class codecvt [22.2.1.5].
+  /// NB: Generic, mostly useless implementation.
   template<typename _InternT, typename _ExternT, typename _StateT>
     class codecvt
     : public __codecvt_abstract_base<_InternT, _ExternT, _StateT>
   template<typename _InternT, typename _ExternT, typename _StateT>
     locale::id codecvt<_InternT, _ExternT, _StateT>::id;
 
-  /// @brief  codecvt<char, char, mbstate_t> required specialization
+  /// @brief class codecvt<char, char, mbstate_t> specialization.
   template<>
     class codecvt<char, char, mbstate_t>
     : public __codecvt_abstract_base<char, char, mbstate_t>
   };
 
 #ifdef _GLIBCXX_USE_WCHAR_T
-  /// @brief  codecvt<wchar_t, char, mbstate_t> required specialization
+  /// @brief  class codecvt<wchar_t, char, mbstate_t> specialization.
   template<>
     class codecvt<wchar_t, char, mbstate_t>
     : public __codecvt_abstract_base<wchar_t, char, mbstate_t>
     };
 #endif //_GLIBCXX_USE_WCHAR_T
 
-  /// @brief  22.2.1.6  Template class codecvt_byname
+  /// @brief class codecvt_byname [22.2.1.6].
   template<typename _InternT, typename _ExternT, typename _StateT>
     class codecvt_byname : public codecvt<_InternT, _ExternT, _StateT>
     {
index 2855b5ba2f14d3b029abdbc0c620e62a77c14b4b..e6374243cebed692c2a7c000a9ff48d43ea5ede5 100644 (file)
@@ -191,7 +191,7 @@ namespace std
 
   // 27.4.2  Class ios_base
   /**
-   *  @brief  The very top of the I/O class hierarchy.
+   *  @brief  The base of the I/O class hierarchy.
    *
    *  This class defines everything that can be defined about I/O that does
    *  not depend on the type of characters being input or output.  Most
index b48e9e9c071d62439466be1f69e0ab4a1d53b409..922ee21084a95551e532c2012681a081f9e2ed27 100644 (file)
@@ -1511,7 +1511,7 @@ namespace std
   // Include host and configuration specific ctype inlines.
   #include <bits/ctype_inline.h>
 
-  /// @brief  22.2.1.2  Template class ctype_byname
+  /// @brief  class ctype_byname [22.2.1.2].
   template<typename _CharT>
     class ctype_byname : public ctype<_CharT>
     {
@@ -1526,7 +1526,7 @@ namespace std
       ~ctype_byname() { };
     };
 
-  // 22.2.1.4  Class ctype_byname specializations.
+  /// 22.2.1.4  Class ctype_byname specializations.
   template<>
     ctype_byname<char>::ctype_byname(const char*, size_t refs);
 
@@ -1888,6 +1888,7 @@ namespace std
     numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc);
 #endif
 
+  /// @brief  class numpunct_byname [22.2.3.2].
   template<typename _CharT>
     class numpunct_byname : public numpunct<_CharT>
     {
@@ -2640,6 +2641,7 @@ namespace std
     collate<wchar_t>::_M_transform(wchar_t*, const wchar_t*, size_t) const;
 #endif
 
+  /// @brief  class collate_byname [22.2.4.2].
   template<typename _CharT>
     class collate_byname : public collate<_CharT>
     {
@@ -3292,6 +3294,7 @@ namespace std
   template<typename _CharT, typename _InIter>
     locale::id time_get<_CharT, _InIter>::id;
 
+  /// @brief  class time_get_byname [22.2.5.2].
   template<typename _CharT, typename _InIter>
     class time_get_byname : public time_get<_CharT, _InIter>
     {
@@ -3415,6 +3418,7 @@ namespace std
   template<typename _CharT, typename _OutIter>
     locale::id time_put<_CharT, _OutIter>::id;
 
+  /// @brief  class time_put_byname [22.2.5.4].
   template<typename _CharT, typename _OutIter>
     class time_put_byname : public time_put<_CharT, _OutIter>
     {
@@ -3922,6 +3926,7 @@ namespace std
                                                         const char*);
 #endif
 
+  /// @brief  class moneypunct_byname [22.2.6.4].
   template<typename _CharT, bool _Intl>
     class moneypunct_byname : public moneypunct<_CharT, _Intl>
     {
@@ -4469,7 +4474,8 @@ namespace std
     messages<wchar_t>::do_get(catalog, int, int, const wstring&) const;
 #endif
 
-  template<typename _CharT>
+   /// @brief class messages_byname [22.2.7.2].
+   template<typename _CharT>
     class messages_byname : public messages<_CharT>
     {
     public:
@@ -4493,72 +4499,84 @@ namespace std
   // NB: These are inline because, when used in a loop, some compilers
   // can hoist the body out of the loop; then it's just as fast as the
   // C is*() function.
-  //@{
-  /// Convenience interface to ctype.is().
+
+  /// Convenience interface to ctype.is(ctype_base::space, __c).
   template<typename _CharT>
     inline bool
     isspace(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::space, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::print, __c).
   template<typename _CharT>
     inline bool
     isprint(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::print, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::cntrl, __c).
   template<typename _CharT>
     inline bool
     iscntrl(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::cntrl, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::upper, __c).
   template<typename _CharT>
     inline bool
     isupper(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::upper, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::lower, __c).
   template<typename _CharT>
-    inline bool islower(_CharT __c, const locale& __loc)
+    inline bool 
+    islower(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::lower, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::alpha, __c).
   template<typename _CharT>
     inline bool
     isalpha(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alpha, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::digit, __c).
   template<typename _CharT>
     inline bool
     isdigit(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::digit, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::punct, __c).
   template<typename _CharT>
     inline bool
     ispunct(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::punct, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::xdigit, __c).
   template<typename _CharT>
     inline bool
     isxdigit(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::xdigit, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::alnum, __c).
   template<typename _CharT>
     inline bool
     isalnum(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alnum, __c); }
 
+  /// Convenience interface to ctype.is(ctype_base::graph, __c).
   template<typename _CharT>
     inline bool
     isgraph(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::graph, __c); }
 
+  /// Convenience interface to ctype.toupper(__c).
   template<typename _CharT>
     inline _CharT
     toupper(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).toupper(__c); }
 
+  /// Convenience interface to ctype.tolower(__c).
   template<typename _CharT>
     inline _CharT
     tolower(_CharT __c, const locale& __loc)
     { return use_facet<ctype<_CharT> >(__loc).tolower(__c); }
-  //@}
 } // namespace std
 
 #endif
index 39f4ef724d199d6bd92b5171cdf502baba7bdc6d..c4df9337afce5167e7047bfbfbf0dea8621365bb 100644 (file)
@@ -1,6 +1,6 @@
 // filebuf with __enc_traits state type -*- C++ -*-
 
-// Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
+/** @file ext/enc_filebuf.h
+ *  This file is a GNU extension to the Standard C++ Library.
+ */
+
 #include <fstream>
 #include <locale>
 
@@ -35,6 +39,7 @@ namespace __gnu_cxx
   // Custom traits type with __enc_traits for the state type, and the
   // associated fpos<__enc_traits> for the position type, all other
   // bits equivalent to the required char_traits instantiations.
+  /// @brief  class enc_char_traits.
   template<typename _CharT>
     struct enc_char_traits: public std::char_traits<_CharT>
     {
@@ -42,6 +47,7 @@ namespace __gnu_cxx
       typedef typename std::fpos<state_type>   pos_type;
     };
 
+  /// @brief  class enc_filebuf.
   template<typename _CharT>
     class enc_filebuf
     : public std::basic_filebuf<_CharT, enc_char_traits<_CharT> >
index cc229728fa8ab95e94ba7a35f719997471c56727..b9cfc0c13f537d0e39488b3c96edfd64879d0260 100644 (file)
@@ -41,7 +41,6 @@
 namespace __gnu_cxx
 {
   /**
-   *  @class stdio_filebuf ext/stdio_filebuf.h <ext/stdio_filebuf.h>
    *  @brief Provides a layer of compatibility for C/POSIX.
    *
    *  This GNU extension provides extensions for working with standard C
index ca845431a112699948834434859fbfdafb16d860..ee51488e5b75245fc220edb6df52595d273d44d8 100644 (file)
@@ -46,7 +46,7 @@
 
 namespace __gnu_cxx
 {
-  /// @brief  Class stdio_sync_filebuf.
+  /// @brief  class stdio_sync_filebuf.
   template<typename _CharT, typename _Traits = std::char_traits<_CharT> >
     class stdio_sync_filebuf : public std::basic_streambuf<_CharT, _Traits>
     {
index f962a2b202acfa98847888895a148856f7cce1b1..7ce5c0014afebdade99a9b631697d840b3a9acd5 100644 (file)
@@ -76,37 +76,20 @@ namespace std
       typedef typename traits_type::pos_type           pos_type;
       typedef typename traits_type::off_type           off_type;
 
-      //@{
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       typedef basic_streambuf<char_type, traits_type>          __streambuf_type;
       typedef basic_filebuf<char_type, traits_type>     __filebuf_type;
       typedef __basic_file<char>                       __file_type;
       typedef typename traits_type::state_type          __state_type;
       typedef codecvt<char_type, char, __state_type>    __codecvt_type;
-      //@}
 
       friend class ios_base; // For sync_with_stdio.
 
     protected:
       // Data Members:
       // MT lock inherited from libio or other low-level io library.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __c_lock                 _M_lock;
 
       // External buffer.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __file_type              _M_file;
 
       /**
@@ -117,30 +100,15 @@ namespace std
       ios_base::openmode       _M_mode;
 
       // Beginning state type for codecvt.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __state_type             _M_state_beg;
 
       // During output, the state that corresponds to pptr(),
       // during input, the state that corresponds to egptr() and
       // _M_ext_next.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __state_type             _M_state_cur;
 
       // Not used for output. During input, the state that corresponds
       // to eback() and _M_ext_buf.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __state_type             _M_state_last;
 
       /**
@@ -160,11 +128,6 @@ namespace std
       size_t                   _M_buf_size;
 
       // Set iff _M_buf is allocated memory from _M_allocate_internal_buffer.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       bool                     _M_buf_allocated;
 
       /**
@@ -316,24 +279,13 @@ namespace std
       close() throw();
 
     protected:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       void
       _M_allocate_internal_buffer();
 
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       void
       _M_destroy_internal_buffer() throw();
 
       // [27.8.1.4] overridden virtual functions
-      // [documentation is inherited]
       virtual streamsize
       showmanyc();
 
@@ -342,11 +294,9 @@ namespace std
       // charater from the real input source when the buffer is empty.
       // Buffered input uses underflow()
 
-      // [documentation is inherited]
       virtual int_type
       underflow();
 
-      // [documentation is inherited]
       virtual int_type
       pbackfail(int_type __c = _Traits::eof());
 
@@ -357,21 +307,11 @@ namespace std
       // character c.
       // 27.5.2.4.5
       // Consume some sequence of the characters in the pending sequence.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       virtual int_type
       overflow(int_type __c = _Traits::eof());
 
       // Convert internal byte sequence to external, char-based
       // sequence via codecvt.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       bool
       _M_convert_to_external(char_type*, streamsize);
 
@@ -390,47 +330,31 @@ namespace std
       virtual __streambuf_type*
       setbuf(char_type* __s, streamsize __n);
 
-      // [documentation is inherited]
       virtual pos_type
       seekoff(off_type __off, ios_base::seekdir __way,
              ios_base::openmode __mode = ios_base::in | ios_base::out);
 
-      // [documentation is inherited]
       virtual pos_type
       seekpos(pos_type __pos,
              ios_base::openmode __mode = ios_base::in | ios_base::out);
 
       // Common code for seekoff and seekpos
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       pos_type
       _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state);
 
-      // [documentation is inherited]
       virtual int
       sync();
 
-      // [documentation is inherited]
       virtual void
       imbue(const locale& __loc);
 
-      // [documentation is inherited]
       virtual streamsize
       xsgetn(char_type* __s, streamsize __n);
 
-      // [documentation is inherited]
       virtual streamsize
       xsputn(const char_type* __s, streamsize __n);
 
       // Flushes output buffer, then writes unshift sequence.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       bool
       _M_terminate_output();
 
@@ -491,11 +415,6 @@ namespace std
       typedef basic_istream<char_type, traits_type>    __istream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __filebuf_type   _M_filebuf;
 
     public:
@@ -620,11 +539,6 @@ namespace std
       typedef basic_ostream<char_type, traits_type>    __ostream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __filebuf_type   _M_filebuf;
 
     public:
@@ -753,11 +667,6 @@ namespace std
       typedef basic_iostream<char_type, traits_type>   __iostream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __filebuf_type   _M_filebuf;
 
     public:
index fc4c42a3c7892c3cbfcd21c8e1e268faf29943ab..07be5f9d20ca8843d83c395cba45c66422f96d16 100644 (file)
@@ -73,16 +73,9 @@ namespace std
       typedef typename traits_type::pos_type           pos_type;
       typedef typename traits_type::off_type           off_type;
 
-      //@{
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       typedef basic_streambuf<char_type, traits_type>          __streambuf_type;
       typedef basic_string<char_type, _Traits, _Alloc>         __string_type;
       typedef typename __string_type::size_type                __size_type;
-      //@}
 
     protected:
       /**
@@ -93,11 +86,6 @@ namespace std
       ios_base::openmode       _M_mode;
 
       // Data Members:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __string_type            _M_string;
 
     public:
@@ -169,11 +157,6 @@ namespace std
 
     protected:
       // Common initialization code goes here.
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       void
       _M_stringbuf_init(ios_base::openmode __mode)
       {
@@ -185,15 +168,12 @@ namespace std
        _M_sync(const_cast<char_type*>(_M_string.data()), 0, __len);
       }
 
-      // [documentation is inherited]
       virtual int_type
       underflow();
 
-      // [documentation is inherited]
       virtual int_type
       pbackfail(int_type __c = traits_type::eof());
 
-      // [documentation is inherited]
       virtual int_type
       overflow(int_type __c = traits_type::eof());
 
@@ -227,12 +207,10 @@ namespace std
        return this;
       }
 
-      // [documentation is inherited]
       virtual pos_type
       seekoff(off_type __off, ios_base::seekdir __way,
              ios_base::openmode __mode = ios_base::in | ios_base::out);
 
-      // [documentation is inherited]
       virtual pos_type
       seekpos(pos_type __sp,
              ios_base::openmode __mode = ios_base::in | ios_base::out);
@@ -243,11 +221,6 @@ namespace std
       // Assumes: contents of _M_string and internal buffer match exactly.
       // __i == _M_in_cur - _M_in_beg
       // __o == _M_out_cur - _M_out_beg
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       void
       _M_sync(char_type* __base, __size_type __i, __size_type __o)
       {
@@ -320,11 +293,6 @@ namespace std
       typedef basic_istream<char_type, traits_type>    __istream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __stringbuf_type _M_stringbuf;
 
     public:
@@ -438,11 +406,6 @@ namespace std
       typedef basic_ostream<char_type, traits_type>    __ostream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __stringbuf_type _M_stringbuf;
 
     public:
@@ -556,11 +519,6 @@ namespace std
       typedef basic_iostream<char_type, traits_type>   __iostream_type;
 
     private:
-      /**
-       *  @if maint
-       *  @doctodo
-       *  @endif
-      */
       __stringbuf_type _M_stringbuf;
 
     public:
index eed17767cc0afc61164a94ac91379476f4015210..ef59ecc33a3c88b57854562e4c3ce8506af832f6 100644 (file)
@@ -37,8 +37,8 @@
  *  in your programs, rather than any of the "st[dl]_*.h" implementation files.
  */
 
-#ifndef _CLIBXX_STREAMBUF
-#define _CLIBXX_STREAMBUF 1
+#ifndef _GLIBXX_STREAMBUF
+#define _GLIBXX_STREAMBUF 1
 
 #pragma GCC system_header
 
index bf7dca7ec10a172874564058a2faebff0962a69b..ce1ad2278f472e3fafae6ab3170845e78195abe7 100644 (file)
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
+/** @file 
+ *  This is a TR1 C++ Library header. 
+ */
+
 #ifndef _ARRAY
 #define _ARRAY 1
 
@@ -40,8 +44,8 @@ namespace std
 {
 namespace tr1
 {
-  /// @brief  [6.2.2] Class template array template
-  // Requires complete type _Tp.
+  /// @brief  struct array [6.2.2].
+  /// NB: Requires complete type _Tp.
   template<typename _Tp, size_t _Nm = 1>
     struct array
     {
@@ -190,7 +194,7 @@ namespace tr1
    operator>=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
    { return !(__one < __two); }
 
-  // [6.2.2.2] Specialized algorithms.
+  // Specialized algorithms [6.2.2.2].
  template<typename _Tp, size_t _Nm>
    void
    swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two)
index a7e29d8be26cfa67d83da8578c06200ca4fc97fc..9a6dfa8f8682660d96525f553a03b71a00f2107a 100644 (file)
 
 // This header is automatically generated: see maketuple.c for details.
 
+/** @file 
+ *  This is a TR1 C++ Library header. 
+ */
+
 #ifndef _TUPLE
 #define _TUPLE 1
 
@@ -35,7 +39,6 @@ namespace tr1
   // when the tuple is not maximum possible size.
   struct _NullClass { };
 
-  /// @brief  Foward definition of the tuple class.
   template<typename _Tp0 = _NullClass, typename _Tp1 = _NullClass,
           typename _Tp2 = _NullClass, typename _Tp3 = _NullClass,
           typename _Tp4 = _NullClass, typename _Tp5 = _NullClass,
@@ -43,7 +46,7 @@ namespace tr1
           typename _Tp8 = _NullClass, typename _Tp9 = _NullClass>
     class tuple;
 
-  /// @brief  Gives the type of the ith element of a given tuple type.
+  /// Gives the type of the ith element of a given tuple type.
   template<int __i, typename _Tp>
     struct tuple_element;
 
@@ -110,6 +113,7 @@ namespace tr1
                                  _Tp7, _Tp8, _Tp9> >
     { typedef _Tp8 type; };
 
+  /// @brief  class tuple_element
   template<typename _Tp0, typename _Tp1, typename _Tp2, typename _Tp3,
           typename _Tp4, typename _Tp5, typename _Tp6, typename _Tp7,
           typename _Tp8, typename _Tp9>
@@ -117,7 +121,7 @@ namespace tr1
                                  _Tp7, _Tp8, _Tp9> >
     { typedef _Tp9 type; };
 
-  /// @brief  Finds the size of a given tuple type.
+  /// Finds the size of a given tuple type.
   template<typename _Tp>
     struct tuple_size;
 
@@ -181,6 +185,7 @@ namespace tr1
                            _Tp8,  _NullClass> >
     { static const int value = 9; };
 
+  /// @brief  class tuple_size
   template<typename _Tp0, typename _Tp1, typename _Tp2, typename _Tp3,
           typename _Tp4, typename _Tp5, typename _Tp6, typename _Tp7,
           typename _Tp8, typename _Tp9>
@@ -821,6 +826,7 @@ namespace tr1
         friend class tuple;
   };
 
+  /// @brief  Template class tuple
   template<typename _Tp0, typename _Tp1, typename _Tp2, typename _Tp3,
           typename _Tp4, typename _Tp5, typename _Tp6, typename _Tp7,
           typename _Tp8, typename _Tp9>