TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::BasicNodeViewRef< Graph, State > Struct Template Reference

A graph and one view of it, as RenderNodeView and the helpers take them: a NodeView passes as one, or { graph, state } for one of several views of a graph. More...

#include <gui_controls/gui_node_view_types.h>

Public Member Functions

 BasicNodeViewRef (Graph &g, State &s)
template<class View>
requires std::is_convertible_v<View&, Graph&> && std::is_convertible_v<View&, State&>
 BasicNodeViewRef (View &view)
template<class G, class S>
requires std::is_convertible_v<G&, Graph&> && std::is_convertible_v<S&, State&>
 BasicNodeViewRef (const BasicNodeViewRef< G, S > &other)

Public Attributes

Graph & graph
State & state

Detailed Description

template<class Graph, class State>
struct tachyon::BasicNodeViewRef< Graph, State >

A graph and one view of it, as RenderNodeView and the helpers take them: a NodeView passes as one, or { graph, state } for one of several views of a graph.

Constructor & Destructor Documentation

◆ BasicNodeViewRef() [1/3]

template<class Graph, class State>
tachyon::BasicNodeViewRef< Graph, State >::BasicNodeViewRef ( Graph & g,
State & s )
inline

◆ BasicNodeViewRef() [2/3]

template<class Graph, class State>
template<class View>
requires std::is_convertible_v<View&, Graph&> && std::is_convertible_v<View&, State&>
tachyon::BasicNodeViewRef< Graph, State >::BasicNodeViewRef ( View & view)
inline

◆ BasicNodeViewRef() [3/3]

template<class Graph, class State>
template<class G, class S>
requires std::is_convertible_v<G&, Graph&> && std::is_convertible_v<S&, State&>
tachyon::BasicNodeViewRef< Graph, State >::BasicNodeViewRef ( const BasicNodeViewRef< G, S > & other)
inline

Member Data Documentation

◆ graph

template<class Graph, class State>
Graph& tachyon::BasicNodeViewRef< Graph, State >::graph

◆ state

template<class Graph, class State>
State& tachyon::BasicNodeViewRef< Graph, State >::state

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