strus  0.17
Public Member Functions | List of all members
strus::SummaryElement Class Reference

One result element of summarization. More...

#include <summaryElement.hpp>

Public Member Functions

 SummaryElement (const std::string &name_, const std::string &value_, double weight_=1.0, int index_=-1)
 Constructor. More...
 
 SummaryElement (const SummaryElement &o)
 Copy constructor. More...
 
const std::string & name () const
 Get the name of the element. More...
 
const std::string & value () const
 Get the value of the element. More...
 
double weight () const
 Get the weight of the element if defined. More...
 
int index () const
 Get the index of the element if defined. More...
 

Detailed Description

One result element of summarization.

Constructor & Destructor Documentation

strus::SummaryElement::SummaryElement ( const std::string &  name_,
const std::string &  value_,
double  weight_ = 1.0,
int  index_ = -1 
)
inline

Constructor.

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

Copy constructor.

Member Function Documentation

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

Get the index of the element if defined.

const std::string& strus::SummaryElement::name ( ) const
inline

Get the name of the element.

const std::string& strus::SummaryElement::value ( ) const
inline

Get the value of the element.

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

Get the weight of the element if defined.


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