NCBI C++ ToolKit
|
Search Toolkit Book for SRelLoc
Location relative to a base Seq-loc: one (usually) or more ranges of offsets. More...
#include <objmgr/util/sequence.hpp>
Public Types | |
enum | EFlags { fNoMerge = 0x1 } |
typedef int | TFlags |
binary OR of EFlags More... | |
typedef CSeq_interval | TRange |
For relative ranges (ONLY), id is irrelevant and normally unset. More... | |
typedef vector< CRef< TRange > > | TRanges |
Public Member Functions | |
SRelLoc (const CSeq_loc &parent, const CSeq_loc &child, CScope *scope=0, TFlags flags=0) | |
Beware: treats locations corresponding to different sequences as disjoint, even if one is actually a segment of the other. More... | |
SRelLoc (const CSeq_loc &parent, const TRanges &ranges) | |
For manual work. As noted above, ranges need not contain any IDs. More... | |
CRef< CSeq_loc > | Resolve (CScope *scope=0, TFlags flags=0) const |
CRef< CSeq_loc > | Resolve (const CSeq_loc &new_parent, CScope *scope=0, TFlags flags=0) const |
Public Attributes | |
CConstRef< CSeq_loc > | m_ParentLoc |
TRanges | m_Ranges |
Location relative to a base Seq-loc: one (usually) or more ranges of offsets.
XXX - handle fuzz?
Definition at line 1123 of file sequence.hpp.