YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
基于 ISO C 标准库的流只读迭代器。 更多...
#include <cstdio.h>
Public 类型 | |
typedef byte | char_type |
typedef std::FILE | istream_type |
Public 成员函数 | |
ifile_iterator () | |
无参数构造。 | |
ifile_iterator (istream_type &s) | |
构造:使用流引用。 | |
ifile_iterator (const ifile_iterator &)=default | |
复制构造:默认实现。 | |
~ifile_iterator ()=default | |
reference | operator* () const |
pointer | operator-> () const |
ifile_iterator & | operator++ () |
ifile_iterator | operator++ (int) |
istream_type * | get_stream () const |
Protected 类型 | |
typedef std::iterator < std::input_iterator_tag, byte, ptrdiff_t, const byte *, const byte & > | traits_type |
Private 属性 | |
istream_type * | stream |
流指针。 | |
char_type | value |
友元 | |
bool | operator== (const ifile_iterator &x, const ifile_iterator &y) |
typedef std::FILE ystdex::ifile_iterator::istream_type |
|
protected |
|
inline |
|
inline |
|
inlinedefault |
复制构造:默认实现。
|
default |
|
inline |
ifile_iterator & ystdex::ifile_iterator::operator++ | ( | ) |
在文件 cstdio.cpp 第 139 行定义.
参考 stream,value,yassume , 以及 YB_UNLIKELY.
|
inline |
|
friend |
|
private |
|
private |
参考自 operator++().