FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
business_logic::errors::GraphCycleException Class Reference

Exception thrown when a graph cycle is detected. More...

#include <GraphCycleException.h>

+ Inheritance diagram for business_logic::errors::GraphCycleException:
+ Collaboration diagram for business_logic::errors::GraphCycleException:

Public Member Functions

 GraphCycleException (const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > &cyclePath)
 
 ~GraphCycleException () noexcept override=default
 
 GraphCycleException (const GraphCycleException &)=delete
 
GraphCycleExceptionoperator= (const GraphCycleException &)=delete
 
 GraphCycleException (GraphCycleException &&)=delete
 
GraphCycleExceptionoperator= (GraphCycleException &&)=delete
 
const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > & getCyclePath () const
 Gets the cycle path.
 

Private Attributes

std::unordered_set< business_logic::elements::structures::BlocksConnectionSidecyclePath
 

Detailed Description

Exception thrown when a graph cycle is detected.

Definition at line 16 of file GraphCycleException.h.

Constructor & Destructor Documentation

◆ GraphCycleException() [1/3]

business_logic::errors::GraphCycleException::GraphCycleException ( const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > &  cyclePath)
inlineexplicit

Definition at line 18 of file GraphCycleException.h.

◆ ~GraphCycleException()

business_logic::errors::GraphCycleException::~GraphCycleException ( )
overridedefaultnoexcept

◆ GraphCycleException() [2/3]

business_logic::errors::GraphCycleException::GraphCycleException ( const GraphCycleException )
delete

◆ GraphCycleException() [3/3]

business_logic::errors::GraphCycleException::GraphCycleException ( GraphCycleException &&  )
delete

Member Function Documentation

◆ getCyclePath()

const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > & business_logic::errors::GraphCycleException::getCyclePath ( ) const
inline

Gets the cycle path.

Returns
The cycle path

Definition at line 38 of file GraphCycleException.h.

References cyclePath.

Referenced by gui::elements::SkiaBlocksManagerRenderer::render().

+ Here is the caller graph for this function:

◆ operator=() [1/2]

GraphCycleException & business_logic::errors::GraphCycleException::operator= ( const GraphCycleException )
delete

◆ operator=() [2/2]

GraphCycleException & business_logic::errors::GraphCycleException::operator= ( GraphCycleException &&  )
delete

Member Data Documentation

◆ cyclePath

std::unordered_set<business_logic::elements::structures::BlocksConnectionSide> business_logic::errors::GraphCycleException::cyclePath
private

Definition at line 43 of file GraphCycleException.h.

Referenced by getCyclePath().


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