A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/Textseq__id_8cpp_source.html below:

NCBI C++ ToolKit: src/objects/seqloc/Textseq_id.cpp Source File

63  bool

allow_dot_version)

69

+

" for accession "

+

string

(acc_in));

87  if

(allow_dot_version) {

88

idx = acc.

rfind

(

'.'

);

109  "Version embedded in accession "

+

string

(acc)

110

+

" is not a positive integer"

);

114

+

" supplied for accession "

+

string

(acc));

122  if

(name.

empty

()) {

130  "Accession and name missing for Textseq-id (but got" 132

+

string

(release) +

')'

);

133

}

else if

(release.

empty

()) {

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

ostream & AsFastaString(ostream &s, bool allow_version=true) const

Format the contents FASTA string style.

CTextseq_id & Set(const CTempString &acc_in, const CTempString &name_in=kEmptyStr, int version=0, const CTempString &release_in=kEmptyStr, bool allow_dot_version=true)

Set all fields with a single call.

int Compare(const CTextseq_id &tsip2) const

bool Match(const CTextseq_id &tsip2) const

Comparison functions.

virtual ~CTextseq_id(void)

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

virtual bool Equals(const CSerialObject &object, ESerialRecursionMode how=eRecursive) const

Check if both objects contain the same values.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

NCBI_NS_STD::string::size_type SIZE_TYPE

static CTempString TruncateSpaces_Unsafe(const CTempString str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string.

static int StringToNonNegativeInt(const CTempString str, TStringToNumFlags flags=0)

Convert string to non-negative integer value.

size_type rfind(const CTempString match, size_type pos=npos) const

Find the first instance of the entire matching string within the current string in a backward directi...

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

PNocase_Generic< string > PNocase

bool empty(void) const

Return true if the represented string is empty (i.e., the length is zero)

CTempString substr(size_type pos) const

Obtain a substring from this string, beginning at a given offset.

@ eTrunc_Both

Truncate whitespace at both begin and end of string.

TName & SetName(void)

Assign a value to Name data member.

bool IsSetAccession(void) const

Check if a value has been assigned to Accession data member.

const TName & GetName(void) const

Get the Name member data.

void ResetVersion(void)

Reset Version data member.

void ResetAccession(void)

Reset Accession data member.

void ResetRelease(void)

Reset Release data member.

TVersion & SetVersion(void)

Assign a value to Version data member.

TVersion GetVersion(void) const

Get the Version member data.

TAccession & SetAccession(void)

Assign a value to Accession data member.

TRelease & SetRelease(void)

Assign a value to Release data member.

void ResetName(void)

Reset Name data member.

bool IsSetVersion(void) const

Check if a value has been assigned to Version data member.

bool IsSetName(void) const

Check if a value has been assigned to Name data member.

const TAccession & GetAccession(void) const

Get the Accession member data.

const string version

version string


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4