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

#include <IMP/kernel/PairContainer.h>

+ Inheritance diagram for IMP::kernel::PairContainerAdaptor:

Public Member Functions

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

Detailed Description

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

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

Constructor & Destructor Documentation

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

template<class C >
IMP::kernel::PairContainerAdaptor::PairContainerAdaptor ( 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/PairContainer.h.

IMP::kernel::PairContainerAdaptor::PairContainerAdaptor ( const ParticlePairsTemp t,
std::string  name = "PairContainerAdaptor%1%" 
)

Adapts the non-empty list t to PairContainer

Parameters
ta non-empty list of ParticlePairsTemp
namename for the constructed PairContainer

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