class CodeList

A collection of code fragments. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 CodeList (const string& p)

CodeList

Initialize codelist for a specific protocol.

Parameters:

pprotocol.
 ~CodeList ()

~CodeList

void  push_back (Code* c)

push_back

Append code to the list Code is now owned by the code list.

Parameters:

ccode to append. Caller must not delete code.
string  str ()

str

[const]

Returns: string representation of the code list.

void  link_code (Code& c)

link_code

[const]

Links all code in the code list to c. The code is basically added to c.

Parameters:

ccode to link current code list to.
void  get_targets (Code::TargetSet& targets)

get_targets

[const]

Parameters:

targetsargument is filled with targets the code list has.
void  get_tags (const string& protocol, Code::TagSet& tagset)

get_tags

[const]

Return all tags used by a certain protocol, in the code list.

Parameters:

protocolprotocol caller wants tags of.
tagsetfilled with policytags used by protocol.

Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:28 2006, using kdoc $.