2009-12-11 06:48:37 -06:00
|
|
|
#ifndef __GDS_ELEMENT_H
|
|
|
|
#define __GDS_ELEMENT_H
|
|
|
|
|
2010-05-18 10:10:35 -05:00
|
|
|
namespace vlsisapd {
|
2009-12-11 06:48:37 -06:00
|
|
|
class GdsElement {
|
|
|
|
protected:
|
2010-05-17 09:40:32 -05:00
|
|
|
inline GdsElement (int layer);
|
|
|
|
virtual ~GdsElement ();
|
2009-12-11 06:48:37 -06:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual bool write ( ofstream &file ) = 0;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
int _layer;
|
|
|
|
};
|
|
|
|
|
|
|
|
inline GdsElement::GdsElement(int layer) : _layer(layer) {}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|