ACE_Cleanup_Strategy(3)

ACE_Cleanup_Strategy3

Defines a default strategy to be followed for cleaning up entries from a map which is the container.

Usage

#include <ace/Cleanup_Strategies_T.h>
template<class KEY, class VALUE, class CONTAINER>
class ACE_Cleanup_Strategy
{
  public:
    virtual int cleanup (
        CONTAINER &container,
        KEY *key,
        VALUE *value
        );
};

Overview

By default the entry to be cleaned up is removed from the container.

Public members

virtual int cleanup (CONTAINER &container, KEY *key, VALUE *value);

The method which will do the cleanup of the entry in the container.

Library

ace

Author

Kirthika Parameswaran [email protected]

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.