anna_declare_enum(Counter);
};
- /* virtual */std::string getDefaultInternalCounterDescription(const int & counterType) const throw() { return Counter::asCString((Counter::_v)counterType); }
+ /* virtual */std::string getDefaultInternalCounterDescription(const int & counterType) const { return Counter::asCString((Counter::_v)counterType); }
// map stack id with a scope id
- void createStackCounterScope(int /* scope id */, unsigned int /* stack id */) throw(anna::RuntimeException);
+ void createStackCounterScope(int /* scope id */, unsigned int /* stack id */) noexcept(false);
// translate message code into offset and invoke parent class count method. The message applicationId will be used as stack id
// resultCode shall be -1 for non-answers
- void count (int messageCode, int resultCode, unsigned int stackId, const int & type, const int & amount = 1) throw(anna::RuntimeException);
+ void count (int messageCode, int resultCode, unsigned int stackId, const int & type, const int & amount = 1) noexcept(false);
// Number of different counter types for each message
- int getCounterTypes() const throw() { return a_counter_types; }
+ int getCounterTypes() const { return a_counter_types; }
// -1 if multistack
- int monoStackScopeId() const throw() {
+ int monoStackScopeId() const {
return ((a_stackMap.size() != 1) ? -1 : a_stackMap.begin()->second);
}