You are here: C++ Support Classes > dtSearch Namespace > Classes > DJobBase Class > DJobBase::Execute Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DJobBase::Execute Method

Called to execute a job.

Syntax
C++
virtual void Execute() = 0;

A derived class should call the base class's Execute method to carry out the job. Example:

void CMyIndexJob::Execute() { ... do things to get ready for indexing ... DIndexJob::Execute ... do things after indexing is done ... }