8#ifndef IMPNPCTRANSPORT_TYPEDEFS_H
9#define IMPNPCTRANSPORT_TYPEDEFS_H
11#include "npctransport_config.h"
13#include <boost/unordered_set.hpp>
17IMPNPCTRANSPORT_BEGIN_NAMESPACE
20typedef std::pair<IMP::core::ParticleType, IMP::core::ParticleType>
25inline IMPNPCTRANSPORTEXPORT
34inline IMPNPCTRANSPORTEXPORT
60typedef boost::unordered_set<core::ParticleType> ParticleTypeSet;
62IMPNPCTRANSPORT_END_NAMESPACE
65inline std::ostream&
operator<<
68inline std::ostream&
operator<<
71 o <<
"(" << it.first <<
"," << it.second <<
")";
A particle with a user-defined type.
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
InteractionType make_unordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
std::pair< IMP::core::ParticleType, IMP::core::ParticleType > InteractionType
an interaction that involves particles of two types
IMP::Vector< InteractionType > InteractionTypes
IMP::ParticleIndexPair make_unordered_particle_index_pair(IMP::ParticleIndex pi0, IMP::ParticleIndex pi1)
InteractionType make_ordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
convenience method for creating and interaction type in swig
Index< ParticleIndexTag > ParticleIndex
Array< 2, ParticleIndex > ParticleIndexPair
An ordered pair of particles, each identified by its ParticleIndex.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.