asg::detail::AnaToolCleanup Class Reference

a class maintaining a list of cleanups to be performed when releasing a tool. More...

#include <AnaToolHandle.h>

List of all members.

Public Member Functions

void swap (AnaToolCleanup &that)
 standard swap
void addCleanup (AnaToolCleanup val_cleanup, bool post=true)
 add a cleanup to perform
void addCleanup (const std::shared_ptr< void > &val_cleanup, bool post=true)

Detailed Description

a class maintaining a list of cleanups to be performed when releasing a tool.


Member Function Documentation

void asg::detail::AnaToolCleanup::addCleanup ( const std::shared_ptr< void > &  val_cleanup,
bool  post = true 
)

add a cleanup to perform Normally this is added to the end of the list of cleanups, but by passing post as false, you can also add it at the beginning.

Guarantee
basic
Failures
out of memory II

void asg::detail::AnaToolCleanup::addCleanup ( AnaToolCleanup  val_cleanup,
bool  post = true 
)

add a cleanup to perform

Normally this is added to the end of the list of cleanups, but by passing post as false, you can also add it at the beginning.

Guarantee
basic
Failures
out of memory II
void asg::detail::AnaToolCleanup::swap ( AnaToolCleanup that  ) 

standard swap

Guarantee
no-fail

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1