OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
StructRef.h
Go to the documentation of this file.
1#ifndef STRUCTREF_H_
2#define STRUCTREF_H_
3
4#include <string>
5
6
7// This class represents a gds2 structure reference.
8// It contains the name of the referenced structure and the coordinates where the "copy" should be placed
10private:
11 std::string name;
12 std::pair<int, int> coordinates;
13
14public:
15 StructRef(std::string name, std::pair<int, int> coords);
16
17 std::string getName();
18 std::pair<int, int> getCoordinates();
19
20 void setName(std::string name);
21 void setCoordinates(std::pair<int, int> coords);
22};
23
24#endif
25
Definition StructRef.h:9
void setName(std::string name)
Definition StructRef.cpp:9
void setCoordinates(std::pair< int, int > coords)
Definition StructRef.cpp:11
std::pair< int, int > getCoordinates()
Definition StructRef.cpp:7
StructRef(std::string name, std::pair< int, int > coords)
Definition StructRef.cpp:3
std::string getName()
Definition StructRef.cpp:5