class AttributeManager

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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:01 2008, using kdoc 2.0a54+XORP.