RxDock
0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
include
rxdock
SiteMapperFactory.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
// Factory class for creating docking site mapper objects.
14
15
#ifndef _RBTSITEMAPPERFACTORY_H_
16
#define _RBTSITEMAPPERFACTORY_H_
17
18
#include "rxdock/Config.h"
19
#include "rxdock/ParameterFileSource.h"
20
#include "rxdock/SiteMapper.h"
21
22
namespace
rxdock {
23
24
class
SiteMapperFactory
{
25
// Parameter name which identifies a site mapper definition
26
static
const
std::string _MAPPER;
27
28
public
:
30
// Constructors/destructors
31
32
RBTDLL_EXPORT
SiteMapperFactory
();
// Default constructor
33
virtual
~SiteMapperFactory
();
// Default destructor
34
36
// Public methods
38
39
// Creates a single site mapper object of named class
40
virtual
SiteMapper
*Create(
const
std::string &_strMapperClass,
41
const
std::string &strName);
42
43
// Creates a single site mapper object whose class is defined
44
// as the value of the SITE_MAPPER parameter in the strName section of the
45
// parameter file source argument. Also sets the site mapper parameters from
46
// the remaining parameter values in the current section Note: the current
47
// section is restored to its original value upon exit
48
virtual
SiteMapper
*CreateFromFile(
ParameterFileSourcePtr
spPrmSource,
49
const
std::string &strName);
50
51
protected
:
53
// Protected methods
55
56
private
:
58
// Private methods
60
61
SiteMapperFactory
(
62
const
SiteMapperFactory
&);
// Copy constructor disabled by default
63
SiteMapperFactory
&
64
operator=(
const
SiteMapperFactory
&);
// Copy assignment disabled by default
65
66
protected
:
68
// Protected data
70
71
private
:
73
// Private data
75
};
76
77
// Useful typedefs
78
typedef
SmartPtr<SiteMapperFactory>
SiteMapperFactoryPtr
;
// Smart pointer
79
80
}
// namespace rxdock
81
82
#endif
//_RBTSITEMAPPERFACTORY_H_
rxdock::SiteMapperFactory
Definition
SiteMapperFactory.h:24
rxdock::SiteMapper
Definition
SiteMapper.h:34
rxdock::SmartPtr< ParameterFileSource >
Generated by
1.9.7