IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::QuadContainerAdaptor Class Reference

#include <IMP/QuadContainer.h>

Inheritance diagram for IMP::QuadContainerAdaptor:

Detailed Description

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

Definition at line 172 of file QuadContainer.h.

Public Member Functions

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

Constructor & Destructor Documentation

◆ QuadContainerAdaptor() [1/4]

IMP::QuadContainerAdaptor::QuadContainerAdaptor ( )

Definition at line 182 of file QuadContainer.h.

◆ QuadContainerAdaptor() [2/4]

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)

◆ QuadContainerAdaptor() [3/4]

template<class C>
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 195 of file QuadContainer.h.

◆ QuadContainerAdaptor() [4/4]

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

Adapts the non-empty list t to QuadContainer

Parameters
ta non-empty list of ParticleQuadsTemp

Member Function Documentation

◆ set_name_if_default()

void IMP::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: