Victor
 All Data Structures Functions Variables Friends Pages
SeqConstructor Class Reference

This class builds a spacer by concatenating the same aminoacid type for n times. More...

Public Member Functions

virtual SpacermakeSpacer (string type, unsigned int n)
 

Protected Member Functions

void buildAminoAcid (AminoAcid &aa, AminoAcid *prev)
 
virtual void loadReference ()
 

Detailed Description

This class builds a spacer by concatenating the same aminoacid type for n times.

Member Function Documentation

void buildAminoAcid ( AminoAcid aa,
AminoAcid prev 
)
protected

Binds the AminoAcid with the previous one.

Parameters
aa
prev
void loadReference ( )
protectedvirtual

Helper function to load the reference file. (same as in SeqLoader)

Spacer & makeSpacer ( string  type,
unsigned int  n 
)
virtual

Creates a Spacer with only one type of AminoAcid

Parameters
typeThe type of the AminoAcid
nThe length of the Spacer
Returns
The Spacer

The documentation for this class was generated from the following files: