strusPHP  0.14
Public Member Functions | List of all members
QueryTerm Class Reference

Query analyzer term with info about the field it originated from. More...

#include <bindingObjects.hpp>

Inheritance diagram for QueryTerm:
Term

Public Member Functions

 QueryTerm (const Index &field_, const String &type_, const String &value_, const Index &position_, const Index &length_)
 Constructor. More...
 
 QueryTerm (const QueryTerm &o)
 Copy constructor. More...
 
 QueryTerm ()
 Default constructor. More...
 
unsigned int field () const
 Get the term position. More...
 
const String & type () const
 Get the term type name. More...
 
const String & value () const
 Get the term value. More...
 
Index position () const
 Get the term position. More...
 
- Public Member Functions inherited from Term
 Term (const String &type_, const String &value_, const Index &position_, const Index &length_)
 Constructor. More...
 
 Term (const Term &o)
 Copy constructor. More...
 
 Term ()
 Default constructor. More...
 
const String & type () const
 Get the term type name. More...
 
const String & value () const
 Get the term value. More...
 
Index position () const
 Get the term position. More...
 
Index length () const
 Get the term length. More...
 
bool operator< (const Term &o) const
 

Detailed Description

Query analyzer term with info about the field it originated from.

Constructor & Destructor Documentation

QueryTerm::QueryTerm ( const Index field_,
const String &  type_,
const String &  value_,
const Index position_,
const Index length_ 
)
inline

Constructor.

QueryTerm::QueryTerm ( const QueryTerm o)
inline

Copy constructor.

QueryTerm::QueryTerm ( )
inline

Default constructor.

Member Function Documentation

unsigned int QueryTerm::field ( ) const
inline

Get the term position.

Index QueryTerm::position ( ) const
inline

Get the term position.

const String& QueryTerm::type ( ) const
inline

Get the term type name.

const String& QueryTerm::value ( ) const
inline

Get the term value.


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