7 #ifndef _HALTOPSEGMENT_H
8 #define _HALTOPSEGMENT_H
11 #include "halSegment.h"
26 virtual bool hasParent()
const = 0;
54 virtual bool hasParseDown()
const = 0;
60 virtual bool hasNextParalogy()
const = 0;
85 friend class counted_ptr<TopSegment>;
86 friend class counted_ptr<const TopSegment>;
87 virtual ~TopSegment() = 0;
90 inline TopSegment::~TopSegment() {}
virtual void setNextParalogyIndex(hal_index_t parIdx)=0
Definition: halSegment.h:21
virtual hal_index_t getRightParentIndex() const =0
Definition: halTopSegment.h:18
virtual void setParentReversed(bool isReversed)=0
virtual void setBottomParseIndex(hal_index_t botParseIdx)=0
virtual bool getParentReversed() const =0
virtual hal_index_t getBottomParseIndex() const =0
virtual hal_index_t getParentIndex() const =0
virtual hal_index_t getLeftParentIndex() const =0
virtual bool isCanonicalParalog() const =0
virtual hal_offset_t getBottomParseOffset() const =0
virtual void setParentIndex(hal_index_t parIdx)=0
virtual hal_index_t getNextParalogyIndex() const =0