Creates an Accumulator object for an Event object of the Listener. This function will create an Accumulator object only when that object does not already exist. If the object already exists, the existing object is returned.
CAUTION The application should not call delete on any objects returned by this function.
Accumulator *lookupAccumulator(const char *accumulatorName);
Accumulator *lookupAccumulator(const wchar_t *accumulatorName);
Listener *listener = new Listener("sampleApp", "4.0",
NULL, false);
Container *store = listener->lookupContainer("storeName");
Event *creations = store->lookupEvent("document creations");
Accumulator *numCreations = creations->lookupAccumulator("number of
document creations");
...