FooBar
coord.h
Go to the documentation of this file.
1 #ifndef _coord_h_
2 #define _coord_h_
3 
4 template<int DIMENSIONS>
5 class Coord;
6 
7 class Coord<1>
8 {
9  friend class Serialization;
10 public:
11  int x;
12 };
13 
14 class Coord<2>
15 {
16  friend class Typemaps;
17 public:
18  int x, y;
19 };
20 
21 class Coord<3>
22 {
23  friend class Typemaps;
24  friend class Serialization;
25 public:
26  int x, y, z;
27 };
28 
29 #endif