Audacity  2.3.1
Classes | Typedefs | Enumerations | Functions
UndoManager.h File Reference
#include "MemoryX.h"
#include <vector>
#include <wx/string.h>
#include "ondemand/ODTaskThread.h"
#include "SelectedRegion.h"

Go to the source code of this file.

Classes

struct  UndoState
 
class  UndoManager
 Works with HistoryWindow to provide the Undo functionality. More...
 

Typedefs

using UndoStack = std::vector< std::unique_ptr< UndoStackElem >>
 
using SpaceArray = std::vector< unsigned long long >
 

Enumerations

enum  UndoPush : unsigned char { UndoPush::MINIMAL = 0, UndoPush::CONSOLIDATE = 1 << 0, UndoPush::AUTOSAVE = 1 << 1 }
 

Functions

UndoPush operator| (UndoPush a, UndoPush b)
 
UndoPush operator& (UndoPush a, UndoPush b)
 

Typedef Documentation

using SpaceArray = std::vector <unsigned long long>

Definition at line 77 of file UndoManager.h.

using UndoStack = std::vector <std::unique_ptr<UndoStackElem>>

Definition at line 75 of file UndoManager.h.

Enumeration Type Documentation

enum UndoPush : unsigned char
strong
Enumerator
MINIMAL 
CONSOLIDATE 
AUTOSAVE 

Definition at line 82 of file UndoManager.h.

82  : unsigned char {
83  MINIMAL = 0,
84  CONSOLIDATE = 1 << 0,
85  AUTOSAVE = 1 << 1
86 };

Function Documentation

UndoPush operator& ( UndoPush  a,
UndoPush  b 
)
inline

Definition at line 90 of file UndoManager.h.

91 { return static_cast<UndoPush>(static_cast<int>(a) & static_cast<int>(b)); }
UndoPush
Definition: UndoManager.h:82
UndoPush operator| ( UndoPush  a,
UndoPush  b 
)
inline

Definition at line 88 of file UndoManager.h.

89 { return static_cast<UndoPush>(static_cast<int>(a) | static_cast<int>(b)); }
UndoPush
Definition: UndoManager.h:82