2009-12-11 06:48:37 -06:00
|
|
|
#ifndef __GDS_ELEMENT_H
|
|
|
|
#define __GDS_ELEMENT_H
|
|
|
|
|
|
|
|
namespace IO {
|
|
|
|
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
|
|
|
|
|