StrandConnection

This class defines the connection between two strands in the same beta sheet.

[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

KEWORDS
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class StrandConnection
{
public:
// Constructors
StrandConnection();
StrandConnection(const char curAtomId, const int curResSeq, const char prevAtomId, const int prevResSeq);
StrandConnection(const StrandConnection& stcn);
explicit StrandConnection(const char* const PDBrec);
Vector3 connectionDirection(const Molecule< Particle>& mol) const;
// Data members information
ConnectEnd currEnd() const;
ConnectEnd prevEnd() const;
// Boolean Operation
bool operator==(const StrandConnection& stcn);
bool isEmpty() const;
friend ostream& operator<<(ostream& s, const StrandConnection& stcn);
protected:
}; // StrandConnection

Back to the top of StrandConnection


KEWORDS

strand, connection, sheet, nytrogen group, hydrogen bonding

Back to the top of StrandConnection


AUTHORS

Zipi Fligelamn (zipo@math.tau.ac.il)

Copyright: SAMBA group, Tel-Aviv Univ. Israel, 1999.

Back to the top of StrandConnection


CHANGES LOG

Back to the top of StrandConnection


GOALS

Since class defines the connection between two strands in the same beta sheet. The connection is defined from strand n to strand n-1 in the sheet. Thus the first defined strand cannot have a connection information, thus it defines an empty StrandConnection. The connection is specified by one hydrogen bond between each such pair of strand. This is done by providing thew hydrogen bonding between the current and the previous strands.

Back to the top of StrandConnection


USAGE

to be used only in the context of a full sheet

Back to the top of StrandConnection


StrandConnection();

Empty Constructor

  StrandConnection();

Back to the top of StrandConnection


StrandConnection(const char curAtomId, const int curResSeq, const char prevAtomId, const int prevResSeq);

Regular Constructor holding all the appropriate infromation

  StrandConnection(const char curAtomId, const int curResSeq,
                   const char prevAtomId, const int prevResSeq);

Back to the top of StrandConnection


StrandConnection(const StrandConnection& stcn);

Copy constructor

  StrandConnection(const StrandConnection& stcn);

Back to the top of StrandConnection


explicit StrandConnection(const char* const PDBrec);

Constructor from the appropriate PDB Line

  explicit StrandConnection(const char* const PDBrec);

Back to the top of StrandConnection


Vector3 connectionDirection(const Molecule< Particle>& mol) const;

Given an appropriate Molecules that was read from the same pdb file will return a normed vector of the connection direction. The direction is always defined from the previous strand to the current strand

  Vector3 connectionDirection(const Molecule< Particle>& mol) const;

Back to the top of StrandConnection


ConnectEnd currEnd() const;

the atom number and chain defining the connection on the current strand in the sheet

  inline ConnectEnd currEnd() const;

Function is currently defined inline.


Back to the top of StrandConnection


ConnectEnd prevEnd() const;

the atom number and chain defining the connection on the previous strand in the sheet

  inline ConnectEnd prevEnd() const;

Function is currently defined inline.


Back to the top of StrandConnection


bool operator==(const StrandConnection& stcn);

Equality operator

  bool operator==(const StrandConnection& stcn);

Back to the top of StrandConnection


bool isEmpty() const;

An indication that this connection was started from a first strand in the sheet PDB record

  bool isEmpty() const;

Back to the top of StrandConnection


friend ostream& operator<<(ostream& s, const StrandConnection& stcn);

Ostream operator for various puproses notice the atoms apper in the following way (type of atom , RESIDUE number) there is no atom number only the residue number this atom belongs to.

  friend ostream& operator<<(ostream& s, const StrandConnection& stcn);

Back to the top of StrandConnection


All Members

public:
// Constructors
explicit StrandConnection(const char* const PDBrec);
Vector3 connectionDirection(const Molecule< Particle>& mol) const;
// Data members information
ConnectEnd currEnd() const;
ConnectEnd prevEnd() const;
// Boolean Operation
bool operator==(const StrandConnection& stcn);
bool isEmpty() const;
friend ostream& operator<<(ostream& s, const StrandConnection& stcn);
protected:

Back to the top of StrandConnection


Ancestors

Class does not inherit from any other class.

Back to the top of StrandConnection


Descendants

Class is not inherited by any others.

Back to the top of StrandConnection


Generated from source by the Cocoon utilities on Sun Nov 15 13:35:26 2009 .

Report problems to jkotula@unimax.com