strusJava  0.14
Public Member Functions | List of all members
net::strus::api::Term Class Reference

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

#include <bindingObjects.hpp>

Inheritance diagram for net::strus::api::Term:
net::strus::api::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...
 
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

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

Constructor.

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

Copy constructor.

net::strus::api::Term::Term ( )
inline

Default constructor.

Member Function Documentation

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

Get the term length.

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

Get the term position.

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

Get the term type name.

const String& net::strus::api::Term::value ( ) const
inline

Get the term value.


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