xorp

ExportCodeGenerator Class Reference

Generates export filter code from a node structure. More...

#include <export_code_generator.hh>

Inheritance diagram for ExportCodeGenerator:
CodeGenerator Visitor

List of all members.

Public Member Functions

 ExportCodeGenerator (const string &proto, const SourceMatchCodeGenerator::Tags &t, const VarMap &varmap, PolicyMap &pmap)
const Elementvisit_term (Term &term)

Private Attributes

const
SourceMatchCodeGenerator::Tags & 
_tags
SourceMatchCodeGenerator::Tags::const_iterator _tags_iter

Detailed Description

Generates export filter code from a node structure.

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.


Constructor & Destructor Documentation

ExportCodeGenerator::ExportCodeGenerator ( const string &  proto,
const SourceMatchCodeGenerator::Tags &  t,
const VarMap varmap,
PolicyMap pmap 
)
Parameters:
protoProtocol for which code will be generated.
tinformation on which tags should be used.
varmapvarmap.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations