Mercurial > repo
annotate interps/rail/src/Binding.h @ 3251:72e50bb3171f
<nooodl> learn hthmonoids hthmonoids hthmonoids hthmonoids hthmonoids hthmonoids ...
author | HackBot |
---|---|
date | Sun, 30 Jun 2013 01:59:02 +0000 |
parents | 859f9b4339e6 |
children |
rev | line source |
---|---|
996 | 1 // Binding.h |
2 | |
3 #ifndef BINDING_H_RAIL_1 | |
4 #define BINDING_H_RAIL_1 | |
5 | |
6 class Var; | |
7 | |
8 class Binding | |
9 { | |
10 public: | |
11 Binding(); | |
12 explicit Binding(Var * newData); | |
13 ~Binding(); | |
14 | |
15 Binding(Binding const & right); | |
16 Binding & operator=(Binding const & right); | |
17 | |
18 Var * operator->(void); | |
19 Var const * operator->(void) const; | |
20 Var & operator*(void); | |
21 Var const & operator*(void) const; | |
22 | |
23 bool null(void); | |
24 private: | |
25 Var * data; | |
26 }; | |
27 | |
28 #endif |