diff options
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 59e776c..154b0ae 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -102,6 +102,12 @@ public: ///! Remove an entry from the cache void RemoveCacheEntry(const char* key); + ///! Break up a line like VAR:type="value" into var, type and value + static bool ParseEntry(const char* entry, + std::string& var, + std::string& value, + CacheEntryType& type); + protected: ///! Add an entry into the cache void AddCacheEntry(const char* key, const char* value, |