halapi
hierarchichalalignmentformatapi
|
00001 /* 00002 * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu) 00003 * 00004 * Released under the MIT license, see LICENSE.txt 00005 */ 00006 00007 #ifndef _STATICBOTTOMSEGMENT_H 00008 #define _STATICBOTTOMSEGMENT_H 00009 00010 #include "bottomSegment.h" 00011 00012 namespace hal { 00013 00018 template <int NumChildren> 00019 class StaticBottomSegment: public BottomSegment 00020 { 00021 public: 00024 int getNumChildren() const; 00026 segidx_t getChildIndex(int i) const; 00028 bool getReverseComp(int i) const; 00029 00030 protected: 00031 segidx_t _childSegIndex[NumChildren]; 00032 bool _reverseComplement[NumChildren]; 00033 }; 00034 00035 } 00036 #endif