\section{Residue\-Registry  Class Reference}
\label{class_ResidueRegistry}\index{ResidueRegistry@{Residue\-Registry}}
{\tt \#include $<$residue\_\-registry.h$>$}

\subsection*{Static Public Methods}
\begin{CompactItemize}
\item 
int {\bf Check\-Type\_\-code\_\-1} ({\bf Dyn\-String} \&in\_\-label)
\begin{CompactList}\small\item\em checks if this is a valid 1 code, return -1 or species number (position in arrays below).\item\end{CompactList}\item 
int {\bf Set\-Type\_\-code\_\-1} ({\bf Residue} \&r, {\bf Dyn\-String} \&in\_\-label)
\begin{CompactList}\small\item\em sets reside to label type.\item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
const char$\ast$ {\bf names} [num\_\-known\_\-residue\_\-species]
\begin{CompactList}\small\item\em names of the residues.\item\end{CompactList}\item 
const char$\ast$ {\bf code\_\-1} [num\_\-known\_\-residue\_\-species]
\begin{CompactList}\small\item\em names of the residues.\item\end{CompactList}\item 
const char$\ast$ {\bf code\_\-3} [num\_\-known\_\-residue\_\-species]
\begin{CompactList}\small\item\em names of the residues.\item\end{CompactList}\item 
const int {\bf num\-Atoms} [num\_\-known\_\-residue\_\-species]
\begin{CompactList}\small\item\em number of atoms in the residues.\item\end{CompactList}\item 
const int {\bf num\-Bonds} [num\_\-known\_\-residue\_\-species]
\begin{CompactList}\small\item\em number of atoms in the residues.\item\end{CompactList}\end{CompactItemize}


\subsection{Member Function Documentation}
\index{ResidueRegistry@{Residue\-Registry}!CheckType_code_1@{CheckType\_\-code\_\-1}}
\index{CheckType_code_1@{CheckType\_\-code\_\-1}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Residue\-Registry::Check\-Type\_\-code\_\-1 ({\bf Dyn\-String} \& {\em in\_\-label})\hspace{0.3cm}{\tt  [inline, static]}}\label{class_ResidueRegistry_d0}


checks if this is a valid 1 code, return -1 or species number (position in arrays below).



Definition at line 91 of file residue\_\-registry.h.

Referenced by Molecule::read\-Fasta().\footnotesize\begin{verbatim}00091                                                                 {
00092   for (int i = 0; i < num_known_residue_species; i++){
00093     if (in_label == ResidueRegistry::code_1[i])
00094       return i;    
00095   }
00096 \end{verbatim}\normalsize 
\index{ResidueRegistry@{Residue\-Registry}!SetType_code_1@{SetType\_\-code\_\-1}}
\index{SetType_code_1@{SetType\_\-code\_\-1}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Residue\-Registry::Set\-Type\_\-code\_\-1 ({\bf Residue} \& {\em r}, {\bf Dyn\-String} \& {\em in\_\-type})\hspace{0.3cm}{\tt  [inline, static]}}\label{class_ResidueRegistry_d1}


sets reside to label type.



Definition at line 100 of file residue\_\-registry.h.

Referenced by Molecule::read\-Fasta().\footnotesize\begin{verbatim}00100                                                                         {
00101   for (int i = 0; i < num_known_residue_species; i++){
00102     if (in_type == ResidueRegistry::code_1[i]){
00103       r.Type_index = i;
00104       r.Type() = in_type;
00105       r.Label() = names[i];
00106       r.numAtoms = numAtoms[i];
00107       r.numBonds = numBonds[i];
00108       
00109       return r.ID();
00110     }
00111   }
00112 \end{verbatim}\normalsize 


\subsection{Member Data Documentation}
\index{ResidueRegistry@{Residue\-Registry}!code_1@{code\_\-1}}
\index{code_1@{code\_\-1}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Residue\-Registry::code\_\-1[num\_\-known\_\-residue\_\-species]\hspace{0.3cm}{\tt  [static]}}\label{class_ResidueRegistry_p1}


{\bf Initial value:}\footnotesize\begin{verbatim} {
  "A", "C", "D", "E", "F", "G", "H", "I", "K", "L", \
  "M", "N", "P", "Q", "R", "S", "T", "V", "W", "Y", \
  "X"
}\end{verbatim}\normalsize 
names of the residues.



Definition at line 174 of file globals.C.\index{ResidueRegistry@{Residue\-Registry}!code_3@{code\_\-3}}
\index{code_3@{code\_\-3}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Residue\-Registry::code\_\-3[num\_\-known\_\-residue\_\-species]\hspace{0.3cm}{\tt  [static]}}\label{class_ResidueRegistry_p2}


{\bf Initial value:}\footnotesize\begin{verbatim} {
  "ALA", "CYS", "ASP", "GLU", "PHE", "GLY", "HIS", "ILE", "LYS", "LEU", \
  "MET", "ASN", "PRO", "GLN", "ARG", "SER", "THR", "VAL", "TRP", "TYR", \
  "DUM" 
}\end{verbatim}\normalsize 
names of the residues.



Definition at line 181 of file globals.C.\index{ResidueRegistry@{Residue\-Registry}!names@{names}}
\index{names@{names}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Residue\-Registry::names[num\_\-known\_\-residue\_\-species]\hspace{0.3cm}{\tt  [static]}}\label{class_ResidueRegistry_p0}


{\bf Initial value:}\footnotesize\begin{verbatim} {
  "alanine","cystine","aspartate","glutamate","phenylalanine","glycine", \
  "histidine","isoleucine","lysine","leucine","methionine", \
  "asparagine","proline","glutamine","arginine","serine","threonine", \
  "valine","tryptophan","tyrosine","dummy"
}\end{verbatim}\normalsize 
names of the residues.



Definition at line 166 of file globals.C.\index{ResidueRegistry@{Residue\-Registry}!numAtoms@{numAtoms}}
\index{numAtoms@{numAtoms}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int Residue\-Registry::num\-Atoms[num\_\-known\_\-residue\_\-species]\hspace{0.3cm}{\tt  [static]}}\label{class_ResidueRegistry_p3}


{\bf Initial value:}\footnotesize\begin{verbatim} {
  5,6,8,9,11,4,10,8,9,8,8,8,7,9,11,6,7,7,14,12,  1
}\end{verbatim}\normalsize 
number of atoms in the residues.



Definition at line 188 of file globals.C.\index{ResidueRegistry@{Residue\-Registry}!numBonds@{numBonds}}
\index{numBonds@{numBonds}!ResidueRegistry@{Residue\-Registry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const int Residue\-Registry::num\-Bonds[num\_\-known\_\-residue\_\-species]\hspace{0.3cm}{\tt  [static]}}\label{class_ResidueRegistry_p4}


{\bf Initial value:}\footnotesize\begin{verbatim} {
  
  1,2,4,5, 8,0, 7,4,5,4,4,4,4,5, 7,2,3,3,12, 9,  0

}\end{verbatim}\normalsize 
number of atoms in the residues.



Definition at line 213 of file globals.C.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf residue\_\-registry.h}\item 
{\bf globals.C}\end{CompactItemize}
