blob: 5bf8a2d4be88c05a8b5bd3b0f529933ae67d7de5 (
plain)
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
|
--- coot-utils/coot-coord-utils.cc.orig 2007-11-14 09:38:31.000000000 -0800
+++ coot-utils/coot-coord-utils.cc 2007-11-14 09:44:50.000000000 -0800
@@ -395,28 +395,30 @@
return SelHnd;
}
-std::ostream& coot::operator<< (std::ostream& s, const coot::atom_spec_t &spec) {
+namespace coot {
+ std::ostream& operator<< (std::ostream& s, const atom_spec_t &spec) {
- s << "[spec: ";
- s << "\"";
- s << spec.chain;
- s << "\" ";
- s << spec.resno;
- s << " ";
- s << "\"";
- s << spec.insertion_code;
- s << "\"";
- s << " ";
- s << "\"";
- s << spec.atom_name;
- s << "\"";
- s << " ";
- s << "\"";
- s << spec.alt_conf;
- s << "\"]";
+ s << "[spec: ";
+ s << "\"";
+ s << spec.chain;
+ s << "\" ";
+ s << spec.resno;
+ s << " ";
+ s << "\"";
+ s << spec.insertion_code;
+ s << "\"";
+ s << " ";
+ s << "\"";
+ s << spec.atom_name;
+ s << "\"";
+ s << " ";
+ s << "\"";
+ s << spec.alt_conf;
+ s << "\"]";
- return s;
+ return s;
+ }
}
|