12 #ifndef _UtlRscStore_h_ 13 #define _UtlRscStore_h_ 53 enum StoreInitSize { RSC_STORE_INIT_SIZE = 1000000 };
57 UtlRscStore(
int initialStoreSize = RSC_STORE_INIT_SIZE);
66 OsStatus insert(
int RscId,
char* pRsc);
80 int getActiveRscs(
char* activeRscs[],
int size);
87 void getStoreStats(
unsigned& nInserts,
unsigned& nRemoves)
const;
90 int numEntries(
void)
const;
105 unsigned long mNumInserts;
106 unsigned long mNumRemoves;
108 OsRWMutex mDictRWLock;
109 UtlRscStore(
const UtlRscStore& rUtlRscStore);
112 UtlRscStore& operator=(
const UtlRscStore& rhs);
116 static bool sIsTested;
124 void testManipulators();
125 void testAccessors();
134 #endif // _UtlRscStore_h_ OsStatus
Definition: OsStatus.h:27
Definition: UtlHashMap.h:46
int UtlBoolean
Definition: UtlDefs.h:41