IMP Reference Guide
2.11.1
The Integrative Modeling Platform
|
#include <IMP/SingletonContainer.h>
This class allows either a list or a container to be accepted as input.
Definition at line 151 of file SingletonContainer.h.
Public Member Functions | |
SingletonContainerAdaptor (SingletonContainer *c) | |
template<class C > | |
SingletonContainerAdaptor (IMP::internal::PointerBase< C > c) | |
SingletonContainerAdaptor (const ParticlesTemp &t) | |
void | set_name_if_default (std::string name) |
IMP::SingletonContainerAdaptor::SingletonContainerAdaptor | ( | SingletonContainer * | 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::SingletonContainerAdaptor::SingletonContainerAdaptor | ( | 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 174 of file SingletonContainer.h.
IMP::SingletonContainerAdaptor::SingletonContainerAdaptor | ( | const ParticlesTemp & | t | ) |
Adapts the non-empty list t to SingletonContainer
t | a non-empty list of ParticlesTemp |
void IMP::SingletonContainerAdaptor::set_name_if_default | ( | std::string | name | ) |
Set the name of the resulting container if it is currently the default value.