9#include <boost/python/class.hpp>
10#include <boost/python/return_by_value.hpp>
18 class_<LogFilter, boost::noncopyable>(
20 init<const Property *>((arg(
"self"), arg(
"property")),
"Creates a log filter using the log to be filtered"))
21 .def(
"data", &
LogFilter::data, arg(
"self"), return_value_policy<return_by_value>(),
22 "Returns a time series property filtered on current filter property")
24 .def(
"addFilter", &
LogFilter::addFilter, (arg(
"self"), arg(
"filter")),
"Adds a filter to the current list");
This class is for filtering TimeSeriesProperty data.
void addFilter(const TimeSeriesProperty< bool > &filter)
Adds a filter using boolean AND.
TimeSeriesProperty< double > * data() const
Returns reference to the filtered property.
Base class for properties.