IMP  2.2.1
The Integrative Modeling Platform
IMP::kernel::QuadContainerAdaptor Class Reference

#include <IMP/kernel/QuadContainer.h>

+ Inheritance diagram for IMP::kernel::QuadContainerAdaptor:

Public Member Functions

 QuadContainerAdaptor (QuadContainer *c)
 
template<class C >
 QuadContainerAdaptor (base::internal::PointerBase< C > c)
 
 QuadContainerAdaptor (const kernel::ParticleQuadsTemp &t)
 
void set_name_if_default (std::string name)
 

Detailed Description

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

Definition at line 140 of file kernel/QuadContainer.h.

Constructor & Destructor Documentation

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

template<class C >
IMP::kernel::QuadContainerAdaptor::QuadContainerAdaptor ( 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 163 of file kernel/QuadContainer.h.

IMP::kernel::QuadContainerAdaptor::QuadContainerAdaptor ( const kernel::ParticleQuadsTemp t)

Adapts the non-empty list t to QuadContainer

Parameters
ta non-empty list of kernel::ParticleQuadsTemp

Member Function Documentation

void IMP::kernel::QuadContainerAdaptor::set_name_if_default ( std::string  name)

Set the name of the resulting container if it is currently the default value.


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