xorp

TermInstr Class Reference

Container of instructions. More...

#include <term_instr.hh>

Inheritance diagram for TermInstr:
NONCOPYABLE

List of all members.

Public Member Functions

 TermInstr (const string &name, vector< Instruction * > *instr)
Instruction ** instructions ()
const string & name ()
int instrc ()

Private Attributes

string _name
Instruction ** _instructions
int _instrc

Detailed Description

Container of instructions.

A term is an atomic policy unit which may be executed.


Constructor & Destructor Documentation

TermInstr::TermInstr ( const string &  name,
vector< Instruction * > *  instr 
) [inline]
Parameters:
nameterm name.
instrlist of instructions of this term. Caller must not delete.

Member Function Documentation

Instruction** TermInstr::instructions ( ) [inline]
Returns:
the instructions of this term. Caller must not delete.
const string& TermInstr::name ( ) [inline]
Returns:
name of the term

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