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

#include <kis_lazy_fill_graph.h>

Public Types

typedef graph_traits< Graph >::edge_descriptor result_type
 

Public Member Functions

 lazy_fill_graph_in_edge_at ()
 
 lazy_fill_graph_in_edge_at (vertex_descriptor target_vertex, const Graph *graph)
 
result_type operator() (typename graph_traits< Graph >::degree_size_type in_edge_index) const
 

Private Types

typedef graph_traits< Graph >::vertex_descriptor vertex_descriptor
 

Private Attributes

const Graph * m_graph
 
vertex_descriptor m_vertex
 

Detailed Description

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

Definition at line 161 of file kis_lazy_fill_graph.h.

Member Typedef Documentation

◆ result_type

template<typename Graph >
typedef graph_traits<Graph>::edge_descriptor kis_detail::lazy_fill_graph_in_edge_at< Graph >::result_type

Definition at line 167 of file kis_lazy_fill_graph.h.

◆ vertex_descriptor

template<typename Graph >
typedef graph_traits<Graph>::vertex_descriptor kis_detail::lazy_fill_graph_in_edge_at< Graph >::vertex_descriptor
private

Definition at line 164 of file kis_lazy_fill_graph.h.

Constructor & Destructor Documentation

◆ lazy_fill_graph_in_edge_at() [1/2]

template<typename Graph >
kis_detail::lazy_fill_graph_in_edge_at< Graph >::lazy_fill_graph_in_edge_at ( )
inline

◆ lazy_fill_graph_in_edge_at() [2/2]

template<typename Graph >
kis_detail::lazy_fill_graph_in_edge_at< Graph >::lazy_fill_graph_in_edge_at ( vertex_descriptor target_vertex,
const Graph * graph )
inline

Definition at line 171 of file kis_lazy_fill_graph.h.

172 :
173 m_vertex(target_vertex),
174 m_graph(graph) { }

Member Function Documentation

◆ operator()()

template<typename Graph >
result_type kis_detail::lazy_fill_graph_in_edge_at< Graph >::operator() ( typename graph_traits< Graph >::degree_size_type in_edge_index) const
inline

Definition at line 177 of file kis_lazy_fill_graph.h.

178 {
179 return (in_edge_at(m_vertex, in_edge_index, *m_graph));
180 }

References kis_detail::lazy_fill_graph_in_edge_at< Graph >::m_graph, and kis_detail::lazy_fill_graph_in_edge_at< Graph >::m_vertex.

Member Data Documentation

◆ m_graph

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

Definition at line 184 of file kis_lazy_fill_graph.h.

◆ m_vertex

template<typename Graph >
vertex_descriptor kis_detail::lazy_fill_graph_in_edge_at< Graph >::m_vertex
private

Definition at line 183 of file kis_lazy_fill_graph.h.


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