IMP logo

IMP::atom::Fragment Class Reference


Detailed Description

A decorator to associate a particle with a part of a protein/DNA/RNA.

The decorator stores an optional list of resdiue indexes.

Inheritance diagram for IMP::atom::Fragment:

Inheritance graph
[legend]

Public Member Functions

 Fragment (::IMP::Particle *p)
bool get_contains_residue (int rindex)
 Return true if this fragment contains a given residue.
Ints get_residue_indexes () const
ResidueIndexIterator residue_indexes_begin () const
ResidueIndexIterator residue_indexes_end () const
void set_residue_indexes (Ints o)
 Add the residues whose indexes are listed in the passed vector.

Static Public Member Functions

static Fragment decorate_particle (::IMP::Particle *p)
static bool particle_is_instance (Particle *p)
static Fragment setup_particle (Particle *p, Fragment o)
 Create a domain by copying from o.
static Fragment setup_particle (Particle *p)

Member Function Documentation

bool IMP::atom::Fragment::get_contains_residue ( int  rindex  ) 

Return true if this fragment contains a given residue.

This could be made more efficient.


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

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