|
Cambridge SMT System
|
Loads wordmap in constructor and delivers pointer to data object during run time. More...
#include <task.loadwordmap.hpp>


Public Member Functions | |
| LoadWordMapTask (const ucam::util::RegistryPO &rg, const std::string &key, bool reverse=false) | |
| Constructor with ucam::util::RegistryPO object. More... | |
| bool | run (Data &d) |
| Delivers pointer to wordmap. More... | |
Public Member Functions inherited from ucam::util::TaskInterface< Data > | |
| TaskInterface () | |
| Constructor. More... | |
| virtual | ~TaskInterface () |
| bool | chainrun (Data &d) |
| Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More... | |
| bool | operator() (Data &d) |
| TaskInterface & | appendTask (TaskInterface *t) |
| Appends a task class. If there is no task, append here, otherwise delegate in next task. More... | |
| TaskInterface & | operator() (TaskInterface *t) |
| TaskInterface * | getTask () |
| Return appended task. More... | |
| TaskInterface * | next () |
Static Public Member Functions | |
| static LoadWordMapTask * | init (const ucam::util::RegistryPO &rg, const std::string &key, bool reverse=false) |
| Static constructor, will return NULL if there is no need for word-mapping. More... | |
Loads wordmap in constructor and delivers pointer to data object during run time.
Definition at line 30 of file task.loadwordmap.hpp.
|
inline |
Constructor with ucam::util::RegistryPO object.
Definition at line 50 of file task.loadwordmap.hpp.
|
inlinestatic |
Static constructor, will return NULL if there is no need for word-mapping.
Definition at line 41 of file task.loadwordmap.hpp.


|
inlinevirtual |
Delivers pointer to wordmap.
Implements ucam::util::TaskInterface< Data >.
Definition at line 59 of file task.loadwordmap.hpp.