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