NCBI C++ ToolKit
Classes | Public Types | Static Public Member Functions | List of all members
CSeqConvert Class Reference

Search Toolkit Book for CSeqConvert

#include <util/sequtil/sequtil_convert.hpp>

Classes

class  IPackTarget
 

Public Types

typedef CSeqUtil::ECoding TCoding
 

Static Public Member Functions

static SIZE_TYPE Convert (const CTempString &src, TCoding src_coding, TSeqPos pos, TSeqPos length, string &dst, TCoding dst_coding)
 
static SIZE_TYPE Convert (const string &src, TCoding src_coding, TSeqPos pos, TSeqPos length, vector< char > &dst, TCoding dst_coding)
 
static SIZE_TYPE Convert (const vector< char > &src, TCoding src_coding, TSeqPos pos, TSeqPos length, string &dst, TCoding dst_coding)
 
static SIZE_TYPE Convert (const vector< char > &src, TCoding src_coding, TSeqPos pos, TSeqPos length, vector< char > &dst, TCoding dst_coding)
 
static SIZE_TYPE Convert (const char src[], TCoding src_coding, TSeqPos pos, TSeqPos length, char dst[], TCoding dst_coding)
 
static SIZE_TYPE Subseq (const string &src, TCoding src_coding, TSeqPos pos, TSeqPos length, string &dst)
 
static SIZE_TYPE Subseq (const string &src, TCoding src_coding, TSeqPos pos, TSeqPos length, vector< char > &dst)
 
static SIZE_TYPE Subseq (const vector< char > &src, TCoding src_coding, TSeqPos pos, TSeqPos length, string &dst)
 
static SIZE_TYPE Subseq (const vector< char > &src, TCoding src_coding, TSeqPos pos, TSeqPos length, vector< char > &dst)
 
static SIZE_TYPE Subseq (const char *src, TCoding src_coding, TSeqPos pos, TSeqPos length, char *dst)
 
static SIZE_TYPE Pack (const string &src, TCoding src_coding, vector< char > &dst, TCoding &dst_coding, TSeqPos length=ncbi::numeric_limits< TSeqPos >::max())
 
static SIZE_TYPE Pack (const vector< char > &src, TCoding src_coding, vector< char > &dst, TCoding &dst_coding, TSeqPos length=ncbi::numeric_limits< TSeqPos >::max())
 
static SIZE_TYPE Pack (const char *src, TSeqPos length, TCoding src_coding, char *dst, TCoding &dst_coding)
 
static SIZE_TYPE Pack (const string &src, TCoding src_coding, IPackTarget &dst, TSeqPos length=numeric_limits< TSeqPos >::max())
 
static SIZE_TYPE Pack (const vector< char > &src, TCoding src_coding, IPackTarget &dst, TSeqPos length=numeric_limits< TSeqPos >::max())
 
static SIZE_TYPE Pack (const char *src, TSeqPos length, TCoding src_coding, IPackTarget &dst)
 

Detailed Description

Definition at line 48 of file sequtil_convert.hpp.

Member Typedef Documentation

◆ TCoding

Definition at line 53 of file sequtil_convert.hpp.

Member Function Documentation

◆ Convert() [1/5]

SIZE_TYPE CSeqConvert::Convert ( const char  src[],
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
char  dst[],
TCoding  dst_coding 
)
static

Definition at line 105 of file sequtil_convert.cpp.

References CSeqConvert_imp::Convert().

◆ Convert() [2/5]

SIZE_TYPE CSeqConvert::Convert ( const CTempString src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
string dst,
TCoding  dst_coding 
)
static

◆ Convert() [3/5]

SIZE_TYPE CSeqConvert::Convert ( const string src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
vector< char > &  dst,
TCoding  dst_coding 
)
static

Definition at line 61 of file sequtil_convert.cpp.

References CSeqConvert_imp::Convert().

◆ Convert() [4/5]

SIZE_TYPE CSeqConvert::Convert ( const vector< char > &  src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
string dst,
TCoding  dst_coding 
)
static

Definition at line 76 of file sequtil_convert.cpp.

References CSeqConvert_imp::Convert().

◆ Convert() [5/5]

SIZE_TYPE CSeqConvert::Convert ( const vector< char > &  src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
vector< char > &  dst,
TCoding  dst_coding 
)
static

Definition at line 91 of file sequtil_convert.cpp.

References CSeqConvert_imp::Convert().

◆ Pack() [1/6]

SIZE_TYPE CSeqConvert::Pack ( const char *  src,
TSeqPos  length,
TCoding  src_coding,
char *  dst,
TCoding dst_coding 
)
static

Definition at line 199 of file sequtil_convert.cpp.

References CSeqConvert_imp::Pack().

◆ Pack() [2/6]

SIZE_TYPE CSeqConvert::Pack ( const char *  src,
TSeqPos  length,
TCoding  src_coding,
IPackTarget dst 
)
static

Definition at line 222 of file sequtil_convert.cpp.

References CSeqConvert_imp::Pack().

◆ Pack() [3/6]

SIZE_TYPE CSeqConvert::Pack ( const string src,
TCoding  src_coding,
IPackTarget dst,
TSeqPos  length = numeric_limits<TSeqPos>::max() 
)
static

Definition at line 210 of file sequtil_convert.cpp.

References CSeqConvert_imp::Pack().

◆ Pack() [4/6]

SIZE_TYPE CSeqConvert::Pack ( const string src,
TCoding  src_coding,
vector< char > &  dst,
TCoding dst_coding,
TSeqPos  length = ncbi::numeric_limits<TSeqPos>::max() 
)
static

◆ Pack() [5/6]

SIZE_TYPE CSeqConvert::Pack ( const vector< char > &  src,
TCoding  src_coding,
IPackTarget dst,
TSeqPos  length = numeric_limits<TSeqPos>::max() 
)
static

Definition at line 216 of file sequtil_convert.cpp.

References CSeqConvert_imp::Pack().

◆ Pack() [6/6]

SIZE_TYPE CSeqConvert::Pack ( const vector< char > &  src,
TCoding  src_coding,
vector< char > &  dst,
TCoding dst_coding,
TSeqPos  length = ncbi::numeric_limits<TSeqPos>::max() 
)
static

Definition at line 189 of file sequtil_convert.cpp.

References CSeqConvert_imp::Pack().

◆ Subseq() [1/5]

SIZE_TYPE CSeqConvert::Subseq ( const char *  src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
char *  dst 
)
static

Definition at line 165 of file sequtil_convert.cpp.

References CSeqConvert_imp::Subseq().

◆ Subseq() [2/5]

SIZE_TYPE CSeqConvert::Subseq ( const string src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
string dst 
)
static

Definition at line 121 of file sequtil_convert.cpp.

References CSeqConvert_imp::Subseq().

◆ Subseq() [3/5]

SIZE_TYPE CSeqConvert::Subseq ( const string src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
vector< char > &  dst 
)
static

Definition at line 132 of file sequtil_convert.cpp.

References CSeqConvert_imp::Subseq().

◆ Subseq() [4/5]

SIZE_TYPE CSeqConvert::Subseq ( const vector< char > &  src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
string dst 
)
static

Definition at line 143 of file sequtil_convert.cpp.

References CSeqConvert_imp::Subseq().

◆ Subseq() [5/5]

SIZE_TYPE CSeqConvert::Subseq ( const vector< char > &  src,
TCoding  src_coding,
TSeqPos  pos,
TSeqPos  length,
vector< char > &  dst 
)
static

Definition at line 154 of file sequtil_convert.cpp.

References CSeqConvert_imp::Subseq().


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