21 GtkStatsMonitor::MenuDef::
22 MenuDef(
int thread_index,
int collector_index,
bool show_level) :
23 _thread_index(thread_index),
24 _collector_index(collector_index),
25 _show_level(show_level),
35 bool GtkStatsMonitor::MenuDef::
36 operator < (
const MenuDef &other)
const {
37 if (_thread_index != other._thread_index) {
38 return _thread_index < other._thread_index;
40 if (_collector_index != other._collector_index) {
41 return _collector_index < other._collector_index;
43 return (
int)_show_level < (int)other._show_level;