Document::ClearVertexDelta Class Reference

Delta which deletes all edges attached to a vertex. More...

#include <ClearVertexDelta.h>

Inheritance diagram for Document::ClearVertexDelta:

Document::StackableDelta Document::DocumentDelta List of all members.

Public Member Functions

 ClearVertexDelta (std::size_t vertex_name)
 Construct giving vertex to clear.
void apply (Track::Track &track)
 Create a stack of DocumentDeltas.

Protected Attributes

std::size_t vertex_name

Detailed Description

Delta which deletes all edges attached to a vertex.

Definition at line 22 of file ClearVertexDelta.h.


Constructor & Destructor Documentation

Document::ClearVertexDelta::ClearVertexDelta ( std::size_t  vertex_name  ) 

Construct giving vertex to clear.

Definition at line 19 of file ClearVertexDelta.cpp.


Member Function Documentation

void Document::ClearVertexDelta::apply ( Track::Track track  )  [virtual]

Create a stack of DocumentDeltas.

Use only add_to_stack() to change the track, so that changes can be reversed.

Parameters:
track The track to apply the changes to.

Implements Document::StackableDelta.

Definition at line 24 of file ClearVertexDelta.cpp.


Member Data Documentation

std::size_t Document::ClearVertexDelta::vertex_name [protected]

Definition at line 30 of file ClearVertexDelta.h.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.