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

Tag part of the system to track how it was created. More...

#include <IMP/core/provenance.h>

Inheritance diagram for IMP::core::Provenanced:

Detailed Description

Tag part of the system to track how it was created.

Definition at line 632 of file provenance.h.

Public Member Functions

 Provenanced (::IMP::Model *m, ::IMP::ParticleIndex id)
 Provenanced (const IMP::ParticleAdaptor &d)
Provenance get_provenance () const
void set_provenance (Provenance p) const
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::Decorator
bool get_is_valid () const
 Returns true if constructed with a non-default constructor.
Model * get_model () const
 Returns the Model containing the particle.
Particle * get_particle () const
 Returns the particle decorated by this decorator.
ParticleIndex get_particle_index () const
 Returns the particle index decorated by this decorator.
 operator Particle * () const
 operator ParticleIndex () const
Particle * operator-> () const

Static Public Member Functions

static bool get_is_setup (const IMP::ParticleAdaptor &p)
static bool get_is_setup (Model *m, ParticleIndex pi)
static Provenanced setup_particle (IMP::ParticleAdaptor pa, Provenance p)
static Provenanced setup_particle (Model *m, ParticleIndex pi, Provenance p)

Additional Inherited Members

Protected Member Functions inherited from IMP::Decorator
 Decorator (Model *m, ParticleIndex pi)
 Decorator (ParticleAdaptor p)

Constructor & Destructor Documentation

◆ Provenanced() [1/3]

IMP::core::Provenanced::Provenanced ( )

Definition at line 656 of file provenance.h.

◆ Provenanced() [2/3]

IMP::core::Provenanced::Provenanced ( ::IMP::Model * m,
::IMP::ParticleIndex id )

Definition at line 656 of file provenance.h.

◆ Provenanced() [3/3]

IMP::core::Provenanced::Provenanced ( const IMP::ParticleAdaptor & d)
explicit

Definition at line 656 of file provenance.h.

Member Function Documentation

◆ get_is_setup() [1/2]

bool IMP::core::Provenanced::get_is_setup ( const IMP::ParticleAdaptor & p)
static

Definition at line 656 of file provenance.h.

◆ get_is_setup() [2/2]

bool IMP::core::Provenanced::get_is_setup ( Model * m,
ParticleIndex pi )
static

Definition at line 641 of file provenance.h.

◆ get_provenance()

Provenance IMP::core::Provenanced::get_provenance ( ) const

Definition at line 645 of file provenance.h.

◆ set_provenance()

void IMP::core::Provenanced::set_provenance ( Provenance p) const

Definition at line 651 of file provenance.h.

◆ setup_particle() [1/2]

Provenanced IMP::core::Provenanced::setup_particle ( IMP::ParticleAdaptor pa,
Provenance p )
static
Returns
a Provenanced object that decorates the particle specified by pa
See also
setup_particle(m, pi, p)

Definition at line 657 of file provenance.h.

◆ setup_particle() [2/2]

Provenanced IMP::core::Provenanced::setup_particle ( Model * m,
ParticleIndex pi,
Provenance p )
static
Returns
a Provenanced object that decorates particle pi

Definition at line 657 of file provenance.h.


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