#include <Detector.h>
Inheritance diagram for hwdet::Detector:
Public Member Functions | |
Detector (const String &name, const Char *enc=NULL) | |
virtual bool | Initialize (void)=0 |
Initialize detector. | |
virtual bool | Detect (void)=0 |
Detect all features. | |
virtual bool | Destroy (void)=0 |
Clear all used memory. | |
virtual String | GetOutputString (void) const =0 |
Get string containing output file. | |
virtual bool | WriteToStream (OStream &stream) const =0 |
Write generated output to the stream. | |
virtual String | GetOutputEncoding (void) |
Get character encoding of the output file/string. | |
Protected Attributes | |
XMLOutputFile | output |
Output XML file. | |
XMLElement * | root_node |
Root node of the XML file. |
Constructor.
name | Name of the MessageReporter which will be used to report log messages generated by this class. | |
enc | Encoding for output file. If NULL, no encoding information is written to the output. |
virtual bool hwdet::Detector::Destroy | ( | void | ) | [pure virtual] |
virtual bool hwdet::Detector::Detect | ( | void | ) | [pure virtual] |
virtual String hwdet::Detector::GetOutputEncoding | ( | void | ) | [inline, virtual] |
Get character encoding of the output file/string.
virtual String hwdet::Detector::GetOutputString | ( | void | ) | const [pure virtual] |
virtual bool hwdet::Detector::Initialize | ( | void | ) | [pure virtual] |
virtual bool hwdet::Detector::WriteToStream | ( | OStream & | stream | ) | const [pure virtual] |
XMLOutputFile hwdet::Detector::output [protected] |
Output XML file.
XMLElement* hwdet::Detector::root_node [protected] |
Root node of the XML file.