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::SphinxIndexer Class Reference

#include <SphinxIndexer.hpp>

Inheritance diagram for HCE::sphinx::SphinxIndexer:
Collaboration diagram for HCE::sphinx::SphinxIndexer:

Public Member Functions

 SphinxIndexer (SphinxFunctionalObject &fObj)
virtual ~SphinxIndexer (void)
std::string Process (const std::string &json)
SphinxOutputJsonMessage Process (SphinxInputJsonMessage &inputJsonMessage)
- Public Member Functions inherited from HCE::sphinx::SphinxSearchInterface
 SphinxSearchInterface (void)
virtual ~SphinxSearchInterface (void)
void setErrorMsg (const std::string &errorMsg_)
std::string getErrorMsg (void) const
void setErrorCode (unsigned int errorCode_)
unsigned int getErrorCode (void) const
void isError (bool isError_)
bool isError (void) const

Protected Types

typedef SphinxSearchInterface inherited

Protected Member Functions

void makeIndexCommand (const std::string &json) throw (Poco::Exception)
void makeAdminCommand (const std::string &json, std::string &resultData) throw (Poco::Exception)
- Protected Member Functions inherited from HCE::sphinx::SphinxSearchInterface
bool insensitiveCompare (const std::string &lhs, const std::string &rhs)

Protected Attributes

SphinxFunctionalObjectfObj
CustomMessagemessage
- Protected Attributes inherited from HCE::sphinx::SphinxSearchInterface
std::string errorMsg
unsigned int errorCode
bool _isError

Friends

class SphinxFunctionalObject

Additional Inherited Members

- Static Public Member Functions inherited from HCE::sphinx::SphinxSearchInterface
static size_t getTimeInterval (timeval &start, timeval &stop)

Detailed Description

Definition at line 27 of file SphinxIndexer.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

HCE::sphinx::SphinxIndexer::SphinxIndexer ( SphinxFunctionalObject fObj)
explicit

Definition at line 31 of file SphinxIndexer.cpp.

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

Definition at line 31 of file SphinxIndexer.hpp.

Member Function Documentation

void HCE::sphinx::SphinxIndexer::makeAdminCommand ( const std::string &  json,
std::string &  resultData 
) throw (Poco::Exception)
protected

Definition at line 141 of file SphinxIndexer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::sphinx::SphinxIndexer::makeIndexCommand ( const std::string &  json) throw (Poco::Exception)
protected

Definition at line 86 of file SphinxIndexer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string HCE::sphinx::SphinxIndexer::Process ( const std::string &  json)
virtual

Implements HCE::sphinx::SphinxSearchInterface.

Definition at line 36 of file SphinxIndexer.cpp.

Here is the call graph for this function:

SphinxOutputJsonMessage HCE::sphinx::SphinxIndexer::Process ( SphinxInputJsonMessage inputJsonMessage)
virtual

Implements HCE::sphinx::SphinxSearchInterface.

Definition at line 172 of file SphinxIndexer.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class SphinxFunctionalObject
friend

Definition at line 44 of file SphinxIndexer.hpp.

Member Data Documentation

SphinxFunctionalObject& HCE::sphinx::SphinxIndexer::fObj
protected

Definition at line 40 of file SphinxIndexer.hpp.

CustomMessage& HCE::sphinx::SphinxIndexer::message
protected

Definition at line 41 of file SphinxIndexer.hpp.


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