Nebula
Loading...
Searching...
No Matches
Db::FilterSet::Token Class Reference

#include <filterset.h>

Public Types

enum  Type {
  Equal , NotEqual , Greater , Less ,
  GreaterEqual , LessEqual , And , Or ,
  Not , Block , Root
}
 token types More...
 

Public Member Functions

 Token ()
 default constructor
 
 Token (Type t)
 constructor with type only (for And/Or)
 
 Token (Type t, const Attr::Attribute &attr)
 constructor with type and attribute
 
Type GetType () const
 get type
 
const Attr::AttributeGetAttr () const
 get attribute
 

Private Attributes

Type type
 
Attr::Attribute attr
 

Member Enumeration Documentation

◆ Type

token types

Enumerator
Equal 
NotEqual 
Greater 
Less 
GreaterEqual 
LessEqual 
And 
Or 
Not 
Block 
Root 

Constructor & Destructor Documentation

◆ Token() [1/3]

Db::FilterSet::Token::Token ( )
inline

default constructor

◆ Token() [2/3]

Db::FilterSet::Token::Token ( Type t)
inline

constructor with type only (for And/Or)

◆ Token() [3/3]

Db::FilterSet::Token::Token ( Type t,
const Attr::Attribute & attr )
inline

constructor with type and attribute

Member Function Documentation

◆ GetAttr()

const Attr::Attribute & Db::FilterSet::Token::GetAttr ( ) const
inline

get attribute

◆ GetType()

FilterSet::Token::Type Db::FilterSet::Token::GetType ( ) const
inline

get type

Member Data Documentation

◆ attr

Attr::Attribute Db::FilterSet::Token::attr
private

◆ type

Type Db::FilterSet::Token::type
private

The documentation for this class was generated from the following file: