WvStreams
debian/libwvstreams-dev/usr/include/wvstreams/wvstringcache.h
1/* -*- Mode: C++ -*-
2 * Worldvisions Weaver Software:
3 * Copyright (C) 2005 Net Integration Technologies, Inc.
4 *
5 * Definition for the WvStringCache class.
6 */
7#ifndef __WVSTRINGCACHE_H
8#define __WVSTRINGCACHE_H
9
10#include "wvstringtable.h"
11
33{
34 static WvStringTable *t;
35 static int refcount;
36 static size_t clean_threshold;
37
38public:
41
44
46 void clean();
47};
48
49
50#endif // __WVSTRINGCACHE_H
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvString get(WvStringParm s)
Get a shared string corresponding to 's'.
void clean()
Remove any now-unused strings from the cache.
WvString is an implementation of a simple and efficient printable-string class.