* All tools:
- Change: Correction to suppress all g++ warnings. Except thoses comming from bad Python system includes...
This commit is contained in:
parent
9ac035bb49
commit
d25bea005d
|
@ -4,7 +4,8 @@
|
|||
namespace IO {
|
||||
class GdsElement {
|
||||
protected:
|
||||
inline GdsElement(int layer);
|
||||
inline GdsElement (int layer);
|
||||
virtual ~GdsElement ();
|
||||
|
||||
public:
|
||||
virtual bool write ( ofstream &file ) = 0;
|
||||
|
|
|
@ -5,6 +5,8 @@ using namespace std;
|
|||
#include "GdsRectangle.h"
|
||||
|
||||
namespace IO {
|
||||
GdsElement::~GdsElement () { }
|
||||
|
||||
GdsRectangle::GdsRectangle(int layer, double xmin, double ymin, double xmax, double ymax)
|
||||
: GdsElement(layer)
|
||||
, _xmin(xmin)
|
||||
|
@ -12,6 +14,8 @@ GdsRectangle::GdsRectangle(int layer, double xmin, double ymin, double xmax, dou
|
|||
, _xmax(xmax)
|
||||
, _ymax(ymax) {}
|
||||
|
||||
GdsRectangle::~GdsRectangle () { }
|
||||
|
||||
bool GdsRectangle::write(ofstream &file) {
|
||||
file << "BOUNDARY;" << endl
|
||||
<< "LAYER " << _layer << ";" << endl
|
||||
|
|
|
@ -8,10 +8,9 @@
|
|||
namespace IO {
|
||||
class GdsRectangle : public GdsElement {
|
||||
public:
|
||||
GdsRectangle(int layer, double xmin, double ymin, double xmax, double ymax);
|
||||
|
||||
virtual bool write ( ofstream &file );
|
||||
|
||||
GdsRectangle (int layer, double xmin, double ymin, double xmax, double ymax);
|
||||
virtual ~GdsRectangle ();
|
||||
virtual bool write ( ofstream &file );
|
||||
private:
|
||||
double _xmin;
|
||||
double _ymin;
|
||||
|
|
Loading…
Reference in New Issue