StandardFormatDetector Class Reference

Practical format detection implementation used by the module loader. More...

#include <standardformatdetector.h>

Inherits CompositeFormatDetector.

List of all members.

Classes

class  Adder
 Interface for the modules to add detection methods. More...

Public Member Functions

 StandardFormatDetector ()
AddernewAdder (const std::string &format)
 Generate a new adder with the given format.

Detailed Description

Practical format detection implementation used by the module loader.

The class is a Composite detector composed of a magic number detector, a syncbyte detector and a extension detector.

The class can generate adders that give an interface for the modules to add detection methods.


Constructor & Destructor Documentation


Member Function Documentation

Adder* StandardFormatDetector::newAdder ( const std::string &  format)

Generate a new adder with the given format.


The documentation for this class was generated from the following file: