strusAnalyzer  0.17
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
strus::analyzer::QueryTermExpression::Instruction Class Reference

Query instruction. More...

#include <queryTermExpression.hpp>

Public Types

enum  OpCode { Term, Operator }
 

Public Member Functions

 Instruction (OpCode opCode_, int idx_, std::size_t nofOperands_=0)
 
 Instruction (const Instruction &o)
 
OpCode opCode () const
 Opcode identifier. More...
 
int idx () const
 Index of the element in the associated list to retrieve with term(std::size_t) or the operator group id. More...
 
int nofOperands () const
 Number of operands. More...
 

Static Public Member Functions

static const char * opCodeName (OpCode i)
 

Friends

class QueryTermExpression
 

Detailed Description

Query instruction.

Member Enumeration Documentation

Enumerator
Term 
Operator 

Constructor & Destructor Documentation

strus::analyzer::QueryTermExpression::Instruction::Instruction ( OpCode  opCode_,
int  idx_,
std::size_t  nofOperands_ = 0 
)
inline
strus::analyzer::QueryTermExpression::Instruction::Instruction ( const Instruction o)
inline

Member Function Documentation

int strus::analyzer::QueryTermExpression::Instruction::idx ( ) const
inline

Index of the element in the associated list to retrieve with term(std::size_t) or the operator group id.

int strus::analyzer::QueryTermExpression::Instruction::nofOperands ( ) const
inline

Number of operands.

OpCode strus::analyzer::QueryTermExpression::Instruction::opCode ( ) const
inline

Opcode identifier.

static const char* strus::analyzer::QueryTermExpression::Instruction::opCodeName ( OpCode  i)
inlinestatic

Friends And Related Function Documentation

friend class QueryTermExpression
friend

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