IMP Reference Guide
2.20.1
The Integrative Modeling Platform
|
#include <IMP/PairContainer.h>
This class allows either a list or a container to be accepted as input.
Definition at line 172 of file PairContainer.h.
Public Member Functions | |
PairContainerAdaptor (PairContainer *c) | |
template<class C > | |
PairContainerAdaptor (IMP::internal::PointerBase< C > c) | |
PairContainerAdaptor (const ParticlePairsTemp &t) | |
void | set_name_if_default (std::string name) |
IMP::PairContainerAdaptor::PairContainerAdaptor | ( | PairContainer * | c | ) |
Constructs the adaptor pointing to c (so if the contents of c are changed dynamically, so do the contents of the adaptor, and vice versa)
IMP::PairContainerAdaptor::PairContainerAdaptor | ( | IMP::internal::PointerBase< C > | c | ) |
Constructs the adaptor pointing to c (so if the contents of c are changed dynamically, so do the contents of the adaptor, and vice versa)
Definition at line 195 of file PairContainer.h.
IMP::PairContainerAdaptor::PairContainerAdaptor | ( | const ParticlePairsTemp & | t | ) |
Adapts the non-empty list t to PairContainer
t | a non-empty list of ParticlePairsTemp |
void IMP::PairContainerAdaptor::set_name_if_default | ( | std::string | name | ) |
Set the name of the resulting container if it is currently the default value.