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... | |
| boost::shared_ptr< AbstractGraph > | getGraph () |
| Get generated graph. More... | |
Protected Attributes | |
| std::string | m_errorMessage |
| Error message. More... | |
| boost::shared_ptr< 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.
Definition at line 57 of file AbstractGraphBuilder.h.
| te::graph::AbstractGraphBuilder::AbstractGraphBuilder | ( | ) |
Default constructor.
Definition at line 33 of file AbstractGraphBuilder.cpp.
References m_errorMessage, m_graph, and ~AbstractGraphBuilder().
|
virtualdefault |
Virtual destructor.
Referenced by AbstractGraphBuilder().
| std::string te::graph::AbstractGraphBuilder::getErrorMessage | ( | ) |
Get error message.
Definition at line 41 of file AbstractGraphBuilder.cpp.
References m_errorMessage.
Referenced by CreateLDDGraph().
| boost::shared_ptr< te::graph::AbstractGraph > te::graph::AbstractGraphBuilder::getGraph | ( | ) |
Get generated graph.
Definition at line 46 of file AbstractGraphBuilder.cpp.
References m_graph.
Referenced by CreateLDDGraph().
|
protected |
Error message.
Definition at line 84 of file AbstractGraphBuilder.h.
Referenced by AbstractGraphBuilder(), and getErrorMessage().
|
protected |
Graph object.
Definition at line 82 of file AbstractGraphBuilder.h.
Referenced by AbstractGraphBuilder(), te::graph::QueryGraphBuilder::build(), te::graph::RAGGraphBuilder::build(), te::graph::LDDGraphBuilder::build(), te::graph::FlowGraphBuilder::build(), te::graph::RAGGraphBuilder::createEdgeObjects(), te::graph::FlowGraphBuilder::createEdgeObjects(), te::graph::RAGGraphBuilder::createVertexObjects(), te::graph::FlowGraphBuilder::createVertexObjects(), and getGraph().