Rosetta Protocols  2014.35
Public Member Functions | Private Types | Private Attributes | List of all members
protocols::noesy_assign::CrossPeak::Spin Class Reference

a single dimension of a multidimensional peak, stores putative assignments as indices into Resonance table More...

#include <CrossPeak.hh>

Public Member Functions

 Spin (core::Real freq)
 
 Spin ()
 
 ~Spin ()
 
core::Real freq () const
 resonance frequency of peak More...
 
void set_freq (core::Real freq)
 
void add_assignment (core::Size assignment)
 add index-pointer into Resonance table to assign peak to putative spin More...
 
core::Size assignment (core::Size nr) const
 return index-pointer into Resonance table More...
 
core::Size n_assigned () const
 
core::Size assignment_index (core::Size assignment) const
 

Private Types

typedef utility::vector1
< core::Size
SpinAssignments
 

Private Attributes

core::Real freq_
 
SpinAssignments assignments_
 

Detailed Description

a single dimension of a multidimensional peak, stores putative assignments as indices into Resonance table

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::noesy_assign::CrossPeak::Spin::Spin ( core::Real  freq)
protocols::noesy_assign::CrossPeak::Spin::Spin ( )
protocols::noesy_assign::CrossPeak::Spin::~Spin ( )

Member Function Documentation

void protocols::noesy_assign::CrossPeak::Spin::add_assignment ( core::Size  assignment)
inline
core::Size protocols::noesy_assign::CrossPeak::Spin::assignment ( core::Size  nr) const
inline

return index-pointer into Resonance table

References assignments_.

core::Size protocols::noesy_assign::CrossPeak::Spin::assignment_index ( core::Size  assignment) const
core::Real protocols::noesy_assign::CrossPeak::Spin::freq ( ) const
inline

resonance frequency of peak

References freq_.

Referenced by set_freq(), and protocols::noesy_assign::PeakFileFormat::write_resonances().

core::Size protocols::noesy_assign::CrossPeak::Spin::n_assigned ( ) const
inline
void protocols::noesy_assign::CrossPeak::Spin::set_freq ( core::Real  freq)
inline

Member Data Documentation

SpinAssignments protocols::noesy_assign::CrossPeak::Spin::assignments_
private
core::Real protocols::noesy_assign::CrossPeak::Spin::freq_
private

Referenced by freq(), and set_freq().


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