coriolis/vlsisapd/agds/GdsElement.h

20 lines
310 B
C++

#ifndef __GDS_ELEMENT_H
#define __GDS_ELEMENT_H
namespace IO {
class GdsElement {
protected:
inline GdsElement(int layer);
public:
virtual bool write ( ofstream &file ) = 0;
protected:
int _layer;
};
inline GdsElement::GdsElement(int layer) : _layer(layer) {}
}
#endif