84 return GetAnnot() == graph.
GetAnnot() &&
89 return !(*
this == graph);
93 return (GetAnnot() < graph.
GetAnnot()) ||
102 if ( !m_MappedGraph ) {
105 return *m_MappedGraph;
110 return GetOriginalGraph().IsSetTitle();
114 return GetOriginalGraph().GetTitle();
119 return GetOriginalGraph().IsSetComment();
123 return GetOriginalGraph().GetComment();
128 if ( !m_MappedLoc ) {
136 return GetOriginalGraph().IsSetTitle_x();
140 return GetOriginalGraph().GetTitle_x();
145 return GetOriginalGraph().IsSetTitle_y();
149 return GetOriginalGraph().GetTitle_y();
154 return GetOriginalGraph().IsSetComp();
158 return GetOriginalGraph().GetComp();
163 return GetOriginalGraph().IsSetA();
167 return GetOriginalGraph().GetA();
172 return GetOriginalGraph().IsSetB();
176 return GetOriginalGraph().GetB();
181 if ( m_MappedGraph ) {
182 return m_MappedGraph->GetNumval();
184 if ( !m_GraphRef->GetMappingInfo().IsMapped() ) {
185 return GetOriginalGraph().GetNumval();
189 numval += it->GetLength();
202 const TRange& GetMappedGraphTotalRange(
void)
const;
216 void MakeMappedGraph(
void)
const;
217 void MakeMappedLoc(
void)
const;
218 void MakeMappedGraphData(
CSeq_graph& dst)
const;
User-defined methods of the data storage class.
TAnnotIndex GetAnnotIndex(void) const
bool operator!=(const CAnnotTypes_CI &it) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
unsigned int TSeqPos
Type for sequence locations and lengths.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
CVect2< NCBI_PROMOTE(int,U) > operator*(int v1, const CVect2< U > &v2)
bool IsValid(const CSeq_point &pt, CScope *scope)
Checks that point >= 0 and point < length of Bioseq.
vector< TRange > TGraphRanges
CGraph_CI & operator--(void)
const string & GetTitle_x(void) const
TSeqPos GetComp(void) const
const string & GetTitle(void) const
const CMappedGraph * operator->(void) const
CGraphRanges::TGraphRanges TGraphRanges
bool IsSetTitle(void) const
bool operator<(const CMappedGraph &graph) const
CSeq_annot_Handle GetAnnot(void) const
Get containing annot handle.
const string & GetTitle_y(void) const
TSeqPos GetNumval(void) const
bool operator!=(const CMappedGraph &graph) const
bool IsSetComp(void) const
CConstRef< CSeq_loc > m_MappedLoc
DECLARE_OPERATOR_BOOL(IsValid())
CGraphRanges::TRange TRange
CRef< CAnnot_Collector > m_Collector
CMappedGraph()
empty CMappedGraph
const CSeq_graph & GetMappedGraph(void) const
Graph mapped to the master sequence.
const CGraph_CI & begin() const
CGraph_CI & operator++(void)
CGraph_CI(const CGraph_CI &it, EAtEnd)
bool IsSetTitle_x(void) const
bool operator!=(const CGraph_CI &it) const
bool IsSetTitle_y(void) const
CGraph_CI(void)
Create an empty iterator.
const CMappedGraph & operator*(void) const
bool operator==(const CMappedGraph &graph) const
Check if it's the same graph.
CConstRef< CSeq_graph > m_MappedGraph
const CSeq_graph & GetOriginalGraph(void) const
Get original graph with unmapped location/product.
const CSeq_loc & GetLoc(void) const
bool IsSetComment(void) const
const string & GetComment(void) const
const CAnnotObject_Ref * m_GraphRef
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XOBJMGR_EXPORT
ENa_strand
strand of nucleic acid
const TGraph & GetGraph(void) const
Get the Graph member data.
range(_Ty, _Ty) -> range< _Ty >
S & operator--(CNetRef< S > &r, int)