NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
CSeqDBGiList::SSiOid Struct Reference

Search Toolkit Book for CSeqDBGiList::SSiOid

Structure that holds Seq-id,OID pairs. More...

#include <objtools/blast/seqdb_reader/seqdbcommon.hpp>

Public Member Functions

 SSiOid (const string &si_in="", int oid_in=-1)
 Constuct a SSiOid element from the given Seq-id and oid. More...
 

Public Attributes

string si
 The String-id or "" if unknown. More...
 
int oid
 The OID or -1 if unknown. More...
 

Detailed Description

Structure that holds Seq-id,OID pairs.

Definition at line 205 of file seqdbcommon.hpp.

Constructor & Destructor Documentation

◆ SSiOid()

CSeqDBGiList::SSiOid::SSiOid ( const string si_in = "",
int  oid_in = -1 
)
inline

Constuct a SSiOid element from the given Seq-id and oid.

Parameters
seqid_inA Seq-id, or NULL if none is available.
oid_inAn OID, or -1 if none is available.

Definition at line 209 of file seqdbcommon.hpp.

Member Data Documentation

◆ oid

int CSeqDBGiList::SSiOid::oid

◆ si

string CSeqDBGiList::SSiOid::si

The String-id or "" if unknown.

Definition at line 215 of file seqdbcommon.hpp.

Referenced by CSeqDB_SortSiLessThan::operator()(), and CBlastDbBioseqSource::x_GetOidFromSeqID().


The documentation for this struct was generated from the following file:
Modified on Sun Apr 14 05:26:53 2024 by modify_doxy.py rev. 669887