#ifndef ocpointer_h
#define ocpointer_h

#include <InterViews/observe.h>
#include <OS/string.h>
#include "oc2iv.h"
class StmtInfo;

class OcPointer : public Observer {
public:
	OcPointer(const char*, double*);
	virtual ~OcPointer();
	virtual void update(Observable*);
	void assign(double);
	double* p_;
	char* s_;
	StmtInfo* sti_;
	bool valid_;
};

class StmtInfo {
public:
	StmtInfo(const char*);
	virtual ~StmtInfo();
	void play_one(double);
	void parse();
	CopyString* stmt_;
	Symlist* symlist_;
	Symbol* symstmt_;
};

#endif
