Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph > Struct Template Reference

#include <kis_lazy_fill_graph.h>

Public Types

typedef graph_traits< Graph >::vertex_descriptor result_type
 

Public Member Functions

 lazy_fill_graph_adjacent_vertex_at (result_type source_vertex, const Graph *graph)
 
result_type operator() (typename graph_traits< Graph >::degree_size_type adjacent_index) const
 

Private Attributes

const Graph * m_graph
 
result_type m_vertex
 

Detailed Description

template<typename Graph>
struct kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >

Definition at line 210 of file kis_lazy_fill_graph.h.

Member Typedef Documentation

◆ result_type

template<typename Graph >
typedef graph_traits<Graph>::vertex_descriptor kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::result_type

Definition at line 213 of file kis_lazy_fill_graph.h.

Constructor & Destructor Documentation

◆ lazy_fill_graph_adjacent_vertex_at()

template<typename Graph >
kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::lazy_fill_graph_adjacent_vertex_at ( result_type source_vertex,
const Graph * graph )
inline

Definition at line 215 of file kis_lazy_fill_graph.h.

Member Function Documentation

◆ operator()()

template<typename Graph >
result_type kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::operator() ( typename graph_traits< Graph >::degree_size_type adjacent_index) const
inline

Definition at line 221 of file kis_lazy_fill_graph.h.

222 {
223 return (target(out_edge_at(m_vertex, adjacent_index, *m_graph), *m_graph));
224 }
KisMagneticGraph::vertex_descriptor target(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)

References kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::m_graph, kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::m_vertex, and target().

Member Data Documentation

◆ m_graph

template<typename Graph >
const Graph* kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::m_graph
private

Definition at line 228 of file kis_lazy_fill_graph.h.

◆ m_vertex

template<typename Graph >
result_type kis_detail::lazy_fill_graph_adjacent_vertex_at< Graph >::m_vertex
private

Definition at line 227 of file kis_lazy_fill_graph.h.


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