diff options
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 3d848c7..81b5337 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -536,3 +536,18 @@ bool cmCacheManager::IsAdvanced(const char* key) } return false; } + +bool cmCacheManager::CacheIterator::IsAtEnd() +{ + return position == m_Container.m_Cache.end(); +} + +void cmCacheManager::CacheIterator::Begin() +{ + position = m_Container.m_Cache.begin(); +} + +void cmCacheManager::CacheIterator::Next() +{ + ++position; +} |