Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.ActionStack.SavePoint Class Reference

Represents a save point marker in the undo/redo action items stack. More...

Inheritance diagram for SiliconStudio.ActionStack.SavePoint:
IEquatable< SavePoint >

Public Member Functions

override int GetHashCode ()
 
override bool Equals (object obj)
 
bool Equals (SavePoint other)
 

Static Public Member Functions

static bool operator== (SavePoint left, SavePoint right)
 Compares two SavePoint by their identifier and returns true if they are equal. More...
 
static bool operator!= (SavePoint left, SavePoint right)
 Compares two SavePoint by their identifier and returns true if they are different. More...
 

Static Public Attributes

static readonly SavePoint Empty = new SavePoint(Guid.Empty)
 Empty save point. More...
 

Properties

Guid ActionItemIdentifier [get, set]
 Gets the identifier of the action item pointed by the current marker. More...
 

Detailed Description

Represents a save point marker in the undo/redo action items stack.

A save point does not hold any reference to an action item or an action stack. It only stores the identifier of the related action item

Definition at line 11 of file SavePoint.cs.

Member Function Documentation

override bool SiliconStudio.ActionStack.SavePoint.Equals ( object  obj)

Definition at line 39 of file SavePoint.cs.

bool SiliconStudio.ActionStack.SavePoint.Equals ( SavePoint  other)

Definition at line 45 of file SavePoint.cs.

override int SiliconStudio.ActionStack.SavePoint.GetHashCode ( )

Definition at line 33 of file SavePoint.cs.

static bool SiliconStudio.ActionStack.SavePoint.operator!= ( SavePoint  left,
SavePoint  right 
)
static

Compares two SavePoint by their identifier and returns true if they are different.

Parameters
leftThe first save point to compare.
rightThe second save point to compare.
Returns
true if the save points are different, false otherwise.

Definition at line 81 of file SavePoint.cs.

static bool SiliconStudio.ActionStack.SavePoint.operator== ( SavePoint  left,
SavePoint  right 
)
static

Compares two SavePoint by their identifier and returns true if they are equal.

Parameters
leftThe first save point to compare.
rightThe second save point to compare.
Returns
true if the save points are equal, false otherwise.

Definition at line 60 of file SavePoint.cs.

Member Data Documentation

readonly SavePoint SiliconStudio.ActionStack.SavePoint.Empty = new SavePoint(Guid.Empty)
static

Empty save point.

Definition at line 30 of file SavePoint.cs.

Referenced by SiliconStudio.ActionStack.ActionStack.CreateSavePoint().

Property Documentation

Guid SiliconStudio.ActionStack.SavePoint.ActionItemIdentifier
getset

Gets the identifier of the action item pointed by the current marker.

Definition at line 25 of file SavePoint.cs.


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