joque
task orchestration library
joque::bits::graph< NodeType > Class Template Reference

#include <dag.hpp>

Public Types

using node_type = NodeType
 
using edge_type = typename node_type::edge_type
 
using node_list = typename node_type::list_type
 

Public Member Functions

constexpr graph () noexcept=default
 
 graph (const graph &other)=delete
 
 graph (graph &&other)=default
 
graphoperator= (const graph &other)=delete
 
graphoperator= (graph &&other)=default
 
auto begin ()
 
auto begin () const
 
auto end ()
 
auto end () const
 
void clear_if (auto &&f)
 
template<typename... Ts>
node_typeemplace (Ts &&... args)
 

Member Typedef Documentation

◆ node_type

template<typename NodeType >
using joque::bits::graph< NodeType >::node_type = NodeType

◆ edge_type

template<typename NodeType >
using joque::bits::graph< NodeType >::edge_type = typename node_type::edge_type

◆ node_list

template<typename NodeType >
using joque::bits::graph< NodeType >::node_list = typename node_type::list_type

Constructor & Destructor Documentation

◆ graph() [1/3]

template<typename NodeType >
constexpr joque::bits::graph< NodeType >::graph ( )
constexprdefaultnoexcept

◆ graph() [2/3]

template<typename NodeType >
joque::bits::graph< NodeType >::graph ( const graph< NodeType > &  other)
delete

◆ graph() [3/3]

template<typename NodeType >
joque::bits::graph< NodeType >::graph ( graph< NodeType > &&  other)
default

Member Function Documentation

◆ operator=() [1/2]

template<typename NodeType >
graph& joque::bits::graph< NodeType >::operator= ( const graph< NodeType > &  other)
delete

◆ operator=() [2/2]

template<typename NodeType >
graph& joque::bits::graph< NodeType >::operator= ( graph< NodeType > &&  other)
default

◆ begin() [1/2]

template<typename NodeType >
auto joque::bits::graph< NodeType >::begin ( )
inline

◆ begin() [2/2]

template<typename NodeType >
auto joque::bits::graph< NodeType >::begin ( ) const
inline

◆ end() [1/2]

template<typename NodeType >
auto joque::bits::graph< NodeType >::end ( )
inline

◆ end() [2/2]

template<typename NodeType >
auto joque::bits::graph< NodeType >::end ( ) const
inline

◆ clear_if()

template<typename NodeType >
void joque::bits::graph< NodeType >::clear_if ( auto &&  f)
inline

References joque::f.

◆ emplace()

template<typename NodeType >
template<typename... Ts>
node_type& joque::bits::graph< NodeType >::emplace ( Ts &&...  args)
inline

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