Simias::Sync::OffsetSegment Class Reference

Descibes a file segment using the offset and the length from the local file. More...

Inheritance diagram for Simias::Sync::OffsetSegment:

Inheritance graph
[legend]
Collaboration diagram for Simias::Sync::OffsetSegment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 OffsetSegment (long length, long offset)
 Initialize a new Offset Segment.

Static Public Member Functions

static void AddToArray (ArrayList segArray, OffsetSegment seg)
 Adds the segment to the array. If this segment is contiguous with the last segment combine them.

Public Attributes

long Length
 The length of the segment.


Detailed Description

Descibes a file segment using the offset and the length from the local file.


Constructor & Destructor Documentation

Simias::Sync::OffsetSegment::OffsetSegment ( long  length,
long  offset 
) [inline]

Initialize a new Offset Segment.

Parameters:
length The length of the segment.
offset The offset of the segment.


Member Function Documentation

static void Simias::Sync::OffsetSegment::AddToArray ( ArrayList  segArray,
OffsetSegment  seg 
) [inline, static]

Adds the segment to the array. If this segment is contiguous with the last segment combine them.

Parameters:
segArray The array to add the segment to.
seg The new segment to add.


Member Data Documentation

The length of the segment.


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

Generated on Wed Apr 8 14:56:34 2009 for simias by  doxygen 1.5.6