HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <SphinxAdminCommand.hpp>
Public Member Functions | |
IndexCopy (SphinxFunctionalObject &fObj) | |
virtual | ~IndexCopy (void) |
bool | serialize (std::string &json) |
bool | unserialize (const std::string &json) |
bool | execute (void) |
void | setIndexFromName (const std::string &indexFromName_) |
std::string | getIndexFromName (void) const |
void | setIndexToName (const std::string &indexToName_) |
std::string | getIndexToName (void) const |
Public Member Functions inherited from HCE::sphinx::SphinxAdminCommand | |
SphinxAdminCommand (SphinxFunctionalObject &fObj_) | |
virtual | ~SphinxAdminCommand (void) |
void | setResultData (const std::string &resultData_) |
std::string | getResultData (void) const |
Public Member Functions inherited from HCE::IJsonSerializable | |
IJsonSerializable (void) | |
virtual | ~IJsonSerializable (void) |
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 SphinxAdminCommand | inherited |
Protected Types inherited from HCE::sphinx::SphinxAdminCommand | |
typedef IJsonSerializable | inherited |
Protected Attributes | |
std::string | indexFromName |
std::string | indexToName |
Protected Attributes inherited from HCE::sphinx::SphinxAdminCommand | |
SphinxFunctionalObject & | fObj |
std::string | resultData |
CustomMessage & | message |
Protected Attributes inherited from HCE::IJsonSerializable | |
std::string | errorMsg |
unsigned int | errorCode |
bool | _isError |
Additional Inherited Members | |
Protected Member Functions inherited from HCE::sphinx::SphinxAdminCommand | |
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) |
Definition at line 388 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 408 of file SphinxAdminCommand.hpp.
|
explicit |
Definition at line 2595 of file SphinxAdminCommand.cpp.
|
inlinevirtual |
Definition at line 392 of file SphinxAdminCommand.hpp.
|
virtual |
Implements HCE::sphinx::SphinxAdminCommand.
Reimplemented in HCE::sphinx::IndexRename.
Definition at line 2654 of file SphinxAdminCommand.cpp.
|
inline |
Definition at line 399 of file SphinxAdminCommand.hpp.
|
inline |
Definition at line 402 of file SphinxAdminCommand.hpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 2600 of file SphinxAdminCommand.cpp.
|
inline |
Definition at line 398 of file SphinxAdminCommand.hpp.
|
inline |
Definition at line 401 of file SphinxAdminCommand.hpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 2624 of file SphinxAdminCommand.cpp.
|
protected |
Definition at line 405 of file SphinxAdminCommand.hpp.
|
protected |
Definition at line 406 of file SphinxAdminCommand.hpp.