coriolis/vlsisapd/agds/GdsElement.h

21 lines
351 B
C++

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