All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AbstractGraphBuilder.cpp
Go to the documentation of this file.
1 #include "AbstractGraphBuilder.h"
2 
4 {
5  m_graph = 0;
6  m_errorMessage = "";
7 }
8 
10 {
11 }
12 
14 {
15  return m_errorMessage;
16 }
17 
19 {
20  return m_graph;
21 }
Abstract class used to define the main functions of graph struct. All graph implementations must used...
Definition: AbstractGraph.h:56
std::string getErrorMessage()
Get error message.
AbstractGraphBuilder()
Default constructor.
virtual ~AbstractGraphBuilder()
Virtual destructor.
std::string m_errorMessage
Error message.
AbstractGraph * m_graph
Graph object.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
AbstractGraph * getGraph()
Get generated graph.