highlighter application
1.1
HCE project utils : highlighter
|
#include <ContentsStorageBase.hpp>
Public Types | |
typedef Poco::SharedPtr < HCE::component::Refine > | RefinePtrType |
typedef Poco::SharedPtr < std::vector< std::map < unsigned long long, std::vector< WordPos > > > > | WordPosPtrType |
Public Member Functions | |
ContentsStorageBase (unsigned int refinesCount) | |
virtual WordPosPtrType | wordMapExctract (unsigned long long key, std::string &incomeContent)=0 |
virtual void | wordMapRelease (unsigned long long key, WordPosPtrType &refinePtr)=0 |
virtual | ~ContentsStorageBase () |
Protected Member Functions | |
RefinePtrType | refineExctract () |
void | refineRelease (RefinePtrType &refinePtr) |
Definition at line 29 of file ContentsStorageBase.hpp.
typedef Poco::SharedPtr<HCE::component::Refine> ContentsStorageBase::RefinePtrType |
Definition at line 32 of file ContentsStorageBase.hpp.
typedef Poco::SharedPtr<std::vector<std::map<unsigned long long, std::vector<WordPos> > > > ContentsStorageBase::WordPosPtrType |
Definition at line 34 of file ContentsStorageBase.hpp.
ContentsStorageBase::ContentsStorageBase | ( | unsigned int | refinesCount | ) |
ContentsStorageBase::ContentsStorageBase class constructor.
Definition at line 71 of file ContentsStorageBase.cpp.
|
virtual |
ContentsStorageBase::ContentsStorageBase class destructor.
Definition at line 81 of file ContentsStorageBase.cpp.
|
protected |
ContentsStorageBase::refineExctract method. Method extracts and returns, from cross-thread storage "refinesVector", first available Refine component
Definition at line 22 of file ContentsStorageBase.cpp.
|
protected |
ContentsStorageBase::refineRelease method. Method releases previously captured Refine component item, in cross-thread storage "refinesVector"
Definition at line 51 of file ContentsStorageBase.cpp.
|
pure virtual |
Implemented in ContentsStorageSimple.
|
pure virtual |
Implemented in ContentsStorageSimple.