|
BALL
1.4.2
|
#include <BALL/NMR/peak.h>
Public Types | |
Typedefs | |
| typedef PositionType | Position |
Public Member Functions | |
Constructors and Destructors | |
| Peak () | |
| Peak (const Peak &peak) | |
| virtual | ~Peak () |
Accessors | |
| const Position & | getPosition () const |
| const Position & | getWidth () const |
| float | getIntensity () const |
| void | setPosition (const Position &position) |
| void | setWidth (const Position &width) |
| void | setIntensity (float intensity) |
| const Atom * | getAtom () const |
| void | setAtom (const Atom *atom) |
Assignment | |
| void | operator= (const Peak &peak) |
Predicates | |
| bool | operator== (const Peak< PositionType > &peak) const |
| bool | operator< (const Peak< PositionType > &peak) const |
| bool | operator> (const Peak< PositionType > &peak) const |
Public Member Functions inherited from BALL::PropertyManager | |
| BALL_INLINE | PropertyManager () |
| Default constructor. More... | |
| BALL_INLINE | PropertyManager (const PropertyManager &property_manager) |
| Copy constructor. More... | |
| virtual | ~PropertyManager () |
| Destructor. More... | |
| virtual void | clear () |
| Clears all properties. More... | |
| virtual void | destroy () |
| Clears all properties. More... | |
| void | set (const PropertyManager &property_manager) |
| const PropertyManager & | operator= (const PropertyManager &property_manager) |
| void | get (PropertyManager &property_manager) const |
| void | swap (PropertyManager &property_manager) |
| BitVector & | getBitVector () |
| const BitVector & | getBitVector () const |
| operator BitVector & () | |
| void | setProperty (Property property) |
| void | clearProperty (Property property) |
| void | toggleProperty (Property property) |
| Size | countProperties () const |
| const NamedProperty & | getNamedProperty (Position index) const |
| NamedProperty & | getNamedProperty (Position index) |
| void | setProperty (const NamedProperty &property) |
| void | setProperty (const string &name) |
| void | setProperty (const string &name, bool value) |
| void | setProperty (const string &name, int value) |
| void | setProperty (const string &name, unsigned int value) |
| void | setProperty (const string &name, float value) |
| void | setProperty (const string &name, double value) |
| void | setProperty (const string &name, const string &value) |
| void | setProperty (const string &name, const PersistentObject &value) |
| const NamedProperty & | getProperty (const string &name) const |
| NamedPropertyIterator | beginNamedProperty () |
| NamedPropertyIterator | endNamedProperty () |
| void | clearProperty (const string &name) |
| Size | countNamedProperties () const |
| bool | hasProperty (Property property) const |
| Query for an unnamed property. More... | |
| bool | hasProperty (const string &name) const |
| Query for a named property. More... | |
| bool | operator== (const PropertyManager &pm) const |
| bool | operator!= (const PropertyManager &pm) const |
| Inequality operator. More... | |
| void | write (PersistenceManager &pm) const |
| Persistent stream writing. More... | |
| bool | read (PersistenceManager &pm) |
| Persistent stream reading. More... | |
| bool | isValid () const |
| void | dump (std::ostream &s=std::cout, Size depth=0) const |
Protected Attributes | |
| Position | position_ |
| Position | width_ |
| float | intensity_ |
| const Atom * | atom_ |
Generic Peak Class. Each peak contains a pointer to an associated atom (in the case of NMR: the atom that causes this peak).
| typedef PositionType BALL::Peak< PositionType >::Position |
| BALL::Peak< PositionType >::Peak | ( | ) |
| BALL::Peak< PositionType >::Peak | ( | const Peak< PositionType > & | peak | ) |
|
virtual |
| BALL_INLINE const Atom * BALL::Peak< PositionType >::getAtom | ( | ) | const |
| BALL_INLINE float BALL::Peak< PositionType >::getIntensity | ( | ) | const |
| BALL_INLINE const Peak< PositionType >::Position & BALL::Peak< PositionType >::getPosition | ( | ) | const |
| BALL_INLINE const Peak< PositionType >::Position & BALL::Peak< PositionType >::getWidth | ( | ) | const |
| bool BALL::Peak< PositionType >::operator< | ( | const Peak< PositionType > & | peak | ) | const |
| void BALL::Peak< PositionType >::operator= | ( | const Peak< PositionType > & | peak | ) |
| bool BALL::Peak< PositionType >::operator== | ( | const Peak< PositionType > & | peak | ) | const |
| bool BALL::Peak< PositionType >::operator> | ( | const Peak< PositionType > & | peak | ) | const |
| BALL_INLINE void BALL::Peak< PositionType >::setAtom | ( | const Atom * | atom | ) |
| BALL_INLINE void BALL::Peak< PositionType >::setIntensity | ( | float | intensity | ) |
| BALL_INLINE void BALL::Peak< PositionType >::setPosition | ( | const Position & | position | ) |
| BALL_INLINE void BALL::Peak< PositionType >::setWidth | ( | const Position & | width | ) |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.3.1