All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::graph::AbstractGraphBuilder Class Reference

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>

Inheritance diagram for te::graph::AbstractGraphBuilder:
te::graph::FlowGraphBuilder te::graph::LDDGraphBuilder te::graph::QueryGraphBuilder te::graph::RAGGraphBuilder

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...
 
AbstractGraphgetGraph ()
 Get generated graph. More...
 

Protected Attributes

std::string m_errorMessage
 Error message. More...
 
AbstractGraphm_graph
 Graph object. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

te::graph::AbstractGraphBuilder::AbstractGraphBuilder ( )

Default constructor.

Definition at line 3 of file AbstractGraphBuilder.cpp.

References m_errorMessage, and m_graph.

te::graph::AbstractGraphBuilder::~AbstractGraphBuilder ( )
virtual

Virtual destructor.

Definition at line 9 of file AbstractGraphBuilder.cpp.

Member Function Documentation

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.

Member Data Documentation

std::string te::graph::AbstractGraphBuilder::m_errorMessage
protected

Error message.

Definition at line 85 of file AbstractGraphBuilder.h.

Referenced by AbstractGraphBuilder().

AbstractGraph* te::graph::AbstractGraphBuilder::m_graph
protected

Graph object.

Definition at line 83 of file AbstractGraphBuilder.h.

Referenced by AbstractGraphBuilder().


The documentation for this class was generated from the following files: