Inheritance diagram for code::DataProvider::DataHandler:
Public Member Functions | |
virtual void | processData (const char *data, size_t datalen)=0 |
The data arrives in chunks, so it is the subclass's responsibility to collate the data and do whatever it want to do with it. | |
virtual | ~DataHandler () |
virtual void | processFileStart (const std::string &dir, const std::string &filename) |
Implement this method to do special things when a file is being started. | |
virtual void | processFileFinish (const std::string &dir, const std::string &filename) |
Implement this method to do special things when a file is complete. |
virtual code::DataProvider::DataHandler::~DataHandler | ( | ) | [inline, virtual] |
virtual void code::DataProvider::DataHandler::processData | ( | const char * | data, | |
size_t | datalen | |||
) | [pure virtual] |
The data arrives in chunks, so it is the subclass's responsibility to collate the data and do whatever it want to do with it.
Implemented in code::CompleteFileDataHandler.
virtual void code::DataProvider::DataHandler::processFileFinish | ( | const std::string & | dir, | |
const std::string & | filename | |||
) | [inline, virtual] |
Implement this method to do special things when a file is complete.
Reimplemented in code::CompleteFileDataHandler.
virtual void code::DataProvider::DataHandler::processFileStart | ( | const std::string & | dir, | |
const std::string & | filename | |||
) | [inline, virtual] |
Implement this method to do special things when a file is being started.
Reimplemented in code::CompleteFileDataHandler.