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_); }
44 int columnTextSize(
const char *str);
46 void invalidateColorized() { colorized_ =
false; }
47 void invalidateRecord() { col_text_cache_.remove(fdata_->num); }
48 static void invalidateAllRecords() { col_text_cache_.clear(); }
52 static void setMaxCache(
int cost) { col_text_cache_.setMaxCost(cost); }
54 static void resetColorization() { rows_color_ver_++; }
56 inline int lineCount() {
return lines_; }
57 inline int lineCountChanged() {
return line_count_changed_; }
61 static QCache<uint32_t, QStringList> col_text_cache_;
65 bool line_count_changed_;
66 static QMap<int, int> cinfo_column_;
69 static unsigned int rows_color_ver_;
70 unsigned int color_ver_;
74 unsigned int conv_index_;
78 void dissect(
capture_file *cap_file,
bool dissect_columns,
bool dissect_color =
false);