Wolframe, 0.0.3

doctypeModuleMacros.hpp File Reference

Macros for a document type/format module definition. More...

Go to the source code of this file.

Macros

#define WF_DOCUMENT_FORMAT(DOCFORMATNAME, DETECTORCLASS)
 Defines a Wolframe document format with a document type detector after the module includes section and module declaration header. More...
 

Detailed Description

Macros for a document type/format module definition.

Macro Definition Documentation

#define WF_DOCUMENT_FORMAT (   DOCFORMATNAME,
  DETECTORCLASS 
)
Value:
{\
struct Constructor\
{\
{\
return new DETECTORCLASS();\
}\
{\
return new _Wolframe::module::DoctypeDetectorBuilder( DOCFORMATNAME "Detector", DOCFORMATNAME, create);\
}\
};\
(*this)(&Constructor ::impl);\
}
Document type and format detector builder.
Definition: doctypeDetectorBuilder.hpp:92
Definition: moduleInterface.hpp:51
Interface to document type and format detection.
Definition: doctypeDetector.hpp:46

Defines a Wolframe document format with a document type detector after the module includes section and module declaration header.