|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
阅读记录。 更多...
#include <ReadingList.h>

Public 类型 | |
| typedef list< Bookmark > | ListType |
| 阅读记录列表类型。 | |
Public 成员函数 | |
| ReadingList () | |
| 构造:阅读迭代器指向阅读记录末尾。 | |
| DefDelCopyCtor(ReadingList) DefDelMoveCtor(ReadingList) explicit operator ValueNode pair< bool, bool > | CheckBoundary () |
| 检查操作可用性。 | |
| PDefH (void, Clear,) ImplExpr(reading_list.clear() | |
| 清除所有记录。 | |
| void | Insert (const IO::Path &, size_t) |
| 插入阅读记录。 | |
| Bookmark | Switch (bool) |
| 切换阅读记录。 | |
Public 属性 | |
| now_reading | |
Private 属性 | |
| ListType | reading_list |
| 阅读记录:书签项列表。 | |
| ListType::iterator | now_reading |
| 阅读迭代器:当前浏览项在阅读记录中的插入位置。 | |
| typedef list<Bookmark> ReadingList::ListType |
阅读记录列表类型。
在文件 ReadingList.h 第 94 行定义.
| ReadingList::ReadingList | ( | ) |
构造:阅读迭代器指向阅读记录末尾。
在文件 ReadingList.cpp 第 39 行定义.
| pair< bool, bool > ReadingList::CheckBoundary | ( | ) |
检查操作可用性。
在文件 ReadingList.cpp 第 54 行定义.
参考自 ShlTextReader::UpdateButtons().

| void ReadingList::Insert | ( | const IO::Path & | pth, |
| size_t | pos | ||
| ) |
插入阅读记录。
在文件 ReadingList.cpp 第 68 行定义.
参考自 ShlTextReader::Locate(),ShlTextReader::UpdateReadingList() , 以及 ShlTextReader::~ShlTextReader().

| ReadingList::PDefH | ( | void | , |
| Clear | |||
| ) |
清除所有记录。
| Bookmark ReadingList::Switch | ( | bool | is_prev | ) |
切换阅读记录。
| 是否后退。 |
后退或前进,同时移除该记录。
在文件 ReadingList.cpp 第 74 行定义.
参考自 ShlTextReader::UpdateReadingList().

|
private |
阅读迭代器:当前浏览项在阅读记录中的插入位置。
在文件 ReadingList.h 第 104 行定义.
| ReadingList::now_reading |
在文件 ReadingList.h 第 129 行定义.
|
private |
阅读记录:书签项列表。
在文件 ReadingList.h 第 100 行定义.