Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RazorBack::Monomer_::Abbrev_ Class Reference

Subclass Abbrev_: stores a 1-letter and a 3-letter abbreviation for a monomer together. More...

#include <Monomer.hh>

List of all members.

Public Methods

 Abbrev_ (char C='X', const char *Ccc="Xxx")
 Init to store 'C' and "Ccc" as abbreviations. More...

char code_1 () const
 code_1(), code_3(): get the abbreviations.

const char* code_3 () const

Protected Methods

void set_codes (char C, const char *Ccc)
 set_codes(C, Ccc): the abbreviations may only be set together. More...


Private Attributes

char Code1
 one-letter abbreviation.

char Code3 [4]
 three-letter abbreviation.


Friends

class  Monomer_


Detailed Description

Subclass Abbrev_: stores a 1-letter and a 3-letter abbreviation for a monomer together.

Definition at line 43 of file Monomer.hh.


Constructor & Destructor Documentation

RazorBack::Monomer_::Abbrev_::Abbrev_ ( char C = 'X',
const char * Ccc = "Xxx" ) [inline, explicit]
 

Init to store 'C' and "Ccc" as abbreviations.

Defaults are 'X' and "Xxx".

Definition at line 59 of file Monomer.hh.


Member Function Documentation

char RazorBack::Monomer_::Abbrev_::code_1 ( ) const [inline]
 

code_1(), code_3(): get the abbreviations.

Definition at line 65 of file Monomer.hh.

const char * RazorBack::Monomer_::Abbrev_::code_3 ( ) const [inline]
 

Definition at line 66 of file Monomer.hh.

void RazorBack::Monomer_::Abbrev_::set_codes ( char C,
const char * Ccc ) [inline, protected]
 

set_codes(C, Ccc): the abbreviations may only be set together.

Non-const access only for Monomer_

Definition at line 75 of file Monomer.hh.

Referenced by Abbrev_().


Friends And Related Function Documentation

friend class Monomer_ [friend]
 

Definition at line 45 of file Monomer.hh.


Member Data Documentation

char RazorBack::Monomer_::Abbrev_::Code1 [private]
 

one-letter abbreviation.

Definition at line 49 of file Monomer.hh.

char RazorBack::Monomer_::Abbrev_::Code3 [private]
 

three-letter abbreviation.

Definition at line 50 of file Monomer.hh.


The documentation for this class was generated from the following file:
Generated at Wed Aug 21 09:33:43 2002 for The Razorback C++ Library: Bioinformatics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001