8 #ifndef IMPNPCTRANSPORT_TYPEDEFS_H 
    9 #define IMPNPCTRANSPORT_TYPEDEFS_H 
   11 #include "npctransport_config.h" 
   13 #include <boost/unordered_set.hpp> 
   17 IMPNPCTRANSPORT_BEGIN_NAMESPACE
 
   20 typedef std::pair<IMP::core::ParticleType, IMP::core::ParticleType>
 
   25 inline IMPNPCTRANSPORTEXPORT
 
   34 inline IMPNPCTRANSPORTEXPORT
 
   60 typedef boost::unordered_set<core::ParticleType> ParticleTypeSet;
 
   62 IMPNPCTRANSPORT_END_NAMESPACE
 
   65 inline std::ostream& 
operator<<
 
   68 inline std::ostream& 
operator<<
 
   71   o << 
"(" << it.first << 
"," << it.second << 
")";
 
std::pair< IMP::core::ParticleType, IMP::core::ParticleType > InteractionType
an interaction that involves particles of two types 
 
A more IMP-like version of the std::vector. 
 
A particle with a user-defined type. 
 
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values. 
 
ParticleIndexPair make_unordered_particle_index_pair(ParticleIndexPair pip)
 
InteractionType make_unordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
 
InteractionType make_ordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
convenience method for creating and interaction type in swig