#include <ChangeVertexSegmentDelta.h>
Inheritance diagram for Document::VertexSegmentFinder:
Public Member Functions | |
VertexSegmentFinder (std::size_t node_id) | |
Create associating with a vertex. | |
virtual void | read (const Track::Track &track, std::size_t &segment_index) |
Read the segment index Reads the segment index of the associated vertex. | |
virtual void | write (Track::Track &track, const std::size_t &new_segment_index) |
Change the associated vertex's segment. | |
std::size_t | get_vertex_name () const |
Get the associated vertex's name passed to the constructor. | |
Protected Attributes | |
std::size_t | node_id |
The name of the associated vertex. |
Definition at line 25 of file ChangeVertexSegmentDelta.h.
Document::VertexSegmentFinder::VertexSegmentFinder | ( | std::size_t | node_id | ) |
Create associating with a vertex.
node_id | The name of the vertex to associate with. |
Definition at line 19 of file ChangeVertexSegmentDelta.cpp.
std::size_t Document::VertexSegmentFinder::get_vertex_name | ( | ) | const |
Get the associated vertex's name passed to the constructor.
Definition at line 38 of file ChangeVertexSegmentDelta.cpp.
void Document::VertexSegmentFinder::read | ( | const Track::Track & | track, | |
std::size_t & | segment_index | |||
) | [virtual] |
Read the segment index Reads the segment index of the associated vertex.
track | The track containing the associated vertex. | |
segment_index | This will be set the assicated vertex's segment's index. |
Implements Document::PropertyDeltaIdentifier< std::size_t >.
Definition at line 24 of file ChangeVertexSegmentDelta.cpp.
void Document::VertexSegmentFinder::write | ( | Track::Track & | track, | |
const std::size_t & | new_segment_index | |||
) | [virtual] |
Change the associated vertex's segment.
track | The track containing the associated vertex. | |
new_segment_index | The index of the segment to use. |
Implements Document::PropertyDeltaIdentifier< std::size_t >.
Definition at line 29 of file ChangeVertexSegmentDelta.cpp.
std::size_t Document::VertexSegmentFinder::node_id [protected] |
Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.