Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
46 explicit SelectStatement(
const std::string&
s,
long typ ) : m_select(
s ), m_isActive( false ), m_type( typ ) {}
48 explicit SelectStatement(
const std::string&
s ) : m_select(
s ), m_isActive( false ), m_type( STRING ) {}
54 long type()
const override {
return m_type; }
56 const std::string&
criteria()
const override {
return m_select; }
60 ( m_select.length() > 0 ) ? m_type |= STRING : m_type &= ~STRING;
63 void setActive(
bool flag =
true )
override { m_isActive = flag; }
65 bool isActive()
const override {
return m_isActive; }
67 virtual bool operator()(
void* )
override {
return true; }
virtual ~SelectStatement()
Standard Destructor.
SelectStatement(const std::string &s, long typ)
Standard Constructor initializing select string.
std::string m_select
Select string.
SelectStatement(const std::string &s)
Standard Constructor initializing select string.
bool isActive() const override
Check if selection is active.
Class of a selection statement.
void setActive(bool flag=true) override
Change activity flag.
long type() const override
Access the type of the object.
virtual bool operator()(void *) override
Stupid default implementation.
bool m_isActive
Activation flag.
void setCriteria(const std::string &crit) override
Set the type.
const std::string & criteria() const override
Access the selection string.
Base class used to implement the interfaces.
long m_type
Type identifier.
SelectStatement()
Standard Constructor initializing function call.