1 #ifndef CARMA_DBMS_TIMERANGEFILTER_H
2 #define CARMA_DBMS_TIMERANGEFILTER_H
58 =carma::dbms::FRAME_AVG,
59 const bool& includeTime1=
false,
60 const bool& includeTime2=
false,
61 const carma::dbms::TimeFilter::TimeColumnType colType
62 =carma::dbms::TimeFilter::FRAMECOUNT);
78 std::vector<const carma::dbms::TimeFilter *>
getChildren()
const;
85 virtual std::string
name()
const;
98 carma::dbms::TimeFilter::TimeColumnType colType_;
109 TimeRangeFilterException (
const char* msg,
110 const char* fileName = __FILE__,
111 const int lineNum = __LINE__)
112 : carma::util::ErrorException (msg, fileName, lineNum) {};
114 TimeRangeFilterException (
const std::string msg,
115 const char* fileName = __FILE__,
116 const int lineNum = __LINE__)
117 : carma::util::ErrorException (msg.c_str(), fileName, lineNum) {};
120 #endif // CARMA_DBMS_TIMERANGEFILTER_H
class to represent an SQL query multi-component filter (part of a WHERE clause) . ...
std::vector< const carma::dbms::TimeFilter * > getChildren() const
get the children of this filter.
Exception class for errors.
relationships between the monitor and dbms systems
carma::dbms::MonitorAverageType getAverageType() const
get the average type of the filter
MonitorAverageType
average type of the monitor[point,data file,table]
Exception class for errors The exception comes with a text string that can be printed or logged...
represents an SQL query time range filter (part of a WHERE clause This class represents a (closed) ti...
class to represent a simple time filter
std::string getColumnName() const
return the column name associated with the filter (frameCount or integrationID depeding on the averag...
virtual std::string name() const
get the class name for log messages etc.
represents an SQL query multi-component filter (part of a WHERE clause)