IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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 145 of file file.h.

Public Member Functions

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

Constructor & Destructor Documentation

◆ SetLogTarget() [1/2]

IMP::SetLogTarget::SetLogTarget ( )

Definition at line 156 of file file.h.

◆ SetLogTarget() [2/2]

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

Explicit constructor that sets the properties of SetLogTarget.

Definition at line 156 of file file.h.

◆ ~SetLogTarget()

IMP::SetLogTarget::~SetLogTarget ( )

Definition at line 156 of file file.h.

Member Function Documentation

◆ reset()

void IMP::SetLogTarget::reset ( )

Remove the properties previously set for this class.

Definition at line 156 of file file.h.

Here is the call graph for this function:

◆ set()

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

Assign new properties to the class.

Definition at line 156 of file file.h.


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