YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
YSLib::IO::Path::iterator类 参考

#include <yfilesys.h>

类 YSLib::IO::Path::iterator 继承关系图:
YSLib::IO::Path::iterator 的协作图:

Public 成员函数

 iterator (const value_type &p)
 构造:使用值引用。
 
 iterator (const iterator &i)
 复制构造。
 
iterator & operator++ ()
 迭代:向后遍历。
 
iterator operator++ (int)
 迭代:向后遍历。
 
iterator & operator-- ()
 迭代:向前遍历。
 
iterator operator-- (int)
 迭代:向前遍历。
 
bool operator== (const iterator &i) const
 比较:相等关系。
 
bool operator!= (const iterator &i) const
 比较:不等关系。
 
value_type operator* () const
 间接访问。
 
const value_type * GetPtr () const ynothrow
 
StringType::size_type GetPosition () const ynothrow
 

Private 成员函数

 iterator ()
 无参数构造。
 

Private 属性

const value_type * ptr
 
StringType::size_type n
 

详细描述

在文件 yfilesys.h 第 78 行定义.

构造及析构函数说明

YSLib::IO::Path::iterator::iterator ( )
inlineprivate

无参数构造。

注解
空迭代器。仅为兼容标准迭代器需求。

在文件 yfilesys.h 第 88 行定义.

YSLib::IO::Path::iterator::iterator ( const value_type &  p)
inline

构造:使用值引用。

在文件 yfilesys.h 第 96 行定义.

YSLib::IO::Path::iterator::iterator ( const iterator &  i)
inline

复制构造。

在文件 yfilesys.h 第 102 行定义.

成员函数说明

StringType::size_type YSLib::IO::Path::iterator::GetPosition ( ) const
inline

在文件 yfilesys.h 第 161 行定义.

const value_type* YSLib::IO::Path::iterator::GetPtr ( ) const
inline

在文件 yfilesys.h 第 160 行定义.

bool YSLib::IO::Path::iterator::operator!= ( const iterator &  i) const
inline

比较:不等关系。

在文件 yfilesys.h 第 149 行定义.

Path::iterator::value_type Path::iterator::operator* ( ) const

间接访问。

在文件 yfilesys.cpp 第 60 行定义.

参考 YSLib::IO::FS_Now().

函数调用图:

Path::iterator & Path::iterator::operator++ ( )

迭代:向后遍历。

在文件 yfilesys.cpp 第 44 行定义.

iterator YSLib::IO::Path::iterator::operator++ ( int  )
inline

迭代:向后遍历。

注解
构造新迭代器并返回。

在文件 yfilesys.h 第 116 行定义.

Path::iterator & Path::iterator::operator-- ( )

迭代:向前遍历。

在文件 yfilesys.cpp 第 52 行定义.

iterator YSLib::IO::Path::iterator::operator-- ( int  )
inline

迭代:向前遍历。

注解
构造新迭代器并返回。

在文件 yfilesys.h 第 131 行定义.

bool YSLib::IO::Path::iterator::operator== ( const iterator &  i) const
inline

比较:相等关系。

在文件 yfilesys.h 第 140 行定义.

参考 n , 以及 ptr.

类成员变量说明

StringType::size_type YSLib::IO::Path::iterator::n
private

在文件 yfilesys.h 第 82 行定义.

参考自 operator==().

const value_type* YSLib::IO::Path::iterator::ptr
private

在文件 yfilesys.h 第 81 行定义.

参考自 operator==().


该类的文档由以下文件生成: