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

Configuration describing the values passed to a weighting function. More...

#include <bindingObjects.hpp>

Public Member Functions

 WeightingConfig ()
 Default constructor. More...
 
 WeightingConfig (const WeightingConfig &o)
 Copy constructor. More...
 
void defineParameter (const String &name, const Variant &value)
 Define a parameter used for weighting. More...
 
void defineParameter (const String &name, int value)
 Define a parameter used for weighting. More...
 
void defineParameter (const String &name, unsigned int value)
 Define a parameter used for weighting. More...
 
void defineParameter (const String &name, double value)
 Define a parameter used for weighting. More...
 
void defineParameter (const String &name, const char *value)
 Define a parameter used for weighting. More...
 
void defineParameter (const String &name, const String &value)
 Define a parameter used for weighting. More...
 
void defineFeature (const String &sumtype, const String &set)
 Define a weighting feature. More...
 

Friends

class QueryEval
 

Detailed Description

Configuration describing the values passed to a weighting function.

Constructor & Destructor Documentation

strus::WeightingConfig::WeightingConfig ( )
inline

Default constructor.

strus::WeightingConfig::WeightingConfig ( const WeightingConfig o)
inline

Copy constructor.

Member Function Documentation

void strus::WeightingConfig::defineFeature ( const String &  sumtype,
const String &  set 
)
inline

Define a weighting feature.

Parameters
[in]sumtypetype name of the feature as defined in the weighting function implementation
[in]setfeature set of the feature used to address the features
void strus::WeightingConfig::defineParameter ( const String &  name,
const Variant value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter
void strus::WeightingConfig::defineParameter ( const String &  name,
int  value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter
void strus::WeightingConfig::defineParameter ( const String &  name,
unsigned int  value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter
void strus::WeightingConfig::defineParameter ( const String &  name,
double  value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter
void strus::WeightingConfig::defineParameter ( const String &  name,
const char *  value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter
void strus::WeightingConfig::defineParameter ( const String &  name,
const String &  value 
)
inline

Define a parameter used for weighting.

Parameters
[in]namename of the parameter as defined in the weighting function implementation
[in]valuevalue of the parameter

Friends And Related Function Documentation

friend class QueryEval
friend

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