17 GtkStatsMonitor::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),
29 bool GtkStatsMonitor::MenuDef::
30 operator < (
const MenuDef &other)
const {
31 if (_thread_index != other._thread_index) {
32 return _thread_index < other._thread_index;
34 if (_collector_index != other._collector_index) {
35 return _collector_index < other._collector_index;
37 return (
int)_show_level < (int)other._show_level;