|
|
This is a specialized version of the CodeGenerator used for import filters. It skips the source section of terms and replaces it with tag matching instead.
ExportCodeGenerator (const string& proto, uint32_t tagstart)
| ExportCodeGenerator |
Parameters:
proto | Protocol for which code will be generated. |
tagstart | The first policy tag to use. Tags are incremental. |
const Element* visit_term (Term& term)
| visit_term |
Reimplemented from CodeGenerator.
uint32_t currtag ()
| currtag |
Returns: The current policy-tag. Which is 1 + last tag used.