1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
/**
* Author: Andreas Wilm
*
* Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
*/
/**
* This is the clustalw help class which replaces the old help file
*
*/
#ifndef HELP_H
#define HELP_H
#include <string>
#include <iostream>
using namespace std;
typedef struct {
string marker;
string title;
string content;
} section;
class Help {
public:
/* Functions */
Help();
~Help();
string GetSection(string marker);
string GetSection(char marker);
string GetSectionTitle(string marker);
string GetSectionTitle(char marker);
vector<string> ListSectionMarkers();
/* Attributes */
private:
/* Functions */
/* Attributes */
vector<section> sections;
};
#endif
|