IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
IMP::SetLogTarget Class Reference

Temporarily set log target. More...

#include <IMP/file.h>

+ Inheritance diagram for IMP::SetLogTarget:

Detailed Description

Temporarily set log target.

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 137 of file file.h.

Public Member Functions

 SetLogTarget (TextOutput to)
 Explicit constructor that sets the properties of SetLogTarget. More...
 
void reset ()
 Remove the properties previously set for this class. More...
 
void set (TextOutput to)
 Assign new properties to the class. More...
 
void show (std::ostream &out=std::cout) const
 

Constructor & Destructor Documentation

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

Explicit constructor that sets the properties of SetLogTarget.

Definition at line 148 of file file.h.

Member Function Documentation

void IMP::SetLogTarget::reset ( )

Remove the properties previously set for this class.

Definition at line 148 of file file.h.

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

Assign new properties to the class.

Definition at line 148 of file file.h.


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