home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.8.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Modules
Classes
Examples
include
IMP
version 2.8.0
input_output.h
Go to the documentation of this file.
1
/**
2
* \file IMP/input_output.h
3
* \brief Single variable function.
4
*
5
* Copyright 2007-2017 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPKERNEL_INPUT_OUTPUT_H
9
#define IMPKERNEL_INPUT_OUTPUT_H
10
11
#include <IMP/kernel_config.h>
12
#include "
base_types.h
"
13
#include "
container_base.h
"
14
#include "
Particle.h
"
15
16
IMPKERNEL_BEGIN_NAMESPACE
17
18
/** \name Inputs and outputs
19
These methods recursively find all inputs or outputs of a given type.
20
21
If you don't want recursive, use the non input/output variants.
22
@{
23
*/
24
//! Return all the input particles for a given ModelObject.
25
IMPKERNELEXPORT ParticlesTemp
get_input_particles
(
const
ModelObjectsTemp
&mos);
26
27
//! Return all the input particles for a given ModelObject.
28
IMPKERNELEXPORT
ContainersTemp
29
get_input_containers
(
const
ModelObjectsTemp
&mos);
30
31
//! Return all the output particles for a given ModelObject.
32
IMPKERNELEXPORT ParticlesTemp
get_output_particles
(
const
ModelObjectsTemp
&mos);
33
34
//! Return all the output particles for a given ModelObject.
35
IMPKERNELEXPORT
ContainersTemp
36
get_output_containers
(
const
ModelObjectsTemp
&mos);
37
/** @} */
38
39
IMPKERNEL_END_NAMESPACE
40
41
#endif
/* IMPKERNEL_INPUT_OUTPUT_H */
base_types.h
Basic types used by IMP.
IMP::get_input_containers
ContainersTemp get_input_containers(const ModelObjectsTemp &mos)
Return all the input particles for a given ModelObject.
IMP::ContainersTemp
IMP::Vector< IMP::WeakPointer< Container > > ContainersTemp
Definition:
base_types.h:94
IMP::get_output_containers
ContainersTemp get_output_containers(const ModelObjectsTemp &mos)
Return all the output particles for a given ModelObject.
IMP::get_output_particles
ParticlesTemp get_output_particles(const ModelObjectsTemp &mos)
Return all the output particles for a given ModelObject.
IMP::ModelObjectsTemp
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
Definition:
base_types.h:82
Particle.h
Classes to handle individual model particles. (Note that implementation of inline functions is in int...
container_base.h
Abstract base class for containers of particles.
IMP::get_input_particles
ParticlesTemp get_input_particles(const ModelObjectsTemp &mos)
Return all the input particles for a given ModelObject.