IMP
2.2.1
The Integrative Modeling Platform
|
#include <IMP/display/Writer.h>
Public Member Functions | |
WriterAdaptor (std::string name) | |
WriterAdaptor (Writer *w) | |
Writer * | get_writer () const |
operator Writer * () const | |
Writer * | operator-> () const |
void | show (std::ostream &out=std::cout) const |
An adaptor for functions that should take a writer as an input. It can be implicitly constructed from either a Writer or a string. In the later case it determines what type of writer is needed from the file suffix.