A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/seq__id__sort_8cpp_source.html below:

NCBI C++ ToolKit: src/objmgr/seq_id_sort.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

41 #define NCBI_USE_ERRCODE_X ObjMgr_Scope 48

: m_Id(idh), m_Index(idx), m_SortedIndex(0)

51  switch

( m_Id.Which() ) {

81  const CDbtag

& dbt =

id

->GetGeneral();

101  if

(

m_Id

.

Which

() !=

id

.m_Id.Which() ||

102

(

m_Parts

.empty() &&

id

.m_Parts.empty())) {

108  if

(

i

>=

id

.

m_Parts

.size())

return false

;

110  const SIdPart

& p2 =

id

.m_Parts[

i

];

119  if

(c != 0)

return

c < 0;

122  return i

<

id

.m_Parts.size();

129  size_t

delim = s.find(

'.'

);

130  while

(delim !=

NPOS

) {

136

delim = s.find(

'.'

, pos);

138  if

(pos < s.size()) {

147  for

(

size_t i

= 0;

i

< ids.size(); ++

i

) {

158  if

( ids.empty() || ids.back() != sortable_id->GetId() ) {

159

ids.push_back(sortable_id->GetId());

161

sortable_id.GetNCObject().SetSortedIndex(ids.size()-1);

bool operator<(const CSortableSeq_id &id) const

void x_ParseParts(const string &s)

CSortedSeq_ids(const TIds &ids)

vector< CSeq_id_Handle > TIds

void GetSortedIds(TIds &ids) const

CSeq_id::E_Choice Which(void) const

CRef< C > Ref(C *object)

Helper functions to get CRef<> and CConstRef<> objects.

uint64_t Uint8

8-byte (64-bit) unsigned integer

#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.

const TTag & GetTag(void) const

Get the Tag member data.

bool IsId(void) const

Check if variant Id is selected.

const TDb & GetDb(void) const

Get the Db member data.

const TStr & GetStr(void) const

Get the variant data.

TId GetId(void) const

Get the variant data.

@ e_Gibbmt

Geninfo backbone moltype.

@ e_Giim

Geninfo import id.

@ e_Other

for historical reasons, 'other' = 'refseq'

@ e_Gpipe

Internal NCBI genome pipeline processing ID.

@ e_Tpe

Third Party Annot/Seq EMBL.

@ e_Tpd

Third Party Annot/Seq DDBJ.

@ e_Gibbsq

Geninfo backbone seqid.

@ e_General

for other databases

@ e_Gi

GenInfo Integrated Database.

@ e_not_set

No variant selected.

@ e_Tpg

Third Party Annot/Seq Genbank.

constexpr auto sort(_Init &&init)

Predicate for sorting CSeq_id_Handles in a defined order.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4