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

Search Toolkit Book for CNSeq

#include "NSeq.hpp"
(Private to src/algo/align/prosplign.)

+ Collaboration diagram for CNSeq:

Public Member Functions

 CNSeq ()
 
 CNSeq (CScope &scope, CSeq_loc &genomic)
 
 ~CNSeq (void)
 
void Init (CScope &scope, CSeq_loc &genomic)
 
void Init (const CNSeq &fullseq, const vector< pair< int, int > > &igi)
 
char Upper (int pos) const
 
int GetNuc (NSEQ::size_type j) const
 
int operator[] (NSEQ::size_type j) const
 
int size (void) const
 
bool ValidPos (int pos) const
 

Private Member Functions

 CNSeq (const CNSeq &)
 
CNSeq operator= (const CNSeq &)
 

Private Attributes

int m_size
 
NSEQ seq
 

Detailed Description

Definition at line 51 of file NSeq.hpp.

Constructor & Destructor Documentation

◆ CNSeq() [1/3]

CNSeq::CNSeq ( void  )

Definition at line 48 of file NSeq.cpp.

◆ CNSeq() [2/3]

CNSeq::CNSeq ( CScope scope,
CSeq_loc genomic 
)
inline

Definition at line 55 of file NSeq.hpp.

References Init().

◆ ~CNSeq()

CNSeq::~CNSeq ( void  )

Definition at line 53 of file NSeq.cpp.

◆ CNSeq() [3/3]

CNSeq::CNSeq ( const CNSeq )
private

Member Function Documentation

◆ GetNuc()

int CNSeq::GetNuc ( NSEQ::size_type  j) const
inline

Definition at line 69 of file NSeq.hpp.

References seq.

◆ Init() [1/2]

void CNSeq::Init ( const CNSeq fullseq,
const vector< pair< int, int > > &  igi 
)

Definition at line 64 of file NSeq.cpp.

References _ASSERT, m_size, NCBI_THROW, seq, and size().

◆ Init() [2/2]

void CNSeq::Init ( CScope scope,
CSeq_loc genomic 
)

◆ operator=()

CNSeq CNSeq::operator= ( const CNSeq )
private

◆ operator[]()

int CNSeq::operator[] ( NSEQ::size_type  j) const
inline

Definition at line 70 of file NSeq.hpp.

References seq.

◆ size()

int CNSeq::size ( void  ) const
inline

◆ Upper()

char CNSeq::Upper ( int  pos) const

Definition at line 58 of file NSeq.cpp.

References CTranslationTable::NucToChar(), and seq.

Referenced by CAliToSeq_align::MakeSeq_align().

◆ ValidPos()

bool CNSeq::ValidPos ( int  pos) const
inline

Definition at line 73 of file NSeq.hpp.

References int, and seq.

Member Data Documentation

◆ m_size

int CNSeq::m_size
private

Definition at line 75 of file NSeq.hpp.

Referenced by Init(), and size().

◆ seq

NSEQ CNSeq::seq
private

Definition at line 76 of file NSeq.hpp.

Referenced by GetNuc(), Init(), operator[](), Upper(), and ValidPos().


The documentation for this class was generated from the following files:
Modified on Mon Apr 22 04:01:02 2024 by modify_doxy.py rev. 669887