System::Collections::Generic::KeyIterator 类
KeyIterator class
Dictionary iterator that provides key access.
template<typename Dict>class KeyIterator : public System::Details::NativeIteratorWrapperBase<Dict::map_t::key_type, Dict::map_t::const_iterator>,
private System::Details::IteratorPointerUpdater<Dict::map_t::key_type, false>
| 参数 | 描述 |
|---|---|
| Dict | Dictionary 类。 |
方法
| 方法 | 描述 |
|---|---|
| CloneIterator() const override | 克隆当前迭代器。 |
| DecrementIterator() override | 将迭代器向后移动一步。 |
| IncrementIterator() override | 将迭代器向前移动一步。 |
| KeyIterator(typename Dict::map_t::const_iterator&&, typename Dict::map_t::const_iterator&&) | 构造函数。 |
| KeyIterator(const typename Dict::map_t::const_iterator&, const typename Dict::map_t::const_iterator&) | 构造函数。 |
| KeyIterator(KeyIterator&&) | 移动构造函数。 |
| ShiftIteratorBy(std::ptrdiff_t) override | 将迭代器按指定的步数移动。 |
| virtual ~KeyIterator() | 析构函数。 |
另见
- Namespace System::Collections::Generic
- Library Aspose.Font for C++