1 #ifndef CARMA_DBMS_STRINGFILTER_H
2 #define CARMA_DBMS_STRINGFILTER_H
80 std::string
toString(
const std::string& tableName,
81 const std::string& columnName)
const;
87 virtual std::string
name()
const;
97 #endif // CARMA_DBMS_STRINGFILTER_H
abstract base class to represent an SQL query one component filter (part of a WHERE clause) ...
std::string toString(const std::string &tableName, const std::string &columnName) const
string representation of the filter.
virtual std::string name() const
get the class name for log messages etc.
abstract base class to represent a simple one component filter
virtual ~StringFilter()
destructor, derived classes may want to override
header that defines a number of common exceptions by including their header files.
StringFilter(const std::string &value, const SearchType &searchType)
constuctor
template to represent a one component string filter.
SearchType
type of search to perform
std::string getValue() const
get the value of the search
SearchType getSearchType() const
get the search type