10 #ifndef KERNEL_SELECTSTATEMENT_H
11 #define KERNEL_SELECTSTATEMENT_H
50 : m_select(s), m_isActive(false), m_type(typ)
55 : m_select(s),m_isActive(false), m_type(STRING)
60 : m_isActive(false), m_type(FUNCTION)
77 (m_select.length() > 0) ? m_type |= STRING : m_type &= ~STRING;
99 #endif // KERNEL_SELECTSTATEMENT_H
SelectStatement()
Standard Constructor initializing function call.
virtual ~SelectStatement()
Standard Destructor.
SelectStatement(const std::string &s, long typ)
Standard Constructor initializing select string.
long type() const
Access the type of the object.
Base class used to implement the interfaces.
bool isActive() const
Check if selection is active.
virtual bool operator()(void *)
Stupid default implementation.
bool m_isActive
Activation flag.
void setCriteria(const std::string &crit)
Set the type.
void setActive(bool flag=true)
Change activity flag.
const std::string & criteria() const
Access the selection string.
long m_type
Type identifier.
Class of a selection statement.
std::string m_select
Select string.
SelectStatement(const std::string &s)
Standard Constructor initializing select string.