getCount Member Function
Returns the current value of an Event object counter. After the current value is obtained, the recordEvent member function can 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();
...