NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CBioObjectId Class Reference

Search Toolkit Book for CBioObjectId

#include <objmgr/bio_object_id.hpp>

+ Collaboration diagram for CBioObjectId:

Public Types

enum  EType { eSeqId, eSetId, eUniqNumber, eUnSet }
 

Public Member Functions

 CBioObjectId ()
 
 CBioObjectId (const CSeq_id_Handle &id)
 
 CBioObjectId (EType type, TIntId id)
 
const CSeq_id_HandleGetSeqId () const
 
TIntId GetSetId () const
 
TIntId GetUniqNumber () const
 
bool operator== (const CBioObjectId &other) const
 
bool operator!= (const CBioObjectId &other) const
 
bool operator< (const CBioObjectId &other) const
 
EType GetType () const
 
const CSeq_id_Handlex_GetSeqIdNoCheck () const
 

Private Attributes

pair< EType, CSeq_id_Handlem_Id
 

Detailed Description

Definition at line 42 of file bio_object_id.hpp.

Member Enumeration Documentation

Enumerator
eSeqId 
eSetId 
eUniqNumber 
eUnSet 

Definition at line 45 of file bio_object_id.hpp.

Constructor & Destructor Documentation

CBioObjectId::CBioObjectId ( )
inline

Definition at line 51 of file bio_object_id.hpp.

CBioObjectId::CBioObjectId ( const CSeq_id_Handle id)
inlineexplicit

Definition at line 52 of file bio_object_id.hpp.

CBioObjectId::CBioObjectId ( EType  type,
TIntId  id 
)
inline

Definition at line 53 of file bio_object_id.hpp.

References _ASSERT.

Member Function Documentation

const CSeq_id_Handle& CBioObjectId::GetSeqId ( void  ) const
inline

Definition at line 59 of file bio_object_id.hpp.

References _ASSERT.

Referenced by CTSE_Info::x_FindBioObject().

TIntId CBioObjectId::GetSetId ( ) const
inline

Definition at line 63 of file bio_object_id.hpp.

References _ASSERT.

Referenced by CTSE_Info::x_FindBioObject().

EType CBioObjectId::GetType ( void  ) const
inline
TIntId CBioObjectId::GetUniqNumber ( ) const
inline

Definition at line 67 of file bio_object_id.hpp.

References _ASSERT.

bool CBioObjectId::operator!= ( const CBioObjectId other) const
inline

Definition at line 74 of file bio_object_id.hpp.

References m_Id.

bool CBioObjectId::operator< ( const CBioObjectId other) const
inline

Definition at line 77 of file bio_object_id.hpp.

References m_Id.

bool CBioObjectId::operator== ( const CBioObjectId other) const
inline

Definition at line 71 of file bio_object_id.hpp.

References m_Id.

const CSeq_id_Handle& CBioObjectId::x_GetSeqIdNoCheck ( ) const
inline

Definition at line 82 of file bio_object_id.hpp.

Member Data Documentation

pair<EType, CSeq_id_Handle> CBioObjectId::m_Id
private

Definition at line 85 of file bio_object_id.hpp.

Referenced by operator!=(), operator<(), and operator==().


The documentation for this class was generated from the following file:
Modified on Fri Sep 04 16:39:58 2015 by modify_doxy.py rev. 426318