HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <SphinxAdminCommand.hpp>
Public Member Functions | |
SphinxAdminCommand (SphinxFunctionalObject &fObj_) | |
virtual | ~SphinxAdminCommand (void) |
void | setResultData (const std::string &resultData_) |
std::string | getResultData (void) const |
virtual bool | execute (void)=0 |
Public Member Functions inherited from HCE::IJsonSerializable | |
IJsonSerializable (void) | |
virtual | ~IJsonSerializable (void) |
virtual bool | serialize (std::string &json)=0 |
virtual bool | unserialize (const std::string &json)=0 |
void | setErrorMsg (const std::string &errorMsg_) |
std::string | getErrorMsg (void) const |
void | setErrorCode (unsigned int errorCode_) |
unsigned int | getErrorCode (void) const |
bool | isError (void) const |
Protected Types | |
typedef IJsonSerializable | inherited |
Protected Member Functions | |
bool | makeDir (const std::string &path) |
bool | cleanDir (const std::string &path) |
bool | isExistDir (const std::string &path) |
bool | isExistFile (const std::string &file) |
bool | isAllowedString (const std::string &str) |
bool | copyFile (const std::string &srcFile, const std::string &dstFile) |
bool | moveFile (const std::string &srcFile, const std::string &dstFile) |
bool | removeFile (const std::string &file) |
bool | moveIndexFiles (const std::string &indexFileName, const std::string &srcPath, const std::string &dstPath) |
bool | copyIndexFiles (const std::string &indexFileName, const std::string &srcPath, const std::string &dstPath) |
bool | removeIndexFile (const std::string &indexFileName, const std::string &path) |
bool | getFileList (const std::string &path, std::vector< std::string > &vFiles, const std::string &ext) |
bool | getIndexList (const std::string &path, std::vector< std::string > &vIndexes) |
bool | getFreeAllowedPort (unsigned int &res) |
bool | makeTrunkConfig (const std::string &trunkName, const std::string &indexName, const std::string &indexFileName, SphinxConfigOptions &configOptions) |
bool | isExistError (const std::string &shellExecMsg) |
std::string | getPropertyFileName (const std::string &indexPath, const std::string &branchName) |
std::string | getConfigFileName (const std::string &indexPath, const std::string &branchName) |
void | writePropertyOptions (SphinxConfigCreator &configCreator, const SphinxConfigOptions &configOptions) |
Protected Member Functions inherited from HCE::IJsonSerializable | |
template<class T = unsigned long long> | |
T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Protected Attributes | |
SphinxFunctionalObject & | fObj |
std::string | resultData |
CustomMessage & | message |
Protected Attributes inherited from HCE::IJsonSerializable | |
std::string | errorMsg |
unsigned int | errorCode |
bool | _isError |
Definition at line 63 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 103 of file SphinxAdminCommand.hpp.
|
explicit |
Definition at line 35 of file SphinxAdminCommand.cpp.
|
inlinevirtual |
Definition at line 67 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 64 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 131 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 236 of file SphinxAdminCommand.cpp.
|
pure virtual |
Implemented in HCE::sphinx::IndexDisconnect, HCE::sphinx::IndexConnect, HCE::sphinx::IndexBranchesStatus, HCE::sphinx::IndexBranchesInfo, HCE::sphinx::IndexBranchesList, HCE::sphinx::IndexDataList, HCE::sphinx::IndexMaxDocId, HCE::sphinx::IndexStatus, HCE::sphinx::IndexStatusSearchd, HCE::sphinx::IndexCheckSchema, HCE::sphinx::IndexGetConfigVar, HCE::sphinx::IndexSetConfigVar, HCE::sphinx::IndexRename, HCE::sphinx::IndexCopy, HCE::sphinx::IndexRemove, HCE::sphinx::IndexPackDocData, HCE::sphinx::IndexDeleteDocNumber, HCE::sphinx::IndexDeleteDoc, HCE::sphinx::IndexAppendDataFile, HCE::sphinx::IndexDeleteSchemaFile, HCE::sphinx::IndexDeleteDataFile, HCE::sphinx::IndexMergeTrunk, HCE::sphinx::IndexMerge, HCE::sphinx::IndexStop, HCE::sphinx::IndexStart, HCE::sphinx::IndexSetDataDir, HCE::sphinx::IndexRebuild, HCE::sphinx::IndexStoreSchemaFile, HCE::sphinx::IndexStoreDataFile, HCE::sphinx::IndexCheck, and HCE::sphinx::IndexCreate.
|
protected |
|
protected |
Definition at line 320 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 401 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 357 of file SphinxAdminCommand.cpp.
|
protected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 471 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 160 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 202 of file SphinxAdminCommand.cpp.
|
protected |
|
protected |
Definition at line 270 of file SphinxAdminCommand.cpp.
|
inline |
Definition at line 69 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 550 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 98 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 101 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 99 of file SphinxAdminCommand.hpp.