ENH: clean up comments some

This commit is contained in:
Bill Hoffman 2001-02-16 15:34:09 -05:00
parent bf3ecf8b62
commit f08fc5ae66
1 changed files with 6 additions and 15 deletions

View File

@ -35,28 +35,19 @@ public:
*/ */
enum CacheEntryType{ BOOL=0, PATH, STRING }; enum CacheEntryType{ BOOL=0, PATH, STRING };
static CacheEntryType StringToType(const char*); static CacheEntryType StringToType(const char*);
/** //! Singleton pattern get instance of the cmCacheManager.
* Singleton pattern get instance of the cmCacheManager.
*/
static cmCacheManager* GetInstance(); static cmCacheManager* GetInstance();
/**
* Load a cache from file //! Load a cache from file
*/
bool LoadCache(const char* path); bool LoadCache(const char* path);
/** //! Save the cache to a file
* Save the cache to a file
*/
bool SaveCache(const char* path); bool SaveCache(const char* path);
/** //! Add an entry into the cache
* Add an entry into the cache
*/
void AddCacheEntry(const char* key, const char* value, CacheEntryType type); void AddCacheEntry(const char* key, const char* value, CacheEntryType type);
/** //! Get a value from the cache given a key
* Get a value from the cache given a key
*/
const char* GetCacheValue(const char* key); const char* GetCacheValue(const char* key);
private: private:
static cmCacheManager* s_Instance; static cmCacheManager* s_Instance;