HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx::CalculateStrategy Class Reference

#include <SphinxWeightCalculator.hpp>

Inheritance diagram for HCE::sphinx::CalculateStrategy:

Public Types

enum  StrategyTypes { stUseFieldNames = 0 }

Public Member Functions

 CalculateStrategy (void)
virtual ~CalculateStrategy (void)
virtual void calculate (const std::vector< std::string > &orderFields, SphinxResultData &resultData)=0
std::string getLogString (void) const
void weightToStream (const std::string &input, std::ostream &os) throw (std::exception)

Protected Attributes

std::string logString

Detailed Description

Definition at line 26 of file SphinxWeightCalculator.hpp.

Member Enumeration Documentation

Enumerator:
stUseFieldNames 

Definition at line 29 of file SphinxWeightCalculator.hpp.

Constructor & Destructor Documentation

HCE::sphinx::CalculateStrategy::CalculateStrategy ( void  )
inline

Definition at line 34 of file SphinxWeightCalculator.hpp.

virtual HCE::sphinx::CalculateStrategy::~CalculateStrategy ( void  )
inlinevirtual

Definition at line 35 of file SphinxWeightCalculator.hpp.

Member Function Documentation

virtual void HCE::sphinx::CalculateStrategy::calculate ( const std::vector< std::string > &  orderFields,
SphinxResultData resultData 
)
pure virtual
std::string HCE::sphinx::CalculateStrategy::getLogString ( void  ) const
inline

Definition at line 39 of file SphinxWeightCalculator.hpp.

Here is the caller graph for this function:

void HCE::sphinx::CalculateStrategy::weightToStream ( const std::string &  input,
std::ostream &  os 
) throw (std::exception)

Definition at line 15 of file SphinxWeightCalculator.cpp.

Here is the caller graph for this function:

Member Data Documentation

std::string HCE::sphinx::CalculateStrategy::logString
protected

Definition at line 42 of file SphinxWeightCalculator.hpp.


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