RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
Parser.h
1/***********************************************************************
2 * The rDock program was developed from 1998 - 2006 by the software team
3 * at RiboTargets (subsequently Vernalis (R&D) Ltd).
4 * In 2006, the software was licensed to the University of York for
5 * maintenance and distribution.
6 * In 2012, Vernalis and the University of York agreed to release the
7 * program as Open Source software.
8 * This version is licensed under GNU-LGPL version 3.0 with support from
9 * the University of Barcelona.
10 * http://rdock.sourceforge.net/
11 ***********************************************************************/
12
13// Parser class. Takes a list of tokens and parsers them to create a
14// Filter Expression
15
16#ifndef _RBT_PARSER_H_
17#define _RBT_PARSER_H_
18
19#include "rxdock/Context.h"
20#include "rxdock/FilterExpression.h"
21#include "rxdock/Token.h"
22#include "rxdock/TokenIter.h"
23
24namespace rxdock {
25
26class FilterExpression;
27
28class Parser {
29public:
30 static const std::string _CT;
32 // Constructors
34 Parser(const Parser &);
35 Parser();
37
39 // Destructor
41 virtual ~Parser();
42
44 // Private methods
46
47private:
48};
49
50// Useful typedefs
51typedef SmartPtr<Parser> ParserPtr; // Smart pointer
52typedef std::vector<ParserPtr> ParserList; // Vector of smart pointers
53typedef ParserList::iterator ParserListIter;
54typedef ParserList::const_iterator ParserListConstIter;
55
56// Compare class to compare different genomes inside a population
57// This is used to sort the genomes in a population depending
58// of the value of their scoring function.
59
60} // namespace rxdock
61
62#endif //_Parser_H_
Definition Parser.h:28