Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::sync_plan::SyncPlan::UndoOperation Class Referenceabstract

The information needed for undoing the changes a specific operation made to the graph while maintaining its embedding. More...

#include <ogdf/cluster/sync_plan/SyncPlan.h>

+ Inheritance diagram for ogdf::sync_plan::SyncPlan::UndoOperation:

Public Member Functions

virtual ~UndoOperation ()=default
 
virtual std::string name () const
 
virtual std::ostream & print (std::ostream &os) const =0
 
virtual void undo (SyncPlan &pq)=0
 

Public Attributes

int consistency_nr = -1
 

Friends

std::ostream & operator<< (std::ostream &os, const SyncPlan::UndoOperation &undo_op)
 

Detailed Description

The information needed for undoing the changes a specific operation made to the graph while maintaining its embedding.

Definition at line 154 of file SyncPlan.h.

Constructor & Destructor Documentation

◆ ~UndoOperation()

virtual ogdf::sync_plan::SyncPlan::UndoOperation::~UndoOperation ( )
virtualdefault

Member Function Documentation

◆ name()

virtual std::string ogdf::sync_plan::SyncPlan::UndoOperation::name ( ) const
virtual

◆ print()

virtual std::ostream& ogdf::sync_plan::SyncPlan::UndoOperation::print ( std::ostream &  os) const
pure virtual

◆ undo()

virtual void ogdf::sync_plan::SyncPlan::UndoOperation::undo ( SyncPlan pq)
pure virtual

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const SyncPlan::UndoOperation undo_op 
)
friend

Member Data Documentation

◆ consistency_nr

int ogdf::sync_plan::SyncPlan::UndoOperation::consistency_nr = -1

Definition at line 157 of file SyncPlan.h.


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