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