2010-03-28 19:57:39 +04:00
|
|
|
#ifndef RENDERNODE_H_
|
|
|
|
#define RENDERNODE_H_
|
|
|
|
|
|
|
|
#include "node.h"
|
|
|
|
#include "visitor.h"
|
|
|
|
|
|
|
|
class RenderNode : public AbstractNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RenderNode(const ModuleInstantiation *mi) : AbstractNode(mi), convexity(1) { }
|
2010-08-28 19:34:22 +04:00
|
|
|
virtual Response accept(class State &state, Visitor &visitor) const {
|
2010-03-28 19:57:39 +04:00
|
|
|
return visitor.visit(state, *this);
|
|
|
|
}
|
|
|
|
virtual std::string toString() const;
|
|
|
|
|
|
|
|
int convexity;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|