xorp

VisitorPrinter Class Reference

This visitor will produce a human readable text stream from a policy. More...

#include <visitor_printer.hh>

Inheritance diagram for VisitorPrinter:
Visitor

List of all members.

Public Member Functions

 VisitorPrinter (ostream &out)
const Elementvisit (NodeUn &)
const Elementvisit (NodeBin &)
const Elementvisit (NodeVar &)
const Elementvisit (NodeAssign &)
const Elementvisit (NodeSet &)
const Elementvisit (NodeAccept &)
const Elementvisit (NodeReject &)
const Elementvisit (Term &)
const Elementvisit (PolicyStatement &)
const Elementvisit (NodeElem &)
const Elementvisit (NodeProto &)
const Elementvisit (NodeNext &)
const Elementvisit (NodeSubr &node)

Private Attributes

ostream & _out

Detailed Description

This visitor will produce a human readable text stream from a policy.

Useful for debugging and checking what the policy manager thinks polcies look like.


Constructor & Destructor Documentation

VisitorPrinter::VisitorPrinter ( ostream &  out)
Parameters:
outstream which receives the text representation of policy.

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