xorp

PolicyInstr Class Reference

Container for terms instructions. More...

#include <policy_instr.hh>

Inheritance diagram for PolicyInstr:
NONCOPYABLE

List of all members.

Public Member Functions

 PolicyInstr (const string &name, vector< TermInstr * > *terms)
TermInstr ** terms ()
const string & name ()
int termc () const
void set_trace (bool trace)
bool trace () const

Private Attributes

string _name
TermInstr ** _terms
int _termc
bool _trace

Detailed Description

Container for terms instructions.

A policy instruction is a list of term instructions.


Constructor & Destructor Documentation

PolicyInstr::PolicyInstr ( const string &  name,
vector< TermInstr * > *  terms 
) [inline]
Parameters:
namename of the policy.
termsterms of the policy. Caller must not delete terms.

Member Function Documentation

const string& PolicyInstr::name ( ) [inline]
Returns:
name of the policy.
TermInstr** PolicyInstr::terms ( ) [inline]
Returns:
terms of this policy. Caller must not delete terms.

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