\hypertarget{a00662}{\section{Group\+Data Class Reference}
\label{a00662}\index{Group\+Data@{Group\+Data}}
}


Class that is used to store global(group) backups.  




{\ttfamily \#include $<$Plugin-\/\+Backup/\+Group\+Data.\+hh$>$}

Inheritance diagram for Group\+Data\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00662}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00662_a061e354dce09f340421b93d28ff92f0b}{\hyperlink{a00662_a061e354dce09f340421b93d28ff92f0b}{Group\+Data} ()}\label{a00662_a061e354dce09f340421b93d28ff92f0b}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00662_a824e6e8aef8e7273f67891ee3c7e0cd3}{\hyperlink{a00662_a824e6e8aef8e7273f67891ee3c7e0cd3}{$\sim$\+Group\+Data} ()}\label{a00662_a824e6e8aef8e7273f67891ee3c7e0cd3}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{a00662_ad82b432fe3c3531806905044c82f9607}{update\+Backup\+Data} (int \+\_\+objectid, bool \+\_\+is\+Undo)
\begin{DoxyCompactList}\small\item\em remove object from data \end{DoxyCompactList}\item 
\hypertarget{a00662_aa07357fe7ff5a6a7f63a089f44113d95}{void \hyperlink{a00662_aa07357fe7ff5a6a7f63a089f44113d95}{erase\+Backups} (int \+\_\+objectid)}\label{a00662_aa07357fe7ff5a6a7f63a089f44113d95}

\begin{DoxyCompactList}\small\item\em erase all backups containing given id \end{DoxyCompactList}\item 
void \hyperlink{a00662_a18da3ee2dfe28cd5675c686a9044290a}{undo} ()
\begin{DoxyCompactList}\small\item\em perform an undo if possible \end{DoxyCompactList}\item 
void \hyperlink{a00662_aa95819e05f1e3bbcb4fc3b2a5da77aca}{redo} ()
\begin{DoxyCompactList}\small\item\em perform an redo if possible \end{DoxyCompactList}\item 
\hypertarget{a00662_a071c8fe8754d105557c35a0667c62524}{void \hyperlink{a00662_a071c8fe8754d105557c35a0667c62524}{undo} (int \+\_\+objectid)}\label{a00662_a071c8fe8754d105557c35a0667c62524}

\begin{DoxyCompactList}\small\item\em perform an undo if possible \end{DoxyCompactList}\item 
\hypertarget{a00662_a63dae3a34a785d8b0ce3c026ce618b58}{void \hyperlink{a00662_a63dae3a34a785d8b0ce3c026ce618b58}{redo} (int \+\_\+objectid)}\label{a00662_a63dae3a34a785d8b0ce3c026ce618b58}

\begin{DoxyCompactList}\small\item\em perform a redo if possible \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Class that is used to store global(group) backups. 

Definition at line 60 of file Group\+Data.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00662_aa95819e05f1e3bbcb4fc3b2a5da77aca}{\index{Group\+Data@{Group\+Data}!redo@{redo}}
\index{redo@{redo}!Group\+Data@{Group\+Data}}
\subsubsection[{redo}]{\setlength{\rightskip}{0pt plus 5cm}void Group\+Data\+::redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a00662_aa95819e05f1e3bbcb4fc3b2a5da77aca}


perform an redo if possible 

Redo operation on groups.

The redo on groups is different then on single objects we revert to the last redo state and perform a redo on every involved object 

Definition at line 124 of file Group\+Data.\+cc.

\hypertarget{a00662_a18da3ee2dfe28cd5675c686a9044290a}{\index{Group\+Data@{Group\+Data}!undo@{undo}}
\index{undo@{undo}!Group\+Data@{Group\+Data}}
\subsubsection[{undo}]{\setlength{\rightskip}{0pt plus 5cm}void Group\+Data\+::undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a00662_a18da3ee2dfe28cd5675c686a9044290a}


perform an undo if possible 

Undo operation on groups.

The undo on groups is different then on single objects we cannot revert to the last undo state. We have to check which objects are affected by the current state and revert to the last state for all of them 

Definition at line 75 of file Group\+Data.\+cc.

\hypertarget{a00662_ad82b432fe3c3531806905044c82f9607}{\index{Group\+Data@{Group\+Data}!update\+Backup\+Data@{update\+Backup\+Data}}
\index{update\+Backup\+Data@{update\+Backup\+Data}!Group\+Data@{Group\+Data}}
\subsubsection[{update\+Backup\+Data}]{\setlength{\rightskip}{0pt plus 5cm}void Group\+Data\+::update\+Backup\+Data (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid, }
\item[{bool}]{\+\_\+is\+Undo}
\end{DoxyParamCaption}
)}}\label{a00662_ad82b432fe3c3531806905044c82f9607}


remove object from data 

Update \hyperlink{a00662}{Group\+Data} structure after object undo/redo.

After and undo/redo on an object the global structure has to be updated to stay in sync. 

Definition at line 172 of file Group\+Data.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Backup/Group\+Data.\+hh\item 
Plugin-\/\+Backup/Group\+Data.\+cc\end{DoxyCompactItemize}
