Index
There are three addition operators, and three += operators. Add a string reference to the manager. There are three equality operators, overloaded for efficiency. Registers a string with the shared string table. Associates a declared wrapper with a table manager. Return how many bytes are used by the shared string manager. Returns a 0-terminated C-style string. Test for case-insensitive equality against /rhs/. Instructions for Unix and Windows environments. Construct a new hash table implementation of the shared string manager. Initializes shared string to /str/. Initialize a shared string to the value of /rhs/. Count the number of times a string is referenced. Declares a shared string wrapper. Initializes shared string to /str/; defaults to the empty string if no string is specified. Unregisters the string with the manager. Remove a string reference from the manager. To do ... Unregisters the string’s value with the manager. Dump the shared string table to an output stream. There are three equality operators, overloaded for efficiency. Get an entry in the shared string table. Default number of buckets for a hash table. Defines the interface to a hash function. Get the length of the stored string. There are three less-than operators, overloaded for efficiency. Returns the number of unique strings in the table. Total number of (unique) strings Get an entry in the table for a given string, creating if necessary. Resize the array of buckets, and rehash all table contents into the new buckets. An implementation of shared strings in C++. SharedStrings, once set up as defined in the Shared String Library documentation, can be used almost just like STL strings. The StringManager manages a collection of SharedStringEntries. Returns a constant reference to the string’s value. Points to the string in the manager. The StringManager is the abstract table storing all the shared strings. Decrease the reference count of a shared string. Covers usage and linking of the library. Here is a list of the major changes/additions to each version of the shared string library. |