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