The SetMap owns all sets in the policy configuration. It also tracks dependencies between sets and policies.
| SetMapError (class) | SetMapError | 
| const Element&  getSet (const string& name)
 | getSet | 
[const]
Throws exception if set is not found.
Parameters:
| name | set name requested. | 
Returns: set requested.
| void  create (const string& name)
 | create | 
Create a new set.
Throws exception if set exists.
Parameters:
| name | name of the set. | 
| void  update_set (const string& type,
		    const string& name, 
		    const string& elements, 
		    set<string>& modified)
 | update_set | 
Replace the elements of a set.
Throws an expcetion if set does not exist.
Parameters:
| type | type of the set. | 
| name | name of the set. | 
| elements | the new elements comma separated. | 
| modified | set filled with policies which are now modified. | 
| void  delete_set (const string& name)
 | delete_set | 
Attempts to delete a set.
Throws an exception if set is in use.
Parameters:
| name | name of the set. | 
| void  add_to_set (const string& type,
		    const string& name,
		    const string& element,
		    set<string>& modified)
 | add_to_set | 
Add an element to a set.
Throws an expcetion if set does not exist.
Parameters:
| type | type of the set. | 
| name | name of the set. | 
| element | the element to add. | 
| modified | set filled with policies which are now modified. | 
| void  delete_from_set (const string& type,
			 const string& name,
			 const string& element,
			 set<string>& modified)
 | delete_from_set | 
Delete an element from a set.
Throws an expcetion if set does not exist.
Parameters:
| type | type of the set. | 
| name | name of the set. | 
| element | the element to delete. | 
| modified | set filled with policies which are now modified. | 
| void  add_dependency (const string& setname, const string& policyname)
 | add_dependency | 
Add a dependency of a policy using a set.
Throws an exception if set is not found.
Parameters:
| setname | name of set in which dependency should be added. | 
| policyname | name of policy which uses the set. | 
| void  del_dependency (const string& setname, const string& policyname)
 | del_dependency | 
Delete a dependency of a policy using a set.
Throws an exception if set or policy is not found.
Parameters:
| setname | name of set in which dependency should be removed. | 
| policyname | name of policy which no longer uses the set. | 
| string  str ()
 | str | 
[const]
Returns: string representation of all sets.
| void  sets_by_type (SETS& s, const string& type)
 | sets_by_type | 
[const]