2 #ifndef JAWS_CACHE_MANAGER_H
3 #define JAWS_CACHE_MANAGER_H
7 #include "JAWS/Cache_Manager_T.h"
9 class JAWS_String_Hash_Functor
12 JAWS_String_Hash_Functor (const char *s
);
13 operator unsigned long () const;
19 class JAWS_String_Equal_Functor
22 JAWS_String_Equal_Functor (const char *s1
, const char *s2
);
23 operator int () const;
29 class JAWS_Strdup_String
32 JAWS_Strdup_String ();
33 JAWS_Strdup_String (const char *s
);
34 JAWS_Strdup_String (const JAWS_Strdup_String
&s
);
35 ~JAWS_Strdup_String ();
37 operator const char * () const;
38 void operator = (const char *s
);
39 void operator = (const JAWS_Strdup_String
&s
);
46 typedef JAWS_Cache_Manager
<JAWS_Strdup_String
,
47 JAWS_Referenced_Cache_Object_Factory
,
48 JAWS_String_Hash_Functor
,
49 JAWS_String_Equal_Functor
>
50 JAWS_String_Referenced_Cache_Manager
;
52 typedef JAWS_Cache_Manager
<JAWS_Strdup_String
,
53 JAWS_Counted_Cache_Object_Factory
,
54 JAWS_String_Hash_Functor
,
55 JAWS_String_Equal_Functor
>
56 JAWS_String_Counted_Cache_Manager
;
59 #endif /* JAWS_CACHE_MANAGER_H */