diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-21 19:26:46 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-21 19:26:46 +0000 |
commit | 9e9254f32711d4ecf1e3f71b54982eaf6845388e (patch) | |
tree | 760551d54bece3e52d2f1cd3d05b26d9c1c1439b /ace/Filecache.h | |
parent | 4ecd5d0edb663fdba4935912ccdbbf79a66482ae (diff) | |
download | ATCD-9e9254f32711d4ecf1e3f71b54982eaf6845388e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Filecache.h')
-rw-r--r-- | ace/Filecache.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ace/Filecache.h b/ace/Filecache.h index b35b99637f4..259c8131f6a 100644 --- a/ace/Filecache.h +++ b/ace/Filecache.h @@ -28,8 +28,8 @@ ACE_DECLARE_EXPORT(class, ACE_Filecache); ACE_DECLARE_EXPORT(class, ACE_Filecache_Handle); class ACE_Filecache_Object; - class ACE_Filecache_Handle +{ // = TITLE // Abstraction over a real file. This is meant to be the entry // point into the Cached Virtual Filesystem. @@ -82,7 +82,6 @@ class ACE_Filecache_Handle // rather conservative, but for some reason it still ran into problems. // Since this design should be simpler, problems should be easier to spot. // -{ public: ACE_Filecache_Handle (const char *filename, int mapit = 1); @@ -155,12 +154,12 @@ typedef ACE_Hash_Map_Manager<ACE_CString, ACE_Filecache_Object *, ACE_Null_Mutex #endif /* ACE_HAS_TEMPLATE_SPECIALIZATION */ class ACE_Filecache +{ // = TITLE // A hash table holding the information about entry point into // the Cached Virtual Filesystem. On insertion, the reference // count is incremented. On destruction, reference count is // decremented. -{ public: static ACE_Filecache *instance (void); // Singleton pattern. @@ -226,15 +225,15 @@ private: }; class ACE_Filecache_Object +{ // = TITLE // Abstraction over a real file. This is what the Virtual // Filesystem contains. This class is not intended for general // consumption. Please consult a physician before attempting to // use this class. -{ +public: friend class ACE_Filecache; -public: ACE_Filecache_Object (const char *filename, ACE_SYNCH_RW_MUTEX &lock, int mapit = 1, |