Sheet

This class defines a beta sheet that is constructed from beta strands

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

Quick Index

KEWORDS
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class Sheet
: public SmallArray< Strand>

{
public:
Sheet();
Sheet(const unsigned short size, const char sheet_id[]);
explicit Sheet(const char* const PDBrec);
bool isCurrSheet(const char sheetId[]) const;
bool add(const char* const PDBrec);
Sheet& operator=(const Sheet& rhs);
friend ostream& operator<<(ostream& s, const Sheet& bs);
protected:
}; // Sheet

Back to the top of Sheet


KEWORDS

beta, sheet, starnd, parallelism, connection, nytrogen group, hydrogen bonding

Back to the top of Sheet


AUTHORS

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

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

Back to the top of Sheet


CHANGES LOG

Back to the top of Sheet


GOALS

The goals of this class is to define the secondary structure knows as beta sheet. Taking all the appropriate information from the the strand lines in the pdb file. It builds the sheet strand by strand (aka. line by line). It also performs all kind of sanity checks like not entering a strand with the index number 5 when we inly have 4 strands in the helix.

Back to the top of Sheet


USAGE

Back to the top of Sheet


Sheet();

Empty constructor

    Sheet();

Back to the top of Sheet


Sheet(const unsigned short size, const char sheet_id[]);

Regular constructor need to know the number of strands the sheet will hold there is no possibility to enter more strands then this number

    Sheet(const unsigned short size, const char sheet_id[]);

Back to the top of Sheet


explicit Sheet(const char* const PDBrec);

Strarting the sheet from any strand PDB line though it is highly recommended to start it from the first line.

    explicit Sheet(const char* const PDBrec);

Back to the top of Sheet


bool isCurrSheet(const char sheetId[]) const;

Checking if a certain code belongs to the current sheet code

    bool isCurrSheet(const char sheetId[]) const;

Back to the top of Sheet


bool add(const char* const PDBrec);

/ Adding strands with all the appropriate sanity checks.

    bool add(const char* const PDBrec);

Back to the top of Sheet


Sheet& operator=(const Sheet& rhs);

Assigment Operator

    Sheet& operator=(const Sheet& rhs);

Back to the top of Sheet


friend ostream& operator<<(ostream& s, const Sheet& bs);

streaming to output in the following format: SHEET list of all the strands in the strand fromat

    friend ostream& operator<<(ostream& s, const Sheet& bs); 

Back to the top of Sheet


All Members

public:
// STL compliance defintions
typedef DataT* iterator;
typedef const DataT* const_iterator;
typedef DataT& reference;
typedef const DataT& const_reference;
// Constructors/Destructor
explicit SmallArray(unsigned short size);
bool push_back(const DataT& elem);
// OPERATORS
SmallArray< DataT>& operator=(const SmallArray< DataT>& sa);
reference operator[](unsigned short index);
const_reference operator[](unsigned short index) const;
iterator begin();
const_iterator begin() const;
iterator end();
const_iterator end() const;
unsigned short size() const ;
unsigned short max_size() const ;
unsigned short capacity() const ;
bool empty() ;
bool full() ;
explicit Sheet(const char* const PDBrec);
bool isCurrSheet(const char sheetId[]) const;
bool add(const char* const PDBrec);
Sheet& operator=(const Sheet& rhs);
friend ostream& operator<<(ostream& s, const Sheet& bs);
protected:

Back to the top of Sheet


Ancestors

Inheritance chain for Sheet:

Back to the top of Sheet


Descendants

Class is not inherited by any others.

Back to the top of Sheet


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

Report problems to jkotula@unimax.com