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

Search Toolkit Book for BlockModelPair

#include <algo/structure/cd_utils/cuBlock.hpp>

+ Collaboration diagram for BlockModelPair:

Public Member Functions

 BlockModelPair ()
 
 BlockModelPair (const CRef< CSeq_align > seqAlign)
 
 BlockModelPair (const BlockModelPair &rhs)
 
 ~BlockModelPair ()
 
BlockModelPairoperator= (const BlockModelPair &rhs)
 
BlockModelgetMaster ()
 
const BlockModelgetMaster () const
 
BlockModelgetSlave ()
 
const BlockModelgetSlave () const
 
void degap ()
 
CRef< CSeq_aligntoSeqAlign () const
 
int mapToMaster (int slavePos) const
 
int mapToSlave (int masterPos) const
 
bool isValid () const
 
int remaster (const BlockModelPair &guide)
 
bool mask (const vector< Block > &maskBlocks, bool maskBasedOnMaster)
 
void reverse ()
 
void reset ()
 

Private Member Functions

void extendMidway (int blockNum)
 

Private Attributes

BlockModelm_master
 
BlockModelm_slave
 

Detailed Description

Definition at line 145 of file cuBlock.hpp.

Constructor & Destructor Documentation

◆ BlockModelPair() [1/3]

BlockModelPair::BlockModelPair ( )

Definition at line 871 of file cuBlock.cpp.

References m_master, and m_slave.

◆ BlockModelPair() [2/3]

BlockModelPair::BlockModelPair ( const CRef< CSeq_align seqAlign)

Definition at line 878 of file cuBlock.cpp.

References m_master, and m_slave.

◆ BlockModelPair() [3/3]

BlockModelPair::BlockModelPair ( const BlockModelPair rhs)

Definition at line 885 of file cuBlock.cpp.

References m_master, and m_slave.

◆ ~BlockModelPair()

BlockModelPair::~BlockModelPair ( )

Definition at line 911 of file cuBlock.cpp.

References m_master, and m_slave.

Member Function Documentation

◆ degap()

void BlockModelPair::degap ( )

◆ extendMidway()

void BlockModelPair::extendMidway ( int  blockNum)
private

◆ getMaster() [1/2]

BlockModel & BlockModelPair::getMaster ( )

◆ getMaster() [2/2]

const BlockModel & BlockModelPair::getMaster ( ) const

Definition at line 930 of file cuBlock.cpp.

References m_master.

◆ getSlave() [1/2]

BlockModel & BlockModelPair::getSlave ( )

◆ getSlave() [2/2]

const BlockModel & BlockModelPair::getSlave ( ) const

Definition at line 940 of file cuBlock.cpp.

References m_slave.

◆ isValid()

bool BlockModelPair::isValid ( ) const

◆ mapToMaster()

int BlockModelPair::mapToMaster ( int  slavePos) const

◆ mapToSlave()

int BlockModelPair::mapToSlave ( int  masterPos) const

Definition at line 997 of file cuBlock.cpp.

References BlockModel::getBlock(), BlockModel::getBlockNumber(), Block::getStart(), m_master, and m_slave.

Referenced by mask().

◆ mask()

bool BlockModelPair::mask ( const vector< Block > &  maskBlocks,
bool  maskBasedOnMaster 
)

◆ operator=()

BlockModelPair & BlockModelPair::operator= ( const BlockModelPair rhs)

Definition at line 895 of file cuBlock.cpp.

References m_master, m_slave, and NULL.

◆ remaster()

int BlockModelPair::remaster ( const BlockModelPair guide)

◆ reset()

void BlockModelPair::reset ( )

Definition at line 917 of file cuBlock.cpp.

References m_master, and m_slave.

◆ reverse()

void BlockModelPair::reverse ( )

Definition at line 1062 of file cuBlock.cpp.

References m_master, and m_slave.

Referenced by ReMasterCdWithoutUnifiedBlocks().

◆ toSeqAlign()

CRef< CSeq_align > BlockModelPair::toSeqAlign ( ) const

Member Data Documentation

◆ m_master

BlockModel* BlockModelPair::m_master
private

◆ m_slave

BlockModel* BlockModelPair::m_slave
private

The documentation for this class was generated from the following files:
Modified on Wed Sep 04 15:07:08 2024 by modify_doxy.py rev. 669887