17 WinStatsMonitor::MenuDef::
18 MenuDef(
int thread_index,
int collector_index,
bool show_level) :
19 _thread_index(thread_index),
20 _collector_index(collector_index),
21 _show_level(show_level)
28 bool WinStatsMonitor::MenuDef::
29 operator < (
const MenuDef &other)
const {
30 if (_thread_index != other._thread_index) {
31 return _thread_index < other._thread_index;
33 if (_collector_index != other._collector_index) {
34 return _collector_index < other._collector_index;
36 return (
int)_show_level < (int)other._show_level;