37 const QString columnString(
capture_file *cap_file,
int column,
bool colorized =
false);
38 frame_data *frameData()
const {
return fdata_; }
40 static int textColumn(
int column) {
return cinfo_column_.value(column, -1); }
41 bool colorized() {
return colorized_ && (color_ver_ == rows_color_ver_); }
51 int columnTextSize(
const char *str);
53 void invalidateColorized() { colorized_ =
false; }
54 void invalidateRecord() { col_text_cache_.remove(fdata_->num); }
55 static void invalidateAllRecords() { col_text_cache_.clear(); }
59 static void setMaxCache(
int cost) { col_text_cache_.setMaxCost(cost); }
61 static void resetColorization() { rows_color_ver_++; }
63 inline int lineCount() {
return lines_; }
64 inline int lineCountChanged() {
return line_count_changed_; }
65 inline void setRow(
int row) { row_ = row; }
66 inline int row()
const {
return row_; }
67 inline uint32_t expertSeverity()
const {
return expert_severity_; }
71 static QCache<uint32_t, QStringList> col_text_cache_;
75 bool line_count_changed_;
76 static QMap<int, int> cinfo_column_;
79 static unsigned int rows_color_ver_;
80 unsigned int color_ver_;
84 unsigned int conv_index_;
88 uint32_t expert_severity_;
91 GSList *color_filters_;
92 int color_filter_count_;
94 void dissect(
capture_file *cap_file,
bool dissect_columns,
bool dissect_color =
false);