class AttributeManager

AttributeManager manages the storage of PathAttributeLists, so that we don't store the same attribute list more than once. More...

Definition#include <attribute_manager.hh>
Template formAttributeManager<class A>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

AttributeManager manages the storage of PathAttributeLists, so that we don't store the same attribute list more than once. The interface is simple: to store something, you give it a pointer, and it gives you back a pointer to where it stored it. To unstore something, you just tell it to delete it, and the undeletion is handled for you if no-one else is still referencing a copy.

 AttributeManager ()

AttributeManager

const PathAttributeList<A> *  add_attribute_list (const PathAttributeList<A> *attribute_list)

add_attribute_list

void  delete_attribute_list (const PathAttributeList<A> *attribute_list)

delete_attribute_list

int  number_of_managed_atts ()

number_of_managed_atts

[const]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:59 2003, using kdoc 2.0a54+XORP.