X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=binaries%2Fsrc%2FViennaRNA%2FRNAforester%2Fsrc%2Frnaforestsz.h;fp=binaries%2Fsrc%2FViennaRNA%2FRNAforester%2Fsrc%2Frnaforestsz.h;h=e8aabf0454cefb8d5de92bd86a58b75ed89af8fc;hb=7522ace91fc0804a9719dbac9f68bc8154da3132;hp=0000000000000000000000000000000000000000;hpb=8116c0444fe98e8eb21bcdd8ded06e1429085823;p=jabaws.git diff --git a/binaries/src/ViennaRNA/RNAforester/src/rnaforestsz.h b/binaries/src/ViennaRNA/RNAforester/src/rnaforestsz.h new file mode 100644 index 0000000..e8aabf0 --- /dev/null +++ b/binaries/src/ViennaRNA/RNAforester/src/rnaforestsz.h @@ -0,0 +1,49 @@ +/* + Copyright by Matthias Hoechsmann (C) 2002 + ===================================== + You may use, copy and distribute this file freely as long as you + - do not change the file, + - leave this copyright notice in the file, + - do not make any profit with the distribution of this file + - give credit where credit is due + You are not allowed to copy or distribute this file otherwise + The commercial usage and distribution of this file is prohibited + Please report bugs and suggestions to +*/ + +#ifndef _RNA_FORESTSZ_H_ +#define _RNA_FORESTSZ_H_ + +#include + +#include "ppforestsz.h" +#include "rna_alphabet.h" + +using namespace std; + + +// RNAForestSZ + +class RNAForestSZ : public PPForestSZ +{ + private: + string m_name; + string m_baseStr; + string m_viennaStr; + +// void showLabel(ostream &s,RNA_Alphabet a); // virtual function of PPForest +// void makeLabel(RNA_Alphabet &a,char c); + void buildForest(Uint &pos, Uint &node); + public: + RNAForestSZ(const string &baseStr, const string &viennaStr, const string &name); + + const string& getName() const {return m_name;}; + const string& getBaseStr() const {return m_baseStr;}; + const string& getViennaStr() const {return m_viennaStr;}; + +// void plot2d(const string &filename_prefix, const list > ®ions, const RNAFuncs::SquigglePlotOptions &sqOptions); +}; + +#endif + +