summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-21 15:57:12 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-21 15:57:12 (GMT)
commit34c7c1b78d347f30ecb5124db7f365ffb385b5a1 (patch)
tree0df921f74f1540b0b7471cfd34ba4426628e3e3e /Source/cmCacheManager.cxx
parent38dfd36fdaad9c7e3767189b23d74c4953614139 (diff)
downloadCMake-34c7c1b78d347f30ecb5124db7f365ffb385b5a1.zip
CMake-34c7c1b78d347f30ecb5124db7f365ffb385b5a1.tar.gz
CMake-34c7c1b78d347f30ecb5124db7f365ffb385b5a1.tar.bz2
made CMakeLib shared on windows
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx15
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;
+}