NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
SRelLoc Struct Reference

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>

+ Collaboration diagram for SRelLoc:

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_locResolve (CScope *scope=0, TFlags flags=0) const
 
CRef< CSeq_locResolve (const CSeq_loc &new_parent, CScope *scope=0, TFlags flags=0) const
 

Public Attributes

CConstRef< CSeq_locm_ParentLoc
 
TRanges m_Ranges
 

Detailed Description

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.


The documentation for this struct was generated from the following files:
Modified on Sat Dec 09 04:45:40 2023 by modify_doxy.py rev. 669887