This abstract class provides the common functions for graph builder classes. Each builder strategy has to implement only a public function called build. More...
#include <AbstractGraphBuilder.h>
Public Member Functions | |
| AbstractGraphBuilder () | |
| Default constructor. More... | |
| virtual | ~AbstractGraphBuilder () |
| Virtual destructor. More... | |
Abstract Methods | |
Method common to each graph builder | |
| std::string | getErrorMessage () |
| Get error message. More... | |
| AbstractGraph * | getGraph () |
| Get generated graph. More... | |
Protected Attributes | |
| std::string | m_errorMessage |
| Error message. More... | |
| AbstractGraph * | m_graph |
| Graph object. More... | |
This abstract class provides the common functions for graph builder classes. Each builder strategy has to implement only a public function called build.
The graph instance created by this class has to be controlled by the user of this class.
Definition at line 58 of file AbstractGraphBuilder.h.
| te::graph::AbstractGraphBuilder::AbstractGraphBuilder | ( | ) |
Default constructor.
Definition at line 3 of file AbstractGraphBuilder.cpp.
References m_errorMessage, and m_graph.
|
virtual |
Virtual destructor.
Definition at line 9 of file AbstractGraphBuilder.cpp.
| std::string te::graph::AbstractGraphBuilder::getErrorMessage | ( | ) |
Get error message.
Definition at line 13 of file AbstractGraphBuilder.cpp.
| te::graph::AbstractGraph * te::graph::AbstractGraphBuilder::getGraph | ( | ) |
Get generated graph.
Definition at line 18 of file AbstractGraphBuilder.cpp.
|
protected |
Error message.
Definition at line 85 of file AbstractGraphBuilder.h.
Referenced by AbstractGraphBuilder().
|
protected |
Graph object.
Definition at line 83 of file AbstractGraphBuilder.h.
Referenced by AbstractGraphBuilder().