IMP Reference Guide
2.14.0
The Integrative Modeling Platform
|
Track creation of a system fragment from running some software. More...
#include <IMP/core/provenance.h>
Track creation of a system fragment from running some software.
Part of the system (usually the top of a Hierarchy) tagged with this decorator is understood to have been generated by running the given software (e.g. IMP itself, or an extension module).
Definition at line 562 of file provenance.h.
Public Member Functions | |
SoftwareProvenance (::IMP::Model *m,::IMP::ParticleIndex id) | |
SoftwareProvenance (const IMP::ParticleAdaptor &d) | |
std::string | get_location () const |
std::string | get_software_name () const |
std::string | get_version () const |
void | set_location (std::string location) const |
Set the location. More... | |
void | set_software_name (std::string name) const |
Set the name. More... | |
void | set_version (std::string version) const |
Set the version. More... | |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::core::Provenance | |
Provenance (::IMP::Model *m,::IMP::ParticleIndex id) | |
Provenance (const IMP::ParticleAdaptor &d) | |
Provenance | get_previous () const |
void | set_previous (Provenance p) |
Set the previous provenance. More... | |
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. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static SoftwareProvenance | setup_particle (IMP::ParticleAdaptor decorator, std::string name, std::string version, std::string location) |
static SoftwareProvenance | setup_particle (Model *m, ParticleIndex pi, std::string name, std::string version, std::string location) |
static SoftwareProvenance | setup_particle (IMP::ParticleAdaptor decorator, SoftwareProvenance o) |
static SoftwareProvenance | setup_particle (Model *m, ParticleIndex pi, SoftwareProvenance o) |
Static Public Member Functions inherited from IMP::core::Provenance | |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static Provenance | setup_particle (Model *m, ParticleIndex pi) |
static Provenance | setup_particle (IMP::ParticleAdaptor decorator) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
std::string IMP::core::SoftwareProvenance::get_location | ( | ) | const |
Definition at line 620 of file provenance.h.
std::string IMP::core::SoftwareProvenance::get_software_name | ( | ) | const |
Definition at line 597 of file provenance.h.
std::string IMP::core::SoftwareProvenance::get_version | ( | ) | const |
Definition at line 608 of file provenance.h.
void IMP::core::SoftwareProvenance::set_location | ( | std::string | location | ) | const |
Set the location.
Definition at line 614 of file provenance.h.
void IMP::core::SoftwareProvenance::set_software_name | ( | std::string | name | ) | const |
Set the name.
Definition at line 591 of file provenance.h.
void IMP::core::SoftwareProvenance::set_version | ( | std::string | version | ) | const |
Set the version.
Definition at line 602 of file provenance.h.
|
static |
Setup the particle so it can be used with this decorator.
Definition at line 627 of file provenance.h.
|
static |
Definition at line 628 of file provenance.h.
|
static |
Setup the particle so that it can be used with this decorator
Definition at line 628 of file provenance.h.