getCount Member Function

Returns the current value of an Event object counter. Once the current value is obtained, the recordEvent member function may be called to increase the value.

Syntax
unsigned __int64 getCount(void);
Parameters
None.
Example
Listener *listener = new Listener("sampleApp", "4.0", NULL, false);
Container *store = listener->lookupContainer("storeName");
Event *creations = store->lookupEvent("document creations");
unsigned __int64 currentCount = creations->getCount();
...
See Also
Container Class
Event Class
Listener Class
recordEvent Member Function