MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::HistoryAction Class Referenceabstract

#include <MRMesh/MRHistoryAction.h>

Inheritance diagram for MR::HistoryAction:

Public Types

enum class  Type { Type::Undo , Type::Redo }

Public Member Functions

virtual ~HistoryAction ()=default
virtual std::string name () const =0
virtual void action (Type actionType)=0
 This function is called on history action (undo, redo, etc.)
virtual size_t heapBytes () const =0
 returns the amount of memory this object occupies on heap

Detailed Description

Abstract class for history actions


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