IMP logo
IMP Reference Guide  develop.27926d84dc,2024/04/19
The Integrative Modeling Platform
IMP::Showable Class Reference

Helper class to aid in output of IMP classes to streams. More...

#include <IMP/Showable.h>

Detailed Description

Helper class to aid in output of IMP classes to streams.

To support output to streams, a class can use the IMP_SHOWABLE macros to define an implicit conversion to Showable.

Definition at line 25 of file Showable.h.

Public Member Functions

template<class T >
 Showable (const T &t)
 
template<class T >
 Showable (const T *o)
 
template<class T >
 Showable (T *o)
 
 Showable (const Showable &)=default
 
 Showable (const std::string &str)
 
 Showable (const char *str)
 
template<class T , class TT >
 Showable (const std::pair< T, TT > &p)
 
std::string get_string () const
 
Showableoperator= (const Showable &)=default
 

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