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

Search Toolkit Book for SAnnotPiece

#include <objmgr/split/annot_piece.hpp>

+ Collaboration diagram for SAnnotPiece:

Public Types

enum  EPieceType {
  empty , seq_descr , seq_annot , annot_object ,
  seq_data , hist_assembly , bioseq
}
 
typedef CSeqsRange::TRange TRange
 

Public Member Functions

 SAnnotPiece (void)
 
 SAnnotPiece (const CPlaceId &place_id, const CSeq_descr_SplitInfo &descr)
 
 SAnnotPiece (const CPlaceId &place_id, const CSeq_annot_SplitInfo &annot)
 
 SAnnotPiece (const CPlaceId &place_id, const CSeq_annot_SplitInfo &annot, const CAnnotObject_SplitInfo &obj)
 
 SAnnotPiece (const CPlaceId &place_id, const CSeq_data_SplitInfo &data)
 
 SAnnotPiece (const CPlaceId &place_id, const CSeq_hist_SplitInfo &hist)
 
 SAnnotPiece (const CPlaceId &place_id, const CBioseq_SplitInfo &data)
 
 SAnnotPiece (const SAnnotPiece &base, const COneSeqRange &range)
 
bool operator< (const SAnnotPiece &piece) const
 
bool operator== (const SAnnotPiece &piece) const
 
bool operator!= (const SAnnotPiece &piece) const
 

Public Attributes

CPlaceId m_PlaceId
 
EPieceType m_ObjectType
 
union {
   const CObject *   m_Object
 
   const CSeq_descr_SplitInfo *   m_Seq_descr
 
   const CSeq_annot_SplitInfo *   m_Seq_annot
 
   const CSeq_data_SplitInfo *   m_Seq_data
 
   const CSeq_hist_SplitInfo *   m_Seq_hist
 
   const CBioseq_SplitInfo *   m_Bioseq
 
}; 
 
const CAnnotObject_SplitInfom_AnnotObject
 
TAnnotPriority m_Priority
 
CSize m_Size
 
CSeqsRange m_Location
 
TRange m_IdRange
 

Detailed Description

Definition at line 65 of file annot_piece.hpp.

Member Typedef Documentation

◆ TRange

Definition at line 67 of file annot_piece.hpp.

Member Enumeration Documentation

◆ EPieceType

Enumerator
empty 
seq_descr 
seq_annot 
annot_object 
seq_data 
hist_assembly 
bioseq 

Definition at line 90 of file annot_piece.hpp.

Constructor & Destructor Documentation

◆ SAnnotPiece() [1/8]

SAnnotPiece::SAnnotPiece ( void  )

Definition at line 44 of file annot_piece.cpp.

◆ SAnnotPiece() [2/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CSeq_descr_SplitInfo descr 
)
explicit

Definition at line 110 of file annot_piece.cpp.

References m_Seq_descr.

◆ SAnnotPiece() [3/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CSeq_annot_SplitInfo annot 
)
explicit

Definition at line 82 of file annot_piece.cpp.

References m_Seq_annot.

◆ SAnnotPiece() [4/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CSeq_annot_SplitInfo annot,
const CAnnotObject_SplitInfo obj 
)
explicit

Definition at line 67 of file annot_piece.cpp.

References m_Seq_annot.

◆ SAnnotPiece() [5/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CSeq_data_SplitInfo data 
)
explicit

Definition at line 96 of file annot_piece.cpp.

References m_Seq_data.

◆ SAnnotPiece() [6/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CSeq_hist_SplitInfo hist 
)
explicit

Definition at line 124 of file annot_piece.cpp.

References m_Seq_hist.

◆ SAnnotPiece() [7/8]

SAnnotPiece::SAnnotPiece ( const CPlaceId place_id,
const CBioseq_SplitInfo data 
)
explicit

Definition at line 138 of file annot_piece.cpp.

References m_Bioseq.

◆ SAnnotPiece() [8/8]

SAnnotPiece::SAnnotPiece ( const SAnnotPiece base,
const COneSeqRange range 
)

Definition at line 53 of file annot_piece.cpp.

References m_Object.

Member Function Documentation

◆ operator!=()

bool SAnnotPiece::operator!= ( const SAnnotPiece piece) const

Definition at line 198 of file annot_piece.cpp.

◆ operator<()

bool SAnnotPiece::operator< ( const SAnnotPiece piece) const

◆ operator==()

bool SAnnotPiece::operator== ( const SAnnotPiece piece) const

Definition at line 187 of file annot_piece.cpp.

References m_AnnotObject, m_IdRange, m_Object, m_ObjectType, and m_PlaceId.

Member Data Documentation

◆ 

union { ... }

◆ m_AnnotObject

const CAnnotObject_SplitInfo* SAnnotPiece::m_AnnotObject

Definition at line 110 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), operator<(), and operator==().

◆ m_Bioseq

const CBioseq_SplitInfo* SAnnotPiece::m_Bioseq

Definition at line 108 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), and SAnnotPiece().

◆ m_IdRange

TRange SAnnotPiece::m_IdRange

◆ m_Location

CSeqsRange SAnnotPiece::m_Location

◆ m_Object

const CObject* SAnnotPiece::m_Object

Definition at line 103 of file annot_piece.hpp.

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

◆ m_ObjectType

EPieceType SAnnotPiece::m_ObjectType

◆ m_PlaceId

CPlaceId SAnnotPiece::m_PlaceId

Definition at line 100 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), operator<(), and operator==().

◆ m_Priority

TAnnotPriority SAnnotPiece::m_Priority

Definition at line 112 of file annot_piece.hpp.

Referenced by CBlobSplitterImpl::Add().

◆ m_Seq_annot

const CSeq_annot_SplitInfo* SAnnotPiece::m_Seq_annot

◆ m_Seq_data

const CSeq_data_SplitInfo* SAnnotPiece::m_Seq_data

Definition at line 106 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), and SAnnotPiece().

◆ m_Seq_descr

const CSeq_descr_SplitInfo* SAnnotPiece::m_Seq_descr

Definition at line 104 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), operator<(), and SAnnotPiece().

◆ m_Seq_hist

const CSeq_hist_SplitInfo* SAnnotPiece::m_Seq_hist

Definition at line 107 of file annot_piece.hpp.

Referenced by SChunkInfo::Add(), and SAnnotPiece().

◆ m_Size

CSize SAnnotPiece::m_Size

The documentation for this struct was generated from the following files:
Modified on Wed Feb 28 07:13:26 2024 by modify_doxy.py rev. 669887