File: Help.h

package info (click to toggle)
clustalx 2.1%2Blgpl-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,868 kB
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 15
file content (44 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (12)
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