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

Attribute of a query evaluation result element. More...

#include <bindingObjects.hpp>

Public Member Functions

 SummaryElement ()
 Constructor. More...
 
 SummaryElement (const String &name_, const String &value_, double weight_, int index_)
 Constructor. More...
 
 SummaryElement (const SummaryElement &o)
 Copy connstructor. More...
 
const String & name () const
 Get the name of the summary element. More...
 
const String & value () const
 Get the value of the summary element. More...
 
double weight () const
 Get the weight of the summary element. More...
 
int index () const
 Get the index (grouping) of the summary element if defined or -1. More...
 
WString ucvalue () const
 
bool operator== (const SummaryElement &o) const
 
bool operator!= (const SummaryElement &o) const
 

Friends

class Query
 

Detailed Description

Attribute of a query evaluation result element.

Constructor & Destructor Documentation

strus::SummaryElement::SummaryElement ( )
inline

Constructor.

strus::SummaryElement::SummaryElement ( const String &  name_,
const String &  value_,
double  weight_,
int  index_ 
)
inline

Constructor.

strus::SummaryElement::SummaryElement ( const SummaryElement o)
inline

Copy connstructor.

Member Function Documentation

int strus::SummaryElement::index ( ) const
inline

Get the index (grouping) of the summary element if defined or -1.

const String& strus::SummaryElement::name ( ) const
inline

Get the name of the summary element.

bool strus::SummaryElement::operator!= ( const SummaryElement o) const
inline
bool strus::SummaryElement::operator== ( const SummaryElement o) const
inline
WString strus::SummaryElement::ucvalue ( ) const
const String& strus::SummaryElement::value ( ) const
inline

Get the value of the summary element.

double strus::SummaryElement::weight ( ) const
inline

Get the weight of the summary element.

Friends And Related Function Documentation

friend class Query
friend

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