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

Protected Attributes

std::string m_errorMessage
 Error message. More...
 
boost::shared_ptr< 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.

Definition at line 57 of file AbstractGraphBuilder.h.

Constructor & Destructor Documentation

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

Default constructor.

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

Virtual destructor.

Member Function Documentation

std::string te::graph::AbstractGraphBuilder::getErrorMessage ( )

Get error message.

boost::shared_ptr<AbstractGraph> te::graph::AbstractGraphBuilder::getGraph ( )

Get generated graph.

Member Data Documentation

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

Error message.

Definition at line 84 of file AbstractGraphBuilder.h.

boost::shared_ptr<AbstractGraph> te::graph::AbstractGraphBuilder::m_graph
protected

Graph object.

Definition at line 82 of file AbstractGraphBuilder.h.


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