IMP  2.3.0
The Integrative Modeling Platform
IMP::base::SetLogTarget Class Reference

#include <IMP/base/file.h>

+ Inheritance diagram for IMP::base::SetLogTarget:

Detailed Description

Set the log target to a given value and reset it when the object is destroyed. Use this in Python to set the target of logs.

Definition at line 136 of file file.h.

Public Member Functions

 SetLogTarget (TextOutput to)
 
void reset ()
 
void set (TextOutput to)
 
void show (std::ostream &out=std::cout) const
 

Constructor & Destructor Documentation

IMP::base::SetLogTarget::SetLogTarget ( TextOutput  to)
explicit

explicit constructor that sets the properties of SetLogTarget

Definition at line 147 of file file.h.

Member Function Documentation

void IMP::base::SetLogTarget::reset ( )

resets the properties previously set for this class

Definition at line 147 of file file.h.

void IMP::base::SetLogTarget::set ( TextOutput  to)

sets the properties of the class to new ones

Definition at line 147 of file file.h.


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