Document::PropertyDeltaIdentifier< Data > Class Template Reference

Virtual base class to help with the Identifer template parameter of ChangePropertyDelta. More...

#include <ChangePropertyDelta.h>

List of all members.

Public Member Functions

virtual ~PropertyDeltaIdentifier ()
virtual void read (const Track::Track &track, Data &data)=0
 Read the data from track and write it to data.
virtual void write (Track::Track &track, const Data &data)=0
 Write the data to track.


Detailed Description

template<class Data>
class Document::PropertyDeltaIdentifier< Data >

Virtual base class to help with the Identifer template parameter of ChangePropertyDelta.

It is not necessary to inherit from this class, but you should write a class with read and write properties that do the same thing.

Definition at line 26 of file ChangePropertyDelta.h.


Constructor & Destructor Documentation

template<class Data>
virtual Document::PropertyDeltaIdentifier< Data >::~PropertyDeltaIdentifier (  )  [inline, virtual]

Definition at line 29 of file ChangePropertyDelta.h.


Member Function Documentation

template<class Data>
virtual void Document::PropertyDeltaIdentifier< Data >::read ( const Track::Track track,
Data &  data 
) [pure virtual]

Read the data from track and write it to data.

Parameters:
track The track to extract the data from.
data The variable to store the data too.

Implemented in Document::EdgeSegmentFinder, Document::VertexSegmentFinder, Document::NodePositionFinder, Document::TrackAttachmentPositionFinder, Document::VertexAngleFinder, Document::EdgeStrengthFinder, and Document::StartEdgeFinder.

template<class Data>
virtual void Document::PropertyDeltaIdentifier< Data >::write ( Track::Track track,
const Data &  data 
) [pure virtual]

Write the data to track.

Parameters:
track The track to write the data to.
data The data to write.

Implemented in Document::EdgeSegmentFinder, Document::VertexSegmentFinder, Document::NodePositionFinder, Document::TrackAttachmentPositionFinder, Document::VertexAngleFinder, Document::EdgeStrengthFinder, and Document::StartEdgeFinder.


The documentation for this class was generated from the following file:
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.