-
Notifications
You must be signed in to change notification settings - Fork 0
/
GraphBuilder.h
37 lines (31 loc) · 1.08 KB
/
GraphBuilder.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*----------------------------------------------------------------
file: GraphBuilder.h
-----------------------------------------------------------------*/
/*----------------------------------------------------------------
This file has GraphBuilder class declaration
-----------------------------------------------------------------*/
/*----------------------------------------------------------------
All includes here
-----------------------------------------------------------------*/
#ifndef GraphBuilder_H
#define GraphBuilder_H
#include "Graph.h"
/*----------------------------------------------------------------
Declaration of GraphBuilder class
WRITE CODE
-----------------------------------------------------------------*/
class GraphBuilder {
public:
GraphBuilder(Graph& g, const vector<string>& s): _g(g), _s(s) {
_buildGraph();
}
~GraphBuilder() {}
GraphBuilder(const GraphBuilder& from) = delete;
GraphBuilder& operator=(const GraphBuilder& from) = delete;
private:
Graph& _g;
const vector<string> _s;
void _buildGraph();
};
#endif
//EOF