aGrUM  0.16.0
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 153 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 150 of file DAGCycleDetector_inl.h.

150  :
151  DAGCycleDetector::Change(
153  GUM_CONSTRUCTOR(DAGCycleDetector::ArcDel);
154  }
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 158 of file DAGCycleDetector_inl.h.

158  :
159  DAGCycleDetector::Change(from.type(), from.tail(), from.head()) {
160  GUM_CONS_CPY(DAGCycleDetector::ArcDel);
161  }

◆ ArcDel() [3/3]

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

move constructor

Definition at line 165 of file DAGCycleDetector_inl.h.

165  :
166  DAGCycleDetector::Change(
167  std::move(from.type()), std::move(from.tail()), std::move(from.head())) {
168  GUM_CONS_MOV(DAGCycleDetector::ArcDel);
169  }

◆ ~ArcDel()

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

destructor

Definition at line 172 of file DAGCycleDetector_inl.h.

References operator=().

172  {
173  GUM_DESTRUCTOR(DAGCycleDetector::ArcDel);
174  }
+ 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 94 of file DAGCycleDetector_inl.h.

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

94 { 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 178 of file DAGCycleDetector_inl.h.

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

Referenced by ~ArcDel().

178  {
180  return *this;
181  }
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 185 of file DAGCycleDetector_inl.h.

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

185  {
186  DAGCycleDetector::Change::operator=(std::move(from));
187  return *this;
188  }
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 91 of file DAGCycleDetector_inl.h.

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

91 { 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 85 of file DAGCycleDetector_inl.h.

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

86  {
87  return __type;
88  }
ChangeType __type
the type of modification

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