IMP logo
Public Member Functions
IMP::base::SetLogState Class Reference

Detailed Description

A class to change and restore log state.

To use, create an instance of this class with the log level you want. When it goes out of scope, it will restore the old level.

Note:
This will not keep objects alive, make sure there is also some other ref-counted pointer to them.

Examples: dependency graph, restraint cache, setup, nup84 rb

List of all members.

Public Member Functions

 SetLogState (Object *o, LogLevel l)
 SetLogState (LogLevel l)
 Construct it with the desired level and target.
void reset ()
void set (Object *o, LogLevel l)
void set (LogLevel l)
void show (std::ostream &out=std::cout) const

Constructor & Destructor Documentation

IMP::base::SetLogState::SetLogState ( LogLevel  l)

Construct it with the desired level and target.


The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:28 for IMP by doxygen 1.8.1