DeSiGNAR  0.5a
Data Structures General Library
Classes | Public Types | Public Member Functions | List of all members
Designar::Path< GT > Class Template Reference

#include <graphutilities.H>

Public Types

using NodeType = Node< GT >
 
using ArcType = Arc< GT >
 

Public Member Functions

 Path ()
 
 Path (const GT &graph)
 
 Path (GT *graph_ptr)
 
 Path (const Path &path)
 
 Path (Path &&path)
 
GT & get_graph ()
 
void init (NodeType *start)
 
void set (GT &graph, NodeType *ptr_start=nullptr)
 
void clear ()
 
void insert (ArcType *arc)
 
void insert (NodeType *s)
 
void append (ArcType *arc)
 
void append (NodeType *t)
 
void remove_last_node ()
 
NodeTypeget_last_node ()
 
NodeTypeget_last_node () const
 
NodeTypeget_first_node ()
 
NodeTypeget_first_node () const
 
ArcTypeget_last_arc ()
 
ArcTypeget_last_arc () const
 
ArcTypeget_first_arc ()
 
ArcTypeget_first_arc () const
 
template<class Op >
void for_each (Op &op) const
 
template<class Op >
void for_each (Op &&op=Op()) const
 
template<class Op >
void for_each (Op &op)
 
template<class Op >
void for_each (Op &&op=Op())
 
Pathoperator= (const Path &path)
 
SLList< Node< GT > * > nodes () const
 
SLList< Arc< GT > * > arcs () const
 
Pathoperator= (Path &&path)
 
bool is_empty () const
 
nat_t size () const
 

Member Typedef Documentation

template<class GT>
using Designar::Path< GT >::ArcType = Arc<GT>
template<class GT>
using Designar::Path< GT >::NodeType = Node<GT>

Constructor & Destructor Documentation

template<class GT>
Designar::Path< GT >::Path ( )
inline
template<class GT>
Designar::Path< GT >::Path ( const GT &  graph)
inline
template<class GT>
Designar::Path< GT >::Path ( GT *  graph_ptr)
inline
template<class GT>
Designar::Path< GT >::Path ( const Path< GT > &  path)
inline
template<class GT>
Designar::Path< GT >::Path ( Path< GT > &&  path)
inline

Member Function Documentation

template<class GT>
void Designar::Path< GT >::append ( ArcType arc)
inline
template<class GT>
void Designar::Path< GT >::append ( NodeType t)
inline
template<class GT>
SLList<Arc<GT> *> Designar::Path< GT >::arcs ( ) const
inline
template<class GT>
void Designar::Path< GT >::clear ( )
inline
template<class GT>
template<class Op >
void Designar::Path< GT >::for_each ( Op &  op) const
inline
template<class GT>
template<class Op >
void Designar::Path< GT >::for_each ( Op &&  op = Op()) const
inline
template<class GT>
template<class Op >
void Designar::Path< GT >::for_each ( Op &  op)
inline
template<class GT>
template<class Op >
void Designar::Path< GT >::for_each ( Op &&  op = Op())
inline
template<class GT>
ArcType* Designar::Path< GT >::get_first_arc ( )
inline
template<class GT>
ArcType* Designar::Path< GT >::get_first_arc ( ) const
inline
template<class GT>
NodeType* Designar::Path< GT >::get_first_node ( )
inline
template<class GT>
NodeType* Designar::Path< GT >::get_first_node ( ) const
inline
template<class GT>
GT& Designar::Path< GT >::get_graph ( )
inline
template<class GT>
ArcType* Designar::Path< GT >::get_last_arc ( )
inline
template<class GT>
ArcType* Designar::Path< GT >::get_last_arc ( ) const
inline
template<class GT>
NodeType* Designar::Path< GT >::get_last_node ( )
inline
template<class GT>
NodeType* Designar::Path< GT >::get_last_node ( ) const
inline
template<class GT>
void Designar::Path< GT >::init ( NodeType start)
inline
template<class GT>
void Designar::Path< GT >::insert ( ArcType arc)
inline
template<class GT>
void Designar::Path< GT >::insert ( NodeType s)
inline
template<class GT>
bool Designar::Path< GT >::is_empty ( ) const
inline
template<class GT>
SLList<Node<GT> *> Designar::Path< GT >::nodes ( ) const
inline
template<class GT>
Path& Designar::Path< GT >::operator= ( const Path< GT > &  path)
inline
template<class GT>
Path& Designar::Path< GT >::operator= ( Path< GT > &&  path)
inline
template<class GT>
void Designar::Path< GT >::remove_last_node ( )
inline
template<class GT>
void Designar::Path< GT >::set ( GT &  graph,
NodeType ptr_start = nullptr 
)
inline
template<class GT>
nat_t Designar::Path< GT >::size ( ) const
inline

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