IMP  2.3.0
The Integrative Modeling Platform
IMP::kernel::SingletonContainerAdaptor Class Reference

#include <IMP/kernel/SingletonContainer.h>

+ Inheritance diagram for IMP::kernel::SingletonContainerAdaptor:

Detailed Description

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

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

Public Member Functions

 SingletonContainerAdaptor (SingletonContainer *c)
 
template<class C >
 SingletonContainerAdaptor (base::internal::PointerBase< C > c)
 
 SingletonContainerAdaptor (const kernel::ParticlesTemp &t)
 
void set_name_if_default (std::string name)
 

Constructor & Destructor Documentation

IMP::kernel::SingletonContainerAdaptor::SingletonContainerAdaptor ( SingletonContainer 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::SingletonContainerAdaptor::SingletonContainerAdaptor ( 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/SingletonContainer.h.

IMP::kernel::SingletonContainerAdaptor::SingletonContainerAdaptor ( const kernel::ParticlesTemp t)

Adapts the non-empty list t to SingletonContainer

Parameters
ta non-empty list of kernel::ParticlesTemp

Member Function Documentation

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