mirror of https://github.com/vitalif/openscad
16 lines
490 B
C++
16 lines
490 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
class Assignment : public std::pair<std::string, boost::shared_ptr<class Expression> >
|
|
{
|
|
public:
|
|
Assignment(std::string name) : pair(name, boost::shared_ptr<class Expression>()) {}
|
|
Assignment(std::string name, boost::shared_ptr<class Expression> expr) : pair(name, expr) {}
|
|
};
|
|
|
|
typedef std::vector<Assignment> AssignmentList;
|
|
typedef std::vector<class ModuleInstantiation*> ModuleInstantiationList;
|