SegmentMap Class Reference

SegmentMap defines an interface for mapping a SegmentId to a loaded Segment instance. More...

#include <SegmentMap.h>

Inheritance diagram for SegmentMap:

Database List of all members.

Public Member Functions

virtual ~SegmentMap ()
virtual SharedSegment getSegmentById (SegmentId segmentId, SharedSegment pDataSegment)=0
 Finds a segment by its SegmentId.

Detailed Description

SegmentMap defines an interface for mapping a SegmentId to a loaded Segment instance.

Definition at line 33 of file SegmentMap.h.


Constructor & Destructor Documentation

virtual SegmentMap::~SegmentMap (  )  [inline, virtual]

Definition at line 36 of file SegmentMap.h.

00037     {
00038     }


Member Function Documentation

virtual SharedSegment SegmentMap::getSegmentById ( SegmentId  segmentId,
SharedSegment  pDataSegment 
) [pure virtual]

Finds a segment by its SegmentId.

Parameters:
segmentId the SegmentId to find
pDataSegment the specific segment associated with a statement, if a specific segment must be used
Returns:
loaded segment, or a singular SharedSegment if not found

Implemented in Database.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:45 2009 for Fennel by  doxygen 1.5.1