strusPython  0.14
Public Member Functions | List of all members
strus::Term Class Reference

One typed term occurrence in a document or a query. More...

#include <bindingObjects.hpp>

Inheritance diagram for strus::Term:
strus::QueryTerm

Public Member Functions

 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...
 
WString ucvalue () const
 
Index position () const
 Get the term position. More...
 
Index length () const
 Get the term length. More...
 
bool operator< (const Term &o) const
 

Detailed Description

One typed term occurrence in a document or a query.

Constructor & Destructor Documentation

strus::Term::Term ( const String &  type_,
const String &  value_,
const Index position_,
const Index length_ 
)
inline

Constructor.

strus::Term::Term ( const Term o)
inline

Copy constructor.

strus::Term::Term ( )
inline

Default constructor.

Member Function Documentation

Index strus::Term::length ( ) const
inline

Get the term length.

bool strus::Term::operator< ( const Term o) const
Index strus::Term::position ( ) const
inline

Get the term position.

const String& strus::Term::type ( ) const
inline

Get the term type name.

WString strus::Term::ucvalue ( ) const
const String& strus::Term::value ( ) const
inline

Get the term value.


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