2010-02-23 09:34:16 -06:00
|
|
|
#ifndef __CIF_CIRCUIT_H
|
|
|
|
#define __CIF_CIRCUIT_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace IO {
|
|
|
|
class CifPolygon;
|
|
|
|
class CifCircuit {
|
|
|
|
public:
|
2010-02-25 09:11:37 -06:00
|
|
|
CifCircuit(string name, string unit, double scale);
|
2010-02-23 09:34:16 -06:00
|
|
|
|
|
|
|
bool addPolygon ( CifPolygon* );
|
|
|
|
bool write ( string );
|
|
|
|
|
|
|
|
private:
|
|
|
|
string _name;
|
2010-02-25 09:11:37 -06:00
|
|
|
string _unit;
|
|
|
|
double _scale;
|
2010-02-23 09:34:16 -06:00
|
|
|
|
|
|
|
std::vector<CifPolygon*> _polygons;
|
|
|
|
};
|
|
|
|
} // namespace
|
|
|
|
#endif
|