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
CrdFileSource.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
// Handles retrieval of atomic (coordinate) info from Charmm CRD files
14
15
#ifndef _RBTCRDFILESOURCE_H_
16
#define _RBTCRDFILESOURCE_H_
17
18
#include "rxdock/BaseMolecularFileSource.h"
19
20
namespace
rxdock {
21
22
class
CrdFileSource
:
public
BaseMolecularFileSource
{
23
public
:
24
// Constructors
25
CrdFileSource
(
const
char
*fileName);
26
CrdFileSource
(
const
std::string fileName);
27
28
// Default destructor
29
virtual
~CrdFileSource
();
30
32
// Override public methods from BaseMolecularDataSource
33
virtual
bool
isTitleListSupported() {
return
true
; }
34
virtual
bool
isAtomListSupported() {
return
true
; }
35
virtual
bool
isCoordinatesSupported() {
return
true
; }
36
virtual
bool
isBondListSupported() {
return
false
; }
37
38
protected
:
39
// Pure virtual in BaseFileSource - needs to be defined here
40
virtual
void
Parse();
41
42
private
:
43
// Private methods
44
CrdFileSource
();
// Disable default constructor
45
CrdFileSource
(
const
CrdFileSource
&);
// Copy constructor disabled by default
46
CrdFileSource
&
47
operator=(
const
CrdFileSource
&);
// Copy assignment disabled by default
48
};
49
50
// useful typedefs
51
typedef
SmartPtr<CrdFileSource>
CrdFileSourcePtr
;
// Smart pointer
52
53
}
// namespace rxdock
54
55
#endif
//_RBTCRDFILESOURCE_H_
rxdock::BaseMolecularFileSource
Definition
BaseMolecularFileSource.h:29
rxdock::CrdFileSource
Definition
CrdFileSource.h:22
rxdock::SmartPtr
Definition
SmartPointer.h:48
Generated by
1.9.7