.TH "std::istreambuf_iterator< _CharT, _Traits >" 3cxx "Sun Jan 6 2013" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::istreambuf_iterator< _CharT, _Traits > \- .SH SYNOPSIS .br .PP .PP Inherits \fBstd::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _Distance \fBdifference_type\fP" .br .ti -1c .RI "typedef _Category \fBiterator_category\fP" .br .ti -1c .RI "typedef _Pointer \fBpointer\fP" .br .ti -1c .RI "typedef _Reference \fBreference\fP" .br .ti -1c .RI "typedef _Tp \fBvalue_type\fP" .br .in -1c .PP .RI "\fB\fP" .br .in +1c .in +1c .ti -1c .RI "typedef _CharT \fBchar_type\fP" .br .ti -1c .RI "typedef _Traits \fBtraits_type\fP" .br .ti -1c .RI "typedef _Traits::int_type \fBint_type\fP" .br .ti -1c .RI "typedef \fBbasic_streambuf\fP .br < _CharT, _Traits > \fBstreambuf_type\fP" .br .ti -1c .RI "typedef \fBbasic_istream\fP< _CharT, .br _Traits > \fBistream_type\fP" .br .in -1c .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fBistreambuf_iterator\fP () _GLIBCXX_USE_NOEXCEPT" .br .ti -1c .RI "\fBistreambuf_iterator\fP (const \fBistreambuf_iterator\fP &) noexcept=default" .br .ti -1c .RI "\fBistreambuf_iterator\fP (\fBistream_type\fP &__s) _GLIBCXX_USE_NOEXCEPT" .br .ti -1c .RI "\fBistreambuf_iterator\fP (\fBstreambuf_type\fP *__s) _GLIBCXX_USE_NOEXCEPT" .br .ti -1c .RI "bool \fBequal\fP (const \fBistreambuf_iterator\fP &__b) const " .br .ti -1c .RI "\fBchar_type\fP \fBoperator*\fP () const " .br .ti -1c .RI "\fBistreambuf_iterator\fP & \fBoperator++\fP ()" .br .ti -1c .RI "\fBistreambuf_iterator\fP \fBoperator++\fP (int)" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template __gnu_cxx::__enable_if .br < __is_char< _CharT2 > .br ::__value, _CharT2 * >::__type \fB__copy_move_a2\fP (\fBistreambuf_iterator\fP< _CharT2 >, \fBistreambuf_iterator\fP< _CharT2 >, _CharT2 *)" .br .ti -1c .RI "template __gnu_cxx::__enable_if .br < __is_char< _CharT2 > .br ::__value, \fBostreambuf_iterator\fP .br < _CharT2 > >::__type \fBcopy\fP (\fBistreambuf_iterator\fP< _CharT2 >, \fBistreambuf_iterator\fP< _CharT2 >, \fBostreambuf_iterator\fP< _CharT2 >)" .br .ti -1c .RI "template __gnu_cxx::__enable_if .br < __is_char< _CharT2 > .br ::__value, \fBistreambuf_iterator\fP .br < _CharT2 > >::__type \fBfind\fP (\fBistreambuf_iterator\fP< _CharT2 >, \fBistreambuf_iterator\fP< _CharT2 >, const _CharT2 &)" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass std::istreambuf_iterator< _CharT, _Traits >" Provides input iterator semantics for streambufs\&. .PP Definition at line 52 of file streambuf_iterator\&.h\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _CharT \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBchar_type\fP" .PP Public typedefs\&. .PP Definition at line 66 of file streambuf_iterator\&.h\&. .SS "template typedef _Distance \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::\fBdifference_type\fP\fC [inherited]\fP" .PP Distance between iterators is represented as this type\&. .PP Definition at line 126 of file stl_iterator_base_types\&.h\&. .SS "template typedef _Traits::int_type \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBint_type\fP" .PP Public typedefs\&. .PP Definition at line 68 of file streambuf_iterator\&.h\&. .SS "template typedef \fBbasic_istream\fP<_CharT, _Traits> \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBistream_type\fP" .PP Public typedefs\&. .PP Definition at line 70 of file streambuf_iterator\&.h\&. .SS "template typedef _Category \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::\fBiterator_category\fP\fC [inherited]\fP" .PP One of the \fBtag types\fP\&. .PP Definition at line 122 of file stl_iterator_base_types\&.h\&. .SS "template typedef _Pointer \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::\fBpointer\fP\fC [inherited]\fP" .PP This type represents a pointer-to-value_type\&. .PP Definition at line 128 of file stl_iterator_base_types\&.h\&. .SS "template typedef _Reference \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::\fBreference\fP\fC [inherited]\fP" .PP This type represents a reference-to-value_type\&. .PP Definition at line 130 of file stl_iterator_base_types\&.h\&. .SS "template typedef \fBbasic_streambuf\fP<_CharT, _Traits> \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBstreambuf_type\fP" .PP Public typedefs\&. .PP Definition at line 69 of file streambuf_iterator\&.h\&. .SS "template typedef _Traits \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBtraits_type\fP" .PP Public typedefs\&. .PP Definition at line 67 of file streambuf_iterator\&.h\&. .SS "template typedef _Tp \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::\fBvalue_type\fP\fC [inherited]\fP" .PP The type 'pointed to' by the iterator\&. .PP Definition at line 124 of file stl_iterator_base_types\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "template constexpr \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBistreambuf_iterator\fP ()\fC [inline]\fP" .PP Construct end of input stream iterator\&. .PP Definition at line 104 of file streambuf_iterator\&.h\&. .SS "template \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBistreambuf_iterator\fP (\fBistream_type\fP &__s)\fC [inline]\fP" .PP Construct start of input stream iterator\&. .PP Definition at line 114 of file streambuf_iterator\&.h\&. .SS "template \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::\fBistreambuf_iterator\fP (\fBstreambuf_type\fP *__s)\fC [inline]\fP" .PP Construct start of streambuf iterator\&. .PP Definition at line 118 of file streambuf_iterator\&.h\&. .SH "Member Function Documentation" .PP .SS "template bool \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::equal (const \fBistreambuf_iterator\fP< _CharT, _Traits > &__b) const\fC [inline]\fP" .PP Return true both iterators are end or both are not end\&. .PP Definition at line 174 of file streambuf_iterator\&.h\&. .SS "template \fBchar_type\fP \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::operator* () const\fC [inline]\fP" .PP Return the current character pointed to by iterator\&. This returns \fBstreambuf\&.sgetc()\fP\&. It cannot be assigned\&. NB: The result of \fBoperator*()\fP on an end of stream is undefined\&. .PP Definition at line 125 of file streambuf_iterator\&.h\&. .SS "template \fBistreambuf_iterator\fP& \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::operator++ ()\fC [inline]\fP" .PP Advance the iterator\&. Calls \fBstreambuf\&.sbumpc()\fP\&. .PP Definition at line 139 of file streambuf_iterator\&.h\&. .PP References std::basic_streambuf< _CharT, _Traits >::sbumpc()\&. .SS "template \fBistreambuf_iterator\fP \fBstd::istreambuf_iterator\fP< _CharT, _Traits >::operator++ (int)\fC [inline]\fP" .PP Advance the iterator\&. Calls \fBstreambuf\&.sbumpc()\fP\&. .PP Definition at line 154 of file streambuf_iterator\&.h\&. .PP References std::basic_streambuf< _CharT, _Traits >::sbumpc()\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.