coriolis/vlsisapd/agds/GdsLibrary.h

32 lines
729 B
C
Raw Normal View History

2009-12-11 06:48:37 -06:00
#ifndef __GDS_LIBRARY_H
#define __GDS_LIBRARY_H
#include <vector>
using namespace std;
#include "GdsStructure.h"
2010-05-18 10:10:35 -05:00
namespace vlsisapd {
2009-12-11 06:48:37 -06:00
class GdsLibrary {
public:
GdsLibrary(string libName);
inline void setUserUnits ( double userUnits );
inline void setPhysUnits ( double physUnits );
bool addStructure ( GdsStructure* );
bool write ( string fileName );
private:
string _libName;
double _userUnits;
double _physUnits;
vector<GdsStructure*> _structs;
};
inline void GdsLibrary::setUserUnits(double userUnits) { _userUnits = userUnits; };
inline void GdsLibrary::setPhysUnits(double physUnits) { _physUnits = physUnits; };
} // namespace
#endif