Example #1
0
bool runtime_data::has_changed(transient_data_type record) const {
	if (files.empty())
		return true;
	BOOST_FOREACH(const std::string &s, files) {
		if (s == "any" || s == "all" || s == record.get_log())
			return true;
	}
	return false;
}
Example #2
0
bool runtime_data::has_changed(transient_data_type record) const {
	if (files.empty())
		return true;
	std::string log_lc = boost::to_lower_copy(record->get_log());
	BOOST_FOREACH(const std::string &s, files) {
		if (s == "any" || s == "all" || s == log_lc)
			return true;
	}
	return false;
}
Example #3
0
modern_filter::match_result runtime_data::process_item(filter_type &filter, transient_data_type record) {
	record->set_truncate(truncate_);
	return filter.match(record);
}