IMP  2.1.0
The Integrative Modeling Platform
IMP::kernel::TripletContainerAdaptor Class Reference

#include <IMP/kernel/TripletContainer.h>

+ Inheritance diagram for IMP::kernel::TripletContainerAdaptor:

Public Member Functions

 TripletContainerAdaptor (TripletContainer *c)
 
template<class C >
 TripletContainerAdaptor (base::internal::PointerBase< C > c)
 
 TripletContainerAdaptor (const ParticleTripletsTemp &t, std::string name="TripletContainerAdaptor%1%")
 

Detailed Description

This class allows either a list or a container to be accepted as input.

Definition at line 122 of file kernel/TripletContainer.h.

Constructor & Destructor Documentation

IMP::kernel::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)

template<class C >
IMP::kernel::TripletContainerAdaptor::TripletContainerAdaptor ( base::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 145 of file kernel/TripletContainer.h.

IMP::kernel::TripletContainerAdaptor::TripletContainerAdaptor ( const ParticleTripletsTemp t,
std::string  name = "TripletContainerAdaptor%1%" 
)

Adapts the non-empty list t to TripletContainer

Parameters
ta non-empty list of ParticleTripletsTemp
namename for the constructed TripletContainer

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