coriolis/vlsisapd/agds/GdsStructure.h

30 lines
522 B
C
Raw Normal View History

2009-12-11 06:48:37 -06:00
#ifndef __GDS_STRUCTURE_H
#define __GDS_STRUCTURE_H
#include <fstream>
#include <string>
#include <vector>
using namespace std;
#include "GdsElement.h"
2010-05-18 10:10:35 -05:00
namespace vlsisapd {
2009-12-11 06:48:37 -06:00
class GdsStructure {
public:
GdsStructure(string strName);
bool addElement ( GdsElement* );
bool write ( ofstream &file );
inline string getName();
private:
string _strName;
vector<GdsElement*> _elements;
};
inline string GdsStructure::getName() { return _strName; };
}
#endif