aGrUM  0.14.2
gum::DAGCycleDetector::ArcDel Class Reference

the class to indicate that we wish to remove an arc More...

#include <agrum/core/DAGCycleDetector.h>

+ Inheritance diagram for gum::DAGCycleDetector::ArcDel:
+ Collaboration diagram for gum::DAGCycleDetector::ArcDel:

Public Member Functions

Constructors / Destructors
 ArcDel (NodeId tail, NodeId head) noexcept
 default constructor More...
 
 ArcDel (const ArcDel &from) noexcept
 copy constructor More...
 
 ArcDel (ArcDel &&from) noexcept
 move constructor More...
 
 ~ArcDel () noexcept
 destructor More...
 
Operators
ArcDeloperator= (const ArcDel &from) noexcept
 copy operator More...
 
ArcDeloperator= (ArcDel &&from) noexcept
 move operator More...
 
Accessors/Modifiers
ChangeType type () const noexcept
 returns the type of the operation More...
 
NodeId tail () const noexcept
 indicates the tail of the arc involved in the modification More...
 
NodeId head () const noexcept
 indicates the head of the arc involved in the modification More...
 

Detailed Description

the class to indicate that we wish to remove an arc

Definition at line 150 of file DAGCycleDetector.h.

Constructor & Destructor Documentation

◆ ArcDel() [1/3]

INLINE gum::DAGCycleDetector::ArcDel::ArcDel ( NodeId  tail,
NodeId  head 
)
noexcept

default constructor

Definition at line 147 of file DAGCycleDetector_inl.h.

147  :
148  DAGCycleDetector::Change(
150  GUM_CONSTRUCTOR(DAGCycleDetector::ArcDel);
151  }
NodeId tail() const noexcept
indicates the tail of the arc involved in the modification
NodeId head() const noexcept
indicates the head of the arc involved in the modification

◆ ArcDel() [2/3]

INLINE gum::DAGCycleDetector::ArcDel::ArcDel ( const ArcDel from)
noexcept

copy constructor

Definition at line 155 of file DAGCycleDetector_inl.h.

155  :
156  DAGCycleDetector::Change(from.type(), from.tail(), from.head()) {
157  GUM_CONS_CPY(DAGCycleDetector::ArcDel);
158  }

◆ ArcDel() [3/3]

INLINE gum::DAGCycleDetector::ArcDel::ArcDel ( DAGCycleDetector::ArcDel &&  from)
noexcept

move constructor

Definition at line 162 of file DAGCycleDetector_inl.h.

162  :
163  DAGCycleDetector::Change(
164  std::move(from.type()), std::move(from.tail()), std::move(from.head())) {
165  GUM_CONS_MOV(DAGCycleDetector::ArcDel);
166  }

◆ ~ArcDel()

INLINE gum::DAGCycleDetector::ArcDel::~ArcDel ( )
noexcept

destructor

Definition at line 169 of file DAGCycleDetector_inl.h.

References operator=().

169  {
170  GUM_DESTRUCTOR(DAGCycleDetector::ArcDel);
171  }
+ Here is the call graph for this function:

Member Function Documentation

◆ head()

INLINE NodeId gum::DAGCycleDetector::Change::head ( ) const
noexceptinherited

indicates the head of the arc involved in the modification

Definition at line 91 of file DAGCycleDetector_inl.h.

References gum::DAGCycleDetector::Change::__head.

91 { return __head; }
NodeId __head
the head of the arc to be modified

◆ operator=() [1/2]

INLINE DAGCycleDetector::ArcDel & gum::DAGCycleDetector::ArcDel::operator= ( const ArcDel from)
noexcept

copy operator

Definition at line 175 of file DAGCycleDetector_inl.h.

References gum::DAGCycleDetector::Change::operator=().

Referenced by ~ArcDel().

175  {
177  return *this;
178  }
Change & operator=(const Change &from) noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [2/2]

INLINE DAGCycleDetector::ArcDel & gum::DAGCycleDetector::ArcDel::operator= ( DAGCycleDetector::ArcDel &&  from)
noexcept

move operator

Definition at line 182 of file DAGCycleDetector_inl.h.

References gum::DAGCycleDetector::Change::operator=().

182  {
183  DAGCycleDetector::Change::operator=(std::move(from));
184  return *this;
185  }
Change & operator=(const Change &from) noexcept
+ Here is the call graph for this function:

◆ tail()

INLINE NodeId gum::DAGCycleDetector::Change::tail ( ) const
noexceptinherited

indicates the tail of the arc involved in the modification

Definition at line 88 of file DAGCycleDetector_inl.h.

References gum::DAGCycleDetector::Change::__tail.

88 { return __tail; }
NodeId __tail
the tail of the arc to be modified

◆ type()

INLINE DAGCycleDetector::ChangeType gum::DAGCycleDetector::Change::type ( ) const
noexceptinherited

returns the type of the operation

Definition at line 82 of file DAGCycleDetector_inl.h.

References gum::DAGCycleDetector::Change::__type.

83  {
84  return __type;
85  }
ChangeType __type
the type of modification

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