view interps/rail/src/Binding.h @ 3968:e82654a7f372

<ais523\unfoog> addquote <kmc> Sgeo: oh yeah those animated characters were built into the operating system and there was an API for them
author HackBot
date Fri, 01 Nov 2013 03:30:15 +0000
parents 859f9b4339e6
children
line wrap: on
line source

// Binding.h

#ifndef BINDING_H_RAIL_1
#define BINDING_H_RAIL_1

class Var;

class Binding
{
public:
  Binding();
  explicit Binding(Var * newData);
  ~Binding();

  Binding(Binding const & right);
  Binding & operator=(Binding const & right);

  Var * operator->(void);
  Var const * operator->(void) const;
  Var & operator*(void);
  Var const & operator*(void) const;

  bool null(void);
private:
  Var * data;
};

#endif