IMP logo

IMP::ParticleTuple< D > Class Template Reference


Detailed Description

template<unsigned int D>
class IMP::ParticleTuple< D >

A class to store a tuple of particles.

Note:
These do not ref counting currently. SWIG prevents use of internal::OwnerPointer<Particle> as the storage type without some gymnastics.
Only the constructor with the correct number of arguments for the dimensionality can be used.

Note:
ParticleTuple objects are ordered.
Inheritance diagram for IMP::ParticleTuple< D >:

Inheritance graph
[legend]

Public Types

typedef ParticleTuple< D > This

Public Member Functions

Particleget (unsigned int i) const
std::string get_name () const
Particle *& operator[] (unsigned int i)
Particleoperator[] (unsigned int i) const
 ParticleTuple (Particle *x0, Particle *x1, Particle *x2, Particle *x3)
 ParticleTuple (Particle *x, Particle *y, Particle *z)
 ParticleTuple (Particle *x, Particle *y)

Static Public Member Functions

static const unsigned int get_dimension ()

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

Generated on Mon Mar 8 23:08:43 2010 for IMP by doxygen 1.5.8