class Term

A term is an atomic policy unit. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

It is a complete specification of how a route needs to be matched, and what actions must be taken.

typedef vector<Node*> Nodes

Nodes

term_syntax_error (class)

term_syntax_error

 Term (const string& name)

Term

Parameters:

nameterm name.
 ~Term ()

~Term

const string&  name ()

name

[const]

Returns: name of the term.

const string&  source ()

source

[const]

Returns: the original user source block configuration.

const string&  dest ()

dest

[const]

Returns: the original user dest block configuration.

const string&  action ()

action

[const]

Returns: the original user action block configuration.

void  set_source (const string& src)

set_source

Parameters:

srcthe un-parsed source block configuration.
void  set_dest (const string& dst)

set_dest

Parameters:

dstthe un-parsed dest block configuration.
void  set_action (const string& act)

set_action

Parameters:

actthe un-parsed action block configuration.
string  str ()

str

Returns: string representation of term.

const Element*  accept (Visitor& v)

accept

Visitor implementation.

Parameters:

vvisitor used to visit this term.
Nodes&  source_nodes ()

source_nodes

Returns: parse tree of source block.

Nodes&  dest_nodes ()

dest_nodes

Returns: parse tree of dest block.

Nodes&  action_nodes ()

action_nodes

Returns: parse tree of action block.


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:13 2005, using kdoc $.