File: extractors.sip

package info (click to toggle)
ball 1.5.0%2Bgit20180813.37fc53c-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 239,888 kB
  • sloc: cpp: 326,149; ansic: 4,208; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 322; makefile: 95
file content (95 lines) | stat: -rw-r--r-- 2,299 bytes parent folder | download | duplicates (4)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%ModuleCode
	#include <list>
	#include <BALL/KERNEL/extractors.h>
	using std::list;
%End

list<Atom*>                 atoms(const AtomContainer&, const String& expression = String());
list<PDBAtom*>              PDBAtoms(const AtomContainer&, const String& expression = String());
list<Bond*>                 bonds(const AtomContainer&, bool selected_only = false);
list<Bond*>                 bonds(const Atom&);
list<AtomContainer*>        atomContainers(const AtomContainer&, bool selected_only = false);
list<Fragment*>             fragments(const AtomContainer&, bool selected_only = false);
list<Molecule*>             molecules(const AtomContainer&, bool selected_only = false);
list<Residue*>              residues(const AtomContainer&, bool selected_only = false);
list<SecondaryStructure*>   secondaryStructures(const AtomContainer&, bool selected_only = false);
list<Chain*>                chains(const AtomContainer&, bool selected_only = false);
list<Protein*>              proteins(const AtomContainer&, bool selected_only = false);
list<Nucleotide*>           nucleotides(const AtomContainer&, bool selected_only = false);
list<NucleicAcid*>          nucleicAcids(const AtomContainer&, bool selected_only = false);

// this is the most useful class in the whole of BALL: it is here to get around some %$&%$/ sip bugs!
class BALLCoreSipExtractors
{
%TypeHeaderCode
	#include <BALL/KERNEL/extractors.h>

	namespace BALL {
		class BALLCoreSipExtractors
		{
			public:
		};
	}
%End

	public:
	list<Atom*>  __atoms();
%MethodCode
	// do nothing
%End

	list<PDBAtom*>  __PDBAtoms();
%MethodCode
	// do nothing
%End

	list<Bond*> __bonds();
%MethodCode
	// do nothing
%End

	list<AtomContainer*> __atomContainers();
%MethodCode
	// do nothing
%End

	list<Fragment*> __fragments();
%MethodCode
	// do nothing
%End

	list<Molecule*> __molecules();
%MethodCode
	// do nothing
%End

	list<Residue*> __residues();
%MethodCode
	// do nothing
%End

	list<SecondaryStructure*> __secondaryStructures();
%MethodCode
	// do nothing
%End

	list<Chain*> __chains();
%MethodCode
	// do nothing
%End

	list<Protein*> __proteins();
%MethodCode
	// do nothing
%End

	list<Nucleotide*> __nucleotides();
%MethodCode
	// do nothing
%End

	list<NucleicAcid*> __nucleicAcids();
%MethodCode
	// do nothing
%End
};