NCBI C++ ToolKit
|
Classes | |
class | CTempXStr< _TChar > |
class | XStr |
XStr –. More... | |
class | CNcbiEmptyString |
Empty "C++" string. More... | |
class | CNcbiEmptyWString |
class | NStr |
NStr –. More... | |
class | NStr::IWrapDest |
class | NStr::CWrapDestStringList |
class | CUtf8 |
CUtf8 –. More... | |
class | CParseTemplException< TBase > |
CParseTemplException –. More... | |
class | CStringException |
CStringException –. More... | |
class | IStringDecoder |
CStringPairsParser –. More... | |
class | IStringEncoder |
Encoder interface. Names and values can be encoded with different rules. More... | |
class | CStringDecoder_Url |
URL-decoder for string pairs parser. More... | |
class | CStringEncoder_Url |
URL-encoder for string pairs parser. More... | |
class | CStringPairs< TContainer > |
Template for parsing string into pairs of name and value or merging them back into a single string. More... | |
class | CEncodedString |
CEncodedString –. More... | |
struct | PCase_Generic< T > |
Define Case-sensitive string comparison methods. More... | |
struct | PNocase_Generic< T > |
Define Case-insensitive string comparison methods. More... | |
class | PNocase_Conditional_Generic< T > |
Define Case-insensitive string comparison methods. More... | |
class | PEqualNocase_Generic< T > |
Define Case-insensitive string equality (not less-than) comparison method. More... | |
class | PEqualNocase_Conditional_Generic< T > |
Define Case-insensitive string equality (not less-than) comparison method Case sensitivity can be turned on and off at runtime. More... | |
struct | PQuickStringLess |
PQuickStringLess implements an ordering of strings, that is more efficient than usual lexicographical order. More... | |
struct | CStrDummyTokenPos |
Do-nothing token position container. More... | |
struct | CStrDummyTokenCount |
Do nothing token counter. More... | |
struct | CStrDummyTargetReserve< TV, TP > |
Do nothing target reservation trait. More... | |
class | CTempStringList |
Singly-linked list of substrings that will constitute a single Split/Tokenize piece, optimized for the typical one-node case. More... | |
struct | CTempStringList::SNode |
class | CStrTokenizeBase |
class | CStrTokenize< TStr, TV, TP, TCount, TReserve > |
Main tokenization algorithm. More... | |
struct | CStringTokenCount |
token count trait for std::string More... | |
struct | CStrTargetReserve< TV, TP, TCount > |
Target reservation trait (applies for vector<>) More... | |
class | CStrTokenPosAdapter< TPosContainer > |
Adapter for token position container pointer(NULL legal) Makes pointer to a container look as a legal container. More... | |
class | CTempString |
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is known and controlled. More... | |
class | CTempStringEx |
class | CTempString_Storage |
Helper class to allocate memory for CTempString[Ex] on demand in the functions which need to modify the strings (e.g. More... | |
class | CTextJoiner< num_prealloc, TIn, TOut > |
CTextJoiner<> – template for efficiently collecting and joining strings. More... | |
Macros | |
#define | NCBI_TEXT(x) x |
#define | NcbiEmptyCStr NCBI_NS_NCBI::kEmptyCStr |
#define | NcbiEmptyWCStr NCBI_NS_NCBI::kEmptyWCStr |
#define | NcbiEmptyString NCBI_NS_NCBI::CNcbiEmptyString::Get() |
#define | kEmptyStr NcbiEmptyString |
#define | NcbiEmptyWString NCBI_NS_NCBI::CNcbiEmptyWString::Get() |
#define | kEmptyWStr NcbiEmptyWString |
#define | NPOS NCBI_NS_STD::string::npos |
#define | _TX(x) x |
#define | _T_XSTRING(x) (x) |
#define | _T_STDSTRING(x) (x) |
#define | _T_XCSTRING(x) ncbi::impl_ToCString(x) |
#define | _T_CSTRING(x) (x) |
#define | NcbiEmptyXCStr NcbiEmptyCStr |
#define | NcbiEmptyXString NcbiEmptyString |
#define | kEmptyXStr kEmptyStr |
#define | kEmptyXCStr kEmptyCStr |
#define | NCBI_TEMPSTR_MAKE_COPY() |
#define | NCBI_TEMPSTR_DESTROY_COPY() |
Friends | |
class | CUtf8::CStringUTF8_DEPRECATED |
std::basic_string<> compatibility typedefs and enums | |
typedef char | CTempString::value_type |
typedef size_t | CTempString::size_type |
typedef const char * | CTempString::const_iterator |
static const size_type | CTempString::npos = static_cast<size_type>(-1L) |
std::basic_string<> compatibility interface | |
CTempString & | CTempString::assign (const char *src_str, size_type len) |
Assign new values to the content of the a string. More... | |
CTempString & | CTempString::assign (const CTempString src_str) |
CTempString & | CTempString::assign (const CTempString src_str, size_type pos, size_type len) |
CTempString & | CTempString::operator= (const CTempString str) |
const_iterator | CTempString::begin () const |
Return an iterator to the string's starting position. More... | |
const_iterator | CTempString::end () const |
Return an iterator to the string's ending position (one past the end of the represented sequence) More... | |
const char * | CTempString::data (void) const |
Return a pointer to the array represented. More... | |
size_type | CTempString::length (void) const |
Return the length of the represented array. More... | |
size_type | CTempString::size (void) const |
Return the length of the represented array. More... | |
bool | CTempString::empty (void) const |
Return true if the represented string is empty (i.e., the length is zero) More... | |
void | CTempString::clear (void) |
Clears the string. More... | |
void | CTempString::erase (size_type pos=0) |
Truncate the string at some specified position Note: basic_string<> supports additional erase() options that we do not provide here. More... | |
size_type | CTempString::find (const CTempString match, size_type pos=0) const |
Find the first instance of the entire matching string within the current string, beginning at an optional offset. More... | |
size_type | CTempString::find (char match, size_type pos=0) const |
Find the first instance of a given character string within the current string in a forward direction, beginning at an optional offset. More... | |
size_type | CTempString::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 direction, beginning at an optional offset. More... | |
size_type | CTempString::rfind (char match, size_type pos=npos) const |
Find the last instance of a given character string within the current string, beginning at an optional offset. More... | |
size_type | CTempString::find_first_of (const CTempString match, size_type pos=0) const |
Find the first occurrence of any character in the matching string within the current string, beginning at an optional offset. More... | |
size_type | CTempString::find_first_not_of (const CTempString match, size_type pos=0) const |
Find the first occurrence of any character not in the matching string within the current string, beginning at an optional offset. More... | |
size_type | CTempString::find_last_of (const CTempString match, size_type pos=npos) const |
Find the last occurrence of any character in the matching string within the current string, beginning at an optional offset. More... | |
size_type | CTempString::find_last_not_of (const CTempString match, size_type pos=npos) const |
Find the last occurrence of any character not in the matching string within the current string, beginning at an optional offset. More... | |
CTempString | CTempString::substr (size_type pos) const |
Obtain a substring from this string, beginning at a given offset. More... | |
CTempString | CTempString::substr (size_type pos, size_type len) const |
Obtain a substring from this string, beginning at a given offset and extending a specified length. More... | |
char | CTempString::operator[] (size_type pos) const |
Index into the current string and provide its character in a read- only fashion. More... | |
int | CTempString::compare (const CTempString str) const |
Compare the current string with a given string. More... | |
bool | CTempString::operator== (const CTempString str) const |
bool | CTempString::operator!= (const CTempString str) const |
bool | CTempString::operator< (const CTempString str) const |
bool | CTempString::operator> (const CTempString str) const |
#define _T_CSTRING | ( | x | ) | (x) |
Definition at line 182 of file ncbistr.hpp.
#define _T_STDSTRING | ( | x | ) | (x) |
Definition at line 180 of file ncbistr.hpp.
#define _T_XCSTRING | ( | x | ) | ncbi::impl_ToCString(x) |
Definition at line 181 of file ncbistr.hpp.
#define _T_XSTRING | ( | x | ) | (x) |
Definition at line 179 of file ncbistr.hpp.
#define _TX | ( | x | ) | x |
Definition at line 176 of file ncbistr.hpp.
#define kEmptyStr NcbiEmptyString |
Definition at line 123 of file ncbistr.hpp.
#define kEmptyWStr NcbiEmptyWString |
Definition at line 127 of file ncbistr.hpp.
#define kEmptyXCStr kEmptyCStr |
Definition at line 187 of file ncbistr.hpp.
#define kEmptyXStr kEmptyStr |
Definition at line 186 of file ncbistr.hpp.
#define NCBI_TEMPSTR_DESTROY_COPY | ( | ) |
Definition at line 294 of file tempstr.hpp.
#define NCBI_TEMPSTR_MAKE_COPY | ( | ) |
Definition at line 293 of file tempstr.hpp.
#define NCBI_TEXT | ( | x | ) | x |
Definition at line 55 of file ncbi_xstr.hpp.
#define NcbiEmptyCStr NCBI_NS_NCBI::kEmptyCStr |
Definition at line 59 of file ncbistr.hpp.
#define NcbiEmptyString NCBI_NS_NCBI::CNcbiEmptyString::Get() |
Definition at line 122 of file ncbistr.hpp.
#define NcbiEmptyWCStr NCBI_NS_NCBI::kEmptyWCStr |
Definition at line 63 of file ncbistr.hpp.
#define NcbiEmptyWString NCBI_NS_NCBI::CNcbiEmptyWString::Get() |
Definition at line 126 of file ncbistr.hpp.
#define NcbiEmptyXCStr NcbiEmptyCStr |
Definition at line 184 of file ncbistr.hpp.
#define NcbiEmptyXString NcbiEmptyString |
Definition at line 185 of file ncbistr.hpp.
#define NPOS NCBI_NS_STD::string::npos |
Definition at line 133 of file ncbistr.hpp.
typedef const char* CTempString::const_iterator |
Definition at line 71 of file tempstr.hpp.
Definition at line 4805 of file ncbistr.hpp.
typedef EStringToNumFlags NStr::EConvErrFlags |
Formerly split out.
Definition at line 310 of file ncbistr.hpp.
typedef PCase_Generic<string> PCase |
Definition at line 4872 of file ncbistr.hpp.
typedef PCase_Generic<const char *> PCase_CStr |
Definition at line 4873 of file ncbistr.hpp.
typedef PEqualNocase_Generic<string> PEqualNocase |
Definition at line 4969 of file ncbistr.hpp.
Definition at line 5001 of file ncbistr.hpp.
typedef PEqualNocase_Conditional_Generic<const char *> PEqualNocase_Conditional_CStr |
Definition at line 5002 of file ncbistr.hpp.
typedef PEqualNocase_Generic<const char *> PEqualNocase_CStr |
Definition at line 4970 of file ncbistr.hpp.
typedef PNocase_Generic<string> PNocase |
Definition at line 4902 of file ncbistr.hpp.
Definition at line 4944 of file ncbistr.hpp.
typedef PNocase_Conditional_Generic<const char *> PNocase_Conditional_CStr |
Definition at line 4945 of file ncbistr.hpp.
typedef PNocase_Generic<const char *> PNocase_CStr |
Definition at line 4903 of file ncbistr.hpp.
typedef NCBI_NS_STD::string::size_type SIZE_TYPE |
Definition at line 132 of file ncbistr.hpp.
typedef size_t CTempString::size_type |
Definition at line 70 of file tempstr.hpp.
Definition at line 1053 of file tempstr.hpp.
|
private |
Definition at line 1061 of file tempstr.hpp.
typedef char16_t TCharUCS2 |
Type for character in UCS-2 encoding.
Definition at line 3841 of file ncbistr.hpp.
typedef TUnicodeSymbol TCharUCS4 |
Definition at line 3837 of file ncbistr.hpp.
typedef TV CStrTokenize< TStr, TV, TP, TCount, TReserve >::TContainer |
Definition at line 230 of file ncbistr_util.hpp.
typedef TStringToNumFlags NStr::TConvErrFlags |
Formerly split out.
Definition at line 312 of file ncbistr.hpp.
typedef TCount CStrTokenize< TStr, TV, TP, TCount, TReserve >::TCountTrait |
Definition at line 232 of file ncbistr_util.hpp.
|
private |
Definition at line 1062 of file tempstr.hpp.
typedef int NStr::TDedentFlags |
Bitwise OR of EDedentFlags.
Definition at line 3417 of file ncbistr.hpp.
typedef int CParseTemplException< TBase >::TErrCode |
Definition at line 4447 of file ncbistr.hpp.
Definition at line 142 of file ncbistr_util.hpp.
typedef int NStr::THtmlDecode |
Definition at line 3073 of file ncbistr.hpp.
typedef int NStr::THtmlEncode |
Definition at line 3057 of file ncbistr.hpp.
typedef int NStr::TNumToStringFlags |
Bitwise OR of "ENumToStringFlags".
Definition at line 266 of file ncbistr.hpp.
typedef TP CStrTokenize< TStr, TV, TP, TCount, TReserve >::TPosContainer |
Definition at line 231 of file ncbistr_util.hpp.
typedef int NStr::TPrintableMode |
Bitwise OR of EPrintableMode flags.
Definition at line 2738 of file ncbistr.hpp.
typedef TReserve CStrTokenize< TStr, TV, TP, TCount, TReserve >::TReserveTrait |
Definition at line 233 of file ncbistr_util.hpp.
typedef int NStr::TSplitFlags |
Bitwise OR of ESplitFlags.
Definition at line 2512 of file ncbistr.hpp.
typedef int NStr::TSS_Flags |
Bitwise OR of ESS_Flags.
Definition at line 2855 of file ncbistr.hpp.
typedef TStr CStrTokenize< TStr, TV, TP, TCount, TReserve >::TString |
Definition at line 229 of file ncbistr_util.hpp.
typedef vector<pair<string, string> > TStringPairsVector |
Definition at line 4804 of file ncbistr.hpp.
typedef int NStr::TStringToNumFlags |
Bitwise OR of "EStringToNumFlags".
Definition at line 311 of file ncbistr.hpp.
typedef basic_string<TCharUCS2> TStringUCS2 |
Type for string in UCS-2 encoding.
Definition at line 3843 of file ncbistr.hpp.
typedef TStringUnicode TStringUCS4 |
Definition at line 3838 of file ncbistr.hpp.
typedef basic_string<TUnicodeSymbol> TStringUnicode |
Unicode string.
Definition at line 143 of file ncbistr.hpp.
typedef TContainer::value_type CStringPairs< TContainer >::TStrPair |
The container's value type must be pair<string, string> or a compatible type.
Definition at line 4593 of file ncbistr.hpp.
typedef TContainer CStringPairs< TContainer >::TStrPairs |
Definition at line 4590 of file ncbistr.hpp.
typedef char32_t TUnicodeSymbol |
Unicode character.
Definition at line 141 of file ncbistr.hpp.
typedef int NStr::TWrapFlags |
Bitwise OR of "EWrapFlags".
Definition at line 3234 of file ncbistr.hpp.
typedef char TXChar |
Definition at line 172 of file ncbistr.hpp.
typedef int NStr::TXmlEncode |
Definition at line 3039 of file ncbistr.hpp.
Definition at line 173 of file ncbistr.hpp.
typedef char CTempString::value_type |
Definition at line 69 of file tempstr.hpp.
enum XStr::ECase |
Enumerator | |
---|---|
eCase | Case sensitive compare. |
eNocase | Case insensitive compare. |
Definition at line 222 of file ncbi_xstr.hpp.
enum NStr::ECase |
Which type of string comparison.
Enumerator | |
---|---|
eCase | Case sensitive compare. |
eNocase | Case insensitive compare. |
Definition at line 1204 of file ncbistr.hpp.
enum NStr::EDedentFlags |
Flags for Dedent() method.
Definition at line 3409 of file ncbistr.hpp.
enum NStr::EDirection |
Search direction for Find() methods.
Enumerator | |
---|---|
eForwardSearch | Search in a forward direction. |
eReverseSearch | Search in a backward direction. |
Definition at line 1945 of file ncbistr.hpp.
enum EEncoding |
Definition at line 199 of file ncbistr.hpp.
enum CParseTemplException::EErrCode |
Error types that for exception class.
Enumerator | |
---|---|
eErr | Generic error. |
Definition at line 4394 of file ncbistr.hpp.
Error types that string classes can generate.
Enumerator | |
---|---|
eConvert | Failure to convert string. |
eBadArgs | Bad arguments to string methods. |
eFormat | Wrong format for any input to string methods. |
Definition at line 4503 of file ncbistr.hpp.
enum NStr::EEscSeqRange |
C-style escape sequences parsing mode.
For escape sequences with a value outside the range of [0-255] the behavior of ParseEscapes() depends from this mode. By default all escape sequences within a out or range will be converted to the least significant byte, with no warning.
Definition at line 2940 of file ncbistr.hpp.
enum NStr::EHtmlDecode |
HTML-decode flags.
Enumerator | |
---|---|
fHtmlDec_CharRef_Entity | Character entity reference(s) was found. |
fHtmlDec_CharRef_Numeric | Numeric character reference(s) was found. |
fHtmlDec_Encoding_Changed | Character encoding changed. |
Definition at line 3068 of file ncbistr.hpp.
enum NStr::EHtmlEncode |
HTML-decode flags.
Definition at line 3049 of file ncbistr.hpp.
enum NStr::EJsonEncode |
Json-encode flags.
Enumerator | |
---|---|
eJsonEnc_UTF8 | Encode all characters above 0x80 to \uXXXX form. |
eJsonEnc_Quoted | Quote resulting string. Keep all Unicode symbols as is. https://tools.ietf.org/html/rfc7159#section-7 |
Definition at line 3093 of file ncbistr.hpp.
enum NStr::EMergeDelims |
Whether to merge adjacent delimiters.
Used by some methods that don't need full functionality of ESplitFlags.
Enumerator | |
---|---|
eMergeDelims | |
eNoMergeDelims |
Definition at line 2516 of file ncbistr.hpp.
enum ENcbiStrings |
Enumerator | |
---|---|
eNcbiStrings_Stat | |
eNcbiStrings_PHID |
Definition at line 54 of file ncbi_strings.h.
Number to string conversion flags.
NOTE: If specified base in the *ToString() methods is not default 10, that some flags like fWithSign and fWithCommas will be ignored.
Enumerator | |
---|---|
fUseLowercase | Use lowercase letters for string representation for bases above 10. |
fWithRadix | Prefix the output value with radix for "well-known" bases like 8 ("0") and 16 ("0x") |
fWithSign | Prefix the output value with a sign ('+'/'-') |
fWithCommas | Use commas as thousands separator. |
fDoubleFixed | DoubleToString*(): Use n.nnnn format for double conversions. |
fDoubleScientific | DoubleToString*(): Use scientific format for double conversions. |
fDoublePosix | DoubleToString*(): Use C locale for double conversions. |
fDoubleGeneral | |
fDS_Binary | UInt8ToString_DataSize(): Use 1024 as a kilobyte factor, not 1000. |
fDS_NoDecimalPoint | UInt8ToString_DataSize(): Do not add a decimal point ("10KB" vs "10.0KB") |
fDS_PutSpaceBeforeSuffix | UInt8ToString_DataSize(): Add space between value and qualifiers, like "10.0 KB". |
fDS_ShortSuffix | UInt8ToString_DataSize(): Use short suffix, like "10.0K". |
fDS_PutBSuffixToo | UInt8ToString_DataSize(): Use "B" suffix for small bytes values. |
Definition at line 250 of file ncbistr.hpp.
enum NStr::EOccurrence |
Whether it is the first or last occurrence.
Enumerator | |
---|---|
eFirst | First occurrence. |
eLast | Last occurrence. |
Definition at line 1939 of file ncbistr.hpp.
enum NStr::EPrintableMode |
How to display printable strings.
Assists in making a printable version of "str".
Definition at line 2729 of file ncbistr.hpp.
enum NStr::EQuoted |
Define that string is quoted or not.
Enumerator | |
---|---|
eQuoted | String is quoted. |
eNotQuoted | String is not quoted. |
Definition at line 2989 of file ncbistr.hpp.
enum NStr::ESplitFlags |
Flags for Split*() methods.
Definition at line 2499 of file ncbistr.hpp.
enum NStr::ESqlEncode |
SQL encode flags.
Enumerator | |
---|---|
eSqlEnc_Plain | Always produce '...', with no tag. |
eSqlEnc_TagNonASCII | Produce N'...' when input's not pure ASCII. |
Definition at line 3168 of file ncbistr.hpp.
enum NStr::ESS_Flags |
Flags for Sanitize().
Definition at line 2835 of file ncbistr.hpp.
String to number conversion flags.
Enumerator | |
---|---|
fConvErr_NoThrow | Do not throw an exception on error. Could be used with methods throwing an exception by default, ignored otherwise. Just return zero and set errno to non-zero instead of throwing an exception. We recommend the following technique to check against errors with minimum overhead when this flag is used: if (!retval && errno != 0)
ERROR;
And for StringToDouble*() variants: if (retval == HUGE_VAL || retval == -HUGE_VAL ||
!retval && errno != 0)
ERROR;
|
fConvErr_NoErrMessage | Set errno, but do not set CNcbiError message on error. |
fMandatorySign | Check on mandatory sign. See 'ENumToStringFlags::fWithSign'. |
fAllowCommas | Allow commas. See 'ENumToStringFlags::fWithCommas'. |
fAllowLeadingSpaces | Ignore leading whitespace characters in converted string. |
fAllowLeadingSymbols | Ignore leading non-numeric characters. |
fAllowTrailingSpaces | Ignore trailing whitespace characters. |
fAllowTrailingSymbols | Ignore trailing non-numerics characters. |
fDecimalPosix | StringToDouble*(): For decimal point, use C locale. |
fDecimalPosixOrLocal | StringToDouble*(): For decimal point, try both C and current locale. |
fDecimalPosixFinite | StringToDouble*(): Keep result finite and normalized: if DBL_MAX < result < INF, result becomes DBL_MAX if 0 < result < DBL_MIN, result becomes DBL_MIN. |
fDS_ForceBinary | StringToUInt8_DataSize(): Use 1024 as a kilobyte factor regardless of suffix, like "KB" or "KiB". |
fDS_ProhibitFractions | StringToUInt8_DataSize(): Ignore any fraction part of a value, "1.2K" ~ "1K". |
fDS_ProhibitSpaceBeforeSuffix | StringToUInt8_DataSize(): Do not allow spaces between value and suffix, like "10 K". |
Definition at line 269 of file ncbistr.hpp.
enum NStr::ETrunc |
Which end to truncate a string.
Enumerator | |
---|---|
eTrunc_Begin | Truncate leading whitespace only. |
eTrunc_End | Truncate trailing whitespace only. |
eTrunc_Both | Truncate whitespace at both begin and end of string. |
Definition at line 2239 of file ncbistr.hpp.
enum NStr::EUrlDecode |
URL decode flags.
Enumerator | |
---|---|
eUrlDec_All | Decode '+' to space. |
eUrlDec_Percent | Decode only XX. |
Definition at line 3159 of file ncbistr.hpp.
URL-encode flags.
Enumerator | |
---|---|
eUrlEnc_SkipMarkChars | Do not convert chars like '!', '(' etc. |
eUrlEnc_ProcessMarkChars | Convert all non-alphanumeric chars, spaces are converted to '+'. |
eUrlEnc_PercentOnly | Convert all non-alphanumeric chars including space and '' to %## format. |
eUrlEnc_Path | Same as ProcessMarkChars but preserves valid path characters ('/', '.') |
eUrlEnc_URIScheme | Encode scheme part of an URI. |
eUrlEnc_URIUserinfo | Encode userinfo part of an URI. |
eUrlEnc_URIHost | Encode host part of an URI. |
eUrlEnc_URIPath | Encode path part of an URI. |
eUrlEnc_URIQueryName | Encode query part of an URI, arg name. |
eUrlEnc_URIQueryValue | Encode query part of an URI, arg value. |
eUrlEnc_URIFragment | Encode fragment part of an URI. |
eUrlEnc_Cookie | Same as SkipMarkChars with encoded ','. |
eUrlEnc_None | Do not encode. |
Definition at line 3143 of file ncbistr.hpp.
enum CUtf8::EValidate |
How to verify character encoding of the source data.
Enumerator | |
---|---|
eNoValidate | |
eValidate |
Definition at line 3870 of file ncbistr.hpp.
enum NStr::EWrapFlags |
How to wrap the words in a string to a new line.
Enumerator | |
---|---|
fWrap_Hyphenate | Add a hyphen when breaking words? |
fWrap_HTMLPre | Wrap as pre-formatted HTML? |
fWrap_FlatFile | Wrap for flat file use. |
Definition at line 3229 of file ncbistr.hpp.
enum NStr::EXmlEncode |
XML-encode flags.
Enumerator | |
---|---|
eXmlEnc_Contents | Encode predefined entities only. |
eXmlEnc_CommentSafe | Encode double hyphen and ending hyphen, making the result safe to put into XML comments. |
eXmlEnc_Unsafe_Skip | Check each character to conform XML 1.1 standards, skip any not allowed character or throw an CStringException. |
eXmlEnc_Unsafe_Throw |
Definition at line 3027 of file ncbistr.hpp.
Enumerator | |
---|---|
eNoZeroAtEnd | For compatibility with older code. |
eHasZeroAtEnd |
Definition at line 913 of file tempstr.hpp.
|
inline |
Definition at line 120 of file ncbistr_util.hpp.
References CTempStringList::m_FirstNode, CTempStringList::m_LastNode, CTempStringList::SNode::next, NULL, and CTempStringList::SNode::str.
|
inline |
Definition at line 79 of file text_joiner.hpp.
References ERR_POST_XX_ONCE, NULL, and Warning().
Referenced by CDefLineJoiner::Add(), CDefLineJoiner::ReplaceAndAdd(), CDeflineGenerator::x_SetTitleFromNM(), CDeflineGenerator::x_SetTitleFromPatent(), and CDeflineGenerator::x_SetTitleFromPDB().
|
inline |
Return TRUE if it found some text and put it into collector.
The collector can have empty strings, even if function returns FALSE.
Definition at line 156 of file ncbistr_util.hpp.
References NULL.
Referenced by CStringTokenCount::Count(), and CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
bool CStrTokenizeBase::Advance | ( | CTempStringList * | part_collector, |
SIZE_TYPE * | ptr_part_start, | ||
SIZE_TYPE * | ptr_delim_pos | ||
) |
Definition at line 7410 of file ncbistr.cpp.
char * CTempString_Storage::Allocate | ( | CTempString::size_type | len | ) |
Definition at line 7403 of file ncbistr.cpp.
|
inlinevirtual |
Implements NStr::IWrapDest.
Definition at line 3288 of file ncbistr.hpp.
References CTempString::data(), CTempString::length(), NStr::CWrapDestStringList::m_list, and NcbiEmptyString.
|
pure virtual |
Implemented in CGenbankFormatterWrapDest, and NStr::CWrapDestStringList.
Implements NStr::IWrapDest.
Definition at line 3284 of file ncbistr.hpp.
References NStr::CWrapDestStringList::m_list.
Implemented in CGenbankFormatterWrapDest, and NStr::CWrapDestStringList.
|
inlinestatic |
Convert non-Unicode character into UTF8 and append it to existing string.
dest | Existing UTF8 string |
ch | Character |
lcl | Character locale return reference to modified dest string |
Definition at line 4052 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert non-Unicode character into UTF8 and append it to existing string.
dest | Existing UTF8 string |
ch | Character |
encoding | Character encoding |
validate | Verify the character encoding of the source return reference to modified dest string |
Definition at line 4033 of file ncbistr.hpp.
References validate(), and CUtf8::x_Append().
|
inlinestatic |
Convert Unicode C++ string into UTF8 and append it to existing string.
dest | Existing UTF8 string |
src | Source Unicode string return reference to modified dest string |
Definition at line 3944 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert non-Unicode C++ string into UTF8 and append it to existing string.
dest | Existing UTF8 string |
src | Source string |
lcl | Source string locale return reference to modified dest string |
Definition at line 4013 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert non-Unicode C++ string into UTF8 and append it to existing string.
dest | Existing UTF8 string |
src | Source string |
encoding | Character encoding of the source string |
validate | Verify the character encoding of the source return reference to modified dest string |
Definition at line 3994 of file ncbistr.hpp.
References validate(), and CUtf8::x_Append().
|
inlinestatic |
Convert Unicode character buffer into UTF8 and append it to existing string.
dest | Existing UTF8 string |
src | Source Unicode character buffer |
tchar_count | Number of characters in the buffer; If it equals to NPOS, buffer is assumed to be zero-terminated return reference to modified dest string |
Definition at line 3962 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert Unicode symbol into UTF8 and append it to existing string.
dest | Existing UTF8 string |
ch | Unicode symbol return reference to modified dest string |
Definition at line 3977 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Definition at line 4109 of file ncbistr.hpp.
References CUtf8::eNoValidate.
|
inlinestatic |
Convert UTF8 string into Unicode.
Can throw a CStringException if the conversion is impossible or the string has invalid UTF-8 encoding.
src | Source UTF8 string |
substitute_on_error | If the conversion is impossible, append the provided string or, if substitute_on_error equals 0, throw an exception |
validate | Verify UTF8 character encoding of the source |
Definition at line 4102 of file ncbistr.hpp.
References validate(), and CUtf8::x_AsBasicString().
|
inline |
Assign new values to the content of the a string.
Definition at line 733 of file tempstr.hpp.
References len, CTempString::m_Length, CTempString::m_String, NCBI_TEMPSTR_DESTROY_COPY, and NCBI_TEMPSTR_MAKE_COPY.
Referenced by SAccGuide::AddRule(), CTempStringEx::assign(), CTL_Cmd::AssignCmdParam(), CGRPCServerCallbacks::BeginRequest(), CGapsEditor::ConvertNs2Gaps(), CExtraEncoder::Encode(), CDB_String::GetBulkInsertionData(), CBamHeader::GetSBamRecords(), CDBParamVariant::MakeName(), CDBParamVariant::MakePlainName(), CAttrListParser::NextAttribute(), CTempString::operator=(), SHTTP_StatusData::Parse(), CNetServProtoParserBase::ParseCommand(), CPrintJobInfo::PrintXput(), CSrvSocketTask::ReadLine(), CRegexpUtil::Replace(), s_ParseFuncName(), CNCBlobKeyLight::UnpackBlobKey(), ICitationBase::x_GetLabelV1(), CPubseqGatewayApp::x_GetParam(), CNetServProtoParserBase::x_GetToken(), and CFastaOstream::x_WriteSequence().
|
inline |
Assign new values to the content of the a string.
Definition at line 970 of file tempstr.hpp.
References CTempString::assign(), CTempStringEx::eNoZeroAtEnd, len, CTempStringEx::m_ZeroAtEnd, and str().
Referenced by CWigBufferedLineReader::operator++(), and CStrTokenizeBase::SetDelim().
|
inline |
Definition at line 976 of file tempstr.hpp.
References CTempString::assign(), len, CTempStringEx::m_ZeroAtEnd, and str().
|
inline |
Definition at line 983 of file tempstr.hpp.
References CTempString::assign(), CTempStringEx::eNoZeroAtEnd, CTempStringEx::m_ZeroAtEnd, and str().
|
inline |
Definition at line 744 of file tempstr.hpp.
References CTempString::m_Length, CTempString::m_String, NCBI_TEMPSTR_DESTROY_COPY, and NCBI_TEMPSTR_MAKE_COPY.
|
inline |
Definition at line 757 of file tempstr.hpp.
References CTempString::data(), len, NCBI_TEMPSTR_DESTROY_COPY, NCBI_TEMPSTR_MAKE_COPY, CTempString::size(), and CTempString::x_Init().
|
inline |
Definition at line 993 of file tempstr.hpp.
References CTempString::assign(), count, CTempStringEx::eNoZeroAtEnd, CTempStringEx::m_ZeroAtEnd, and str().
|
inline |
Definition at line 989 of file tempstr.hpp.
References str().
|
static |
Definition at line 6991 of file ncbistr.cpp.
|
static |
Convert UTF8 string into a single-byte character representation.
Can throw a CStringException if the conversion is impossible or the string has invalid UTF-8 encoding.
src | Source UTF8 string |
encoding | Encoding of the result |
substitute_on_error | If the conversion is impossible, append the provided string or, if substitute_on_error equals 0, throw an exception |
validate | Verify UTF8 character encoding of the source |
Definition at line 6974 of file ncbistr.cpp.
Referenced by CField_type::GetDBLinkFieldFromUserObject(), CObjectIStreamXml::ReadString(), CSplitDblinkQuals::x_ConvertStrsToStrs(), x_MakeTSqlString(), CSplitDblinkQuals::x_SplitQuals(), and CWString::x_UTF8ToString().
|
inline |
Check equivalence of arguments using predicate.
Definition at line 5031 of file ncbistr.hpp.
Referenced by CCgiRequest::CalcChecksum(), FastStringToBool(), CCgiCookies::Find(), CAssemblyTermCompleter::GetNext(), CRNANameCompleter::GetNext(), CTaxonTextCompleter::GetNext(), CCgiRequest::GetRequestMethod(), CId_pat::Id_Match(), CNcbiCommand::IsRequested(), CCgiApplication::LogRequest(), CId_pat::Match(), PFindByName< T >::operator()(), CAssemblyTermCompleter::Start(), and CCgiRequest::x_ProcessInputStream().
|
inlinestatic |
Convert into UTF8 from a Unicode C++ string.
src | Source string |
Definition at line 3913 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert into UTF8 from a C/C++ string.
src | Source string |
lcl | String locale |
Definition at line 3898 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inlinestatic |
Convert into UTF8 from a C/C++ string.
src | Source string |
encoding | Character encoding of the source string |
validate | Verify the character encoding of the source |
Definition at line 3883 of file ncbistr.hpp.
References validate(), and CUtf8::x_Append().
Referenced by CReadUtil::AddGeneOntologyTerm(), CSplignFormatter::AsSeqAlignSet(), CTL_Cmd::AssignCmdParam(), pythonpp::CString::AsStdSring(), CStringDataType::CreateDefault(), CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), CSubSource::FixLatLonFormat(), CSQLITE_Statement::GetColumnName(), CODBC_Connection::GetDriverName(), CLastErrorAdapt::GetErrCodeString(), CODBC_Connection::GetVersionString(), CHTMLHelper::HTMLDecode(), operator+(), CArgDesc::PrintXml(), CObjectIStreamAsn::ReadAnyContentObject(), CObjectIStreamJson::ReadAnyContentObject(), CObjectIStreamXml::ReadAnyContentObject(), CObjectIStreamJson::ReadEncodedChar(), ReadIntoUtf8(), CObjectIStreamXml::ReadString(), CCleanup::s_CleanupStructuredComment(), s_ConvertValue(), s_SetContainerData(), s_SetPrimitiveData(), s_WriteXmlLine(), pythonpp::bind::CString::SetInternal(), CSerialObject::UnassignedStringUTF8(), utf8_to_string(), CObjectOStreamJson::WriteEncodedChar(), CObjectOStreamXml::WriteEncodedChar(), CDB_Stream::x_Append(), CSourceModParser::x_ApplyTPAMods(), CSplitDblinkQuals::x_ConvertStrToStrs(), CStatementBase::x_GetData(), CUtf8::x_GetValidSymbolCount(), CWString::x_MakeString(), x_MakeTSqlString(), CWString::x_MakeUTF8String(), CObjectIStreamXml::x_ReadEncodedChar(), CFeaturePanel::x_SaveSettings(), CDescrModApply::x_SetTpaAssembly(), and CWString::x_StringToUTF8().
|
inlinestatic |
Convert into UTF8 from a Unicode character buffer.
src | Source character buffer |
tchar_count | Number of characters in the buffer; If it equals to NPOS, buffer is assumed to be zero-terminated |
Definition at line 3928 of file ncbistr.hpp.
References CUtf8::x_Append().
|
inline |
Definition at line 148 of file ncbistr_util.hpp.
References CStrTokenizeBase::m_Pos, and NPOS.
Referenced by CStringTokenCount::Count(), and CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
|
static |
Base64-decode string.
str | The string to decode. |
Definition at line 6277 of file ncbistr.cpp.
Referenced by CPSG_NamedAnnotInfo::GetId2AnnotInfoList(), and SDataOnlyCopy::Process().
|
static |
Base64-encode string.
str | The string to encode. |
line_len | Specify a length for Base64-encoded lines. Default 0 mean no line breaks at all. |
Definition at line 6261 of file ncbistr.cpp.
Referenced by CJsonResponse::Fill(), ToJsonString(), CPSGS_CDDProcessor::x_SendAnnotInfo(), and CPSGS_SNPProcessor::x_SendAnnotInfo().
|
inline |
Return an iterator to the string's starting position.
Definition at line 299 of file tempstr.hpp.
References CTempString::m_String.
Referenced by BOOST_AUTO_TEST_CASE(), CEndpointKey::CEndpointKey(), CSeq_id::CheckLocalID(), CSourceModParser::CompareKeys(), CTempString::Copy(), CTempString::find(), CTempString::find_first_not_of(), CTempString::find_first_of(), CTempString::find_last_not_of(), CTempString::find_last_of(), CRemoveDbXrefTreeItemData::GetFunction(), CUtf8::GetValidBytesCount(), CForeignContaminationScreenReportReader::LoadFile(), CMemoryLineReader::operator*(), CBufferedLineReader::operator*(), CMemoryLineReader::operator++(), CBufferedLineReader::operator++(), CWigBufferedLineReader::operator++(), CMemoryLineReader::PeekChar(), CBufferedLineReader::PeekChar(), CTempString::rfind(), sGetPrefixLength(), sSetLocusLineOffsets(), CGff2Record::TokenizeGFF(), CMemoryLineReader::UngetLine(), CBufferedLineReader::UngetLine(), CWigBufferedLineReader::UngetLine(), CDB_Numeric::x_MakeFromString(), CFeatureTableReader_Imp::x_TokenizeLenient(), and CFeatureTableReader_Imp::x_TokenizeStrict().
Convert bool to string.
value | Boolean value to be converted. |
Definition at line 2806 of file ncbistr.cpp.
Referenced by CReportParams::Add(), CPluginArgSet::AddDefaultFlag(), BOOST_AUTO_TEST_CASE(), CNcbiApplogApp::Cmd_Health(), SQueueParameters::ConfigSection(), CRegistryReadView::DumpAll(), CMacroAdvStringConstraintPanel< T >::GetFuncWithArgs(), CGuiObjectInfoSeq_align::GetLinks(), CQueueParamAccessor::GetParamValue(), SQueueParameters::GetPrintableParameters(), CGeneModelFactory::GetSettings(), CVariant::GetString(), CMacroAdvStringConstraintPanel< T >::GetTextConstraint(), NMItemData::GetUpdatemRNAVar(), CAddAssemblyGapsNTreeItemData::GetVariables(), CAddGapsNTreeItemData::GetVariables(), CParseQualTreeItemData::GetVariables(), CRmvOutsideQualTreeItemData::GetVariables(), CApplyTableItemData::GetVariables(), CMacroInterpreter::InterpretDoFunctions(), CDebugDumpContext::Log(), impl::CDriverContext::MakeConnection(), value_slice::CValueConvert< CP, bool >::operator string(), CDoQueryTreeGetArgs::operator()(), CWhereQueryTreeGetArgs::operator()(), CQueryTreePrintFunc::operator()(), CDiagContext_Extra::Print(), CArgDesc_Flag::ProcessArgument(), CArgDesc_Flag::ProcessDefault(), CSGQueryNodeValue::PromoteTo(), CSampleBasicApplication::Run(), s_ConvertValue(), s_ScanRecursive(), CGeneModelConfig::SaveSettingsAsString(), SNSAlertAttributes::Serialize(), CMbIndexArgs::SetArgumentDescriptions(), CPluginValue::SetBoolean(), CMacroRep::SetFunctionParameterAsBool(), IRWRegistry::SetValue(), IMacroActionItemData::TransferDataToPanel(), CParamParser< TDescription, TParam >::ValueToString(), CNCServer::WriteAppSetup(), CJob::x_AppendNeedListenerProgressMsgNotif(), CJob::x_AppendNeedStolenNotif(), CJob::x_AppendNeedSubmitProgressMsgNotif(), CMacroInterpreter::x_ApplyUnverifiedValidateArgs(), CMacroInterpreter::x_ConvertFeatQualValidateArgs(), CMacroInterpreter::x_ConvertRNARelQualValidateArgs(), CMacroInterpreter::x_ConvertStringQualValidateArgs(), CNCMessageHandler::x_DoCmd_Version(), CMacroInterpreter::x_EditRelFeatQualValidateArgs(), CMacroInterpreter::x_EditStringQualValidateArgs(), CMacroInterpreter::x_EditSubfieldValidateArgs(), CSDB_ConnectionParam::x_FillBoolParam(), CMacroPanelLoader::x_GetCheckboxSelection(), CMacroPanelLoader::x_GetRadiobuttonSelection(), CNetScheduleHandler::x_GetServerSection(), IOperateOnTwoQuals::x_GetSourceString(), CTableReaderMacro::x_GetVariables(), CAssignQueryTreeGetArgs::x_ProcessFunction(), CWhereQueryTreeGetArgs::x_ProcessFunction(), CNetScheduleHandler::x_ProcessReading(), CEpigenomicsTrack::x_SaveSettings(), CGraphOverlay::x_SaveSettings(), CGraphTrack::x_SaveSettings(), CSequenceTrack::x_SaveSettings(), CAlignmentTrack::x_SaveSettings(), CSixFramesTransTrack::x_SaveSettings(), CMacroInterpreter::x_StoreParsingArguments(), and CAttribTableColumnIdPanel::x_TableReaderMacro().
|
static |
Encode a string for C/C++.
str | The string to be parsed. |
quoted | Define, to |
Definition at line 3958 of file ncbistr.cpp.
Referenced by CEndpointKey::CEndpointKey(), s_EncodeMetadataValue(), and CTL_LangCmd::x_GetDynamicID().
CEncodedString::CEncodedString | ( | const CTempString | s, |
NStr::EUrlEncode | flag = NStr::eUrlEnc_SkipMarkChars |
||
) |
Definition at line 7291 of file ncbistr.cpp.
|
inline |
Definition at line 4819 of file ncbistr.hpp.
|
static |
Convert encoded character into Unicode.
ch | Encoded character |
lcl | Character locale |
Definition at line 6926 of file ncbistr.cpp.
|
static |
Convert encoded character into Unicode.
ch | Encoded character |
encoding | Character encoding |
Definition at line 6830 of file ncbistr.cpp.
Referenced by CObjectIStreamJson::ReadEncodedChar(), s_SetPrimitiveData(), CObjectOStreamXml::WriteEncodedChar(), and CObjectIStreamXml::x_ReadEncodedChar().
|
inline |
Definition at line 132 of file ncbistr_util.hpp.
References CTempString::clear(), CTempStringList::m_FirstNode, CTempStringList::m_LastNode, CTempStringList::SNode::next, NULL, and CTempStringList::SNode::str.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
|
inline |
Clears the string.
Definition at line 351 of file tempstr.hpp.
References CTempString::m_Length, CTempString::m_String, NCBI_TEMPSTR_DESTROY_COPY, and NCBI_TEMPSTR_MAKE_COPY.
Referenced by SAccGuide::AddRule(), CBioseqIndex::CBioseqIndex(), SHTTP_StatusData::Clear(), CTempStringList::Clear(), CTempStringEx::clear(), CNCBlobKeyLight::Clear(), CDB_String::GetBulkInsertionData(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CMemorySrcFileMap::GetMods(), CCgiContext::GetSelfURL(), CForeignContaminationScreenReportReader::LoadFile(), CNCActiveHandler::x_CleanCmdResources(), CTempString::x_Init(), CMemorySrcFileMap::x_RegisterLine(), CDeflineGenerator::x_SetFlags(), and CDeflineGenerator::x_SetFlagsIdx().
|
inline |
Clear value to an empty string.
Definition at line 1003 of file tempstr.hpp.
References CTempString::clear(), CTempStringEx::eHasZeroAtEnd, and CTempStringEx::m_ZeroAtEnd.
Referenced by CFeatureTableReader_Imp::ParseInitialFeatureLine(), CWig2tableApplication::x_TryGetDouble(), and CWig2tableApplication::x_TryGetDoubleSimple().
|
static |
Determine if the suffix of one string is the prefix of another.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 3092 of file ncbistr.cpp.
|
inlinestatic |
Determine the common prefix of two strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5444 of file ncbistr.hpp.
References i, CTempString::length(), min(), and n.
Referenced by CDiff::Diff(), CCreateGeneModelTask::x_AssignIDsAndUpdateGenes(), CDiffList::x_CleanupAndMerge_Equities(), and CDiff::x_DiffHalfMatchI().
|
inlinestatic |
Determine the common suffix of two strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5456 of file ncbistr.hpp.
References i, CTempString::length(), min(), and n.
Referenced by CDiff::Diff(), GetExtraAccession(), CDiffList::x_CleanupAndMerge_Equities(), and CDiff::x_DiffHalfMatchI().
|
inlinestatic |
Definition at line 375 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), and XStr::eCase.
|
inlinestatic |
Definition at line 387 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), and XStr::eCase.
|
inlinestatic |
Definition at line 290 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), XStr::eCase, n, and str().
|
inlinestatic |
Definition at line 303 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), XStr::eCase, n, and str().
|
inlinestatic |
Definition at line 369 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), and XStr::eCase.
|
inlinestatic |
Definition at line 381 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), and XStr::eCase.
|
inlinestatic |
Definition at line 284 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), XStr::eCase, n, and str().
|
inlinestatic |
Definition at line 297 of file ncbi_xstr.hpp.
References XStr::CompareCase(), XStr::CompareNocase(), XStr::eCase, n, and str().
Compare two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5307 of file ncbistr.hpp.
References NStr::CompareCase(), NStr::CompareNocase(), and NStr::eCase.
|
inlinestatic |
Compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
use_case | Whether to do a case sensitive compare(eCase – default), or a case-insensitive compare (eNocase). |
Definition at line 5291 of file ncbistr.hpp.
References NStr::CompareCase(), NStr::CompareNocase(), NStr::eCase, n, and CTempString::substr().
Referenced by CAutoDefSourceDescription::Compare(), CTraversalNode::CUserCall::Compare(), CSUCLine::Compare(), PCase_Generic< T >::Compare(), PNocase_Generic< T >::Compare(), PNocase_Conditional_Generic< T >::Compare(), CTable2AsnContext::CopyFeatureIdsToComments(), CDirEntry::CreateRelativePath(), CSGQueryFunctionCompare::Evaluate(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), CQueryFuncPromoteGtLt::Evaluate(), CQueryFuncPromoteBetween::Evaluate(), CDllResolver::FindCandidates(), impl::g_SubstituteParam(), CResultSet::GetColNum(), GetFieldDiffsFromNameValLists(), impl::CDBConnParamsBase::GetProtocolVersion(), CLatLonMap_Base::IsCountryInLatLon(), CFeatComparatorByLabel::Less(), CSpectrumSet::LoadMultDTA(), CAttribTableColumnIdPanel::OnMatchColumnClick(), CTraversalNode::SRefNodeCallLessthan::operator()(), IsStandard::operator()(), SChildLess::operator()(), CBDB_Cache::CacheKey::operator<(), operator<(), CQueryFuncPromoteBase::PreProcess(), s_CompareDescriptions(), s_CompareStructuredCommentFields(), s_FieldRuleCompare(), s_iCompareNameVals(), s_IsCDDFeat(), CConnTest::ServiceOkay(), CConnTest::x_GetFirewallConfiguration(), x_LeuCUGstart(), CSingleFeatValidator::x_ValidateGeneXRef(), CGeneValidator::x_ValidateOperon(), ASNParser::x_Value(), and CReaderBase::xSetBrowserRegion().
|
inlinestatic |
Compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5299 of file ncbistr.hpp.
References NStr::CompareCase(), NStr::CompareNocase(), NStr::eCase, n, and CTempString::substr().
|
inline |
Compare the current string with a given string.
Definition at line 806 of file tempstr.hpp.
References CTempString::data(), CTempString::length(), min(), and str().
Referenced by CStructuredCommentsReader::_AddStructuredComment(), CTempString::operator<(), and CTempString::operator>().
|
inlinestatic |
Compare two strings – CTempStringEx version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5313 of file ncbistr.hpp.
References NStr::CompareCase(), NStr::CompareNocase(), and NStr::eCase.
Return difference between "s1" and "s2".
Definition at line 5778 of file ncbistr.hpp.
References NStr::Compare(), and NStr::eCase.
Return difference between "s1" and "s2".
Definition at line 5813 of file ncbistr.hpp.
References NStr::Compare(), and NStr::eNocase.
Referenced by CDbtag::Compare(), CObject_id::Compare(), and CHttpCookie::sx_Compare().
|
inline |
Return difference between "s1" and "s2".
Definition at line 5851 of file ncbistr.hpp.
References NStr::Compare().
|
inlinestatic |
Definition at line 339 of file ncbi_xstr.hpp.
References XStr::strcmp().
|
inlinestatic |
Definition at line 236 of file ncbi_xstr.hpp.
|
inlinestatic |
Definition at line 249 of file ncbi_xstr.hpp.
|
inlinestatic |
Definition at line 345 of file ncbi_xstr.hpp.
References XStr::strcmp().
|
inlinestatic |
Definition at line 230 of file ncbi_xstr.hpp.
Referenced by XStr::Compare().
|
inlinestatic |
Definition at line 243 of file ncbi_xstr.hpp.
Case-sensitive compare of two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5279 of file ncbistr.hpp.
References NStr::strcmp().
Case-sensitive compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
Definition at line 135 of file ncbistr.cpp.
References CTempString::data(), CTempString::length(), n, and NPOS.
Referenced by BinOpsFuncString(), SNetScheduleNotificationThread::CheckNotification(), CBiosampleFieldDiff::Compare(), NStr::Compare(), CBiosampleFieldDiff::CompareAllButSequenceID(), SMakeProjectT::Create3PartyLibs(), CSDBAPI::Init(), CNcbiTestApplication::InitTestFramework(), s_ByAccVerLen::operator()(), CConvertCache::SCacheKeySort::operator()(), SCompareDirEntries::operator()(), TSortCit::operator()(), CUniSequenceDataType::PrintXMLSchema(), PromoteIfDifferent(), s_PcrPrimerCompare(), s_SeqDescCompare(), CStringOrBlobStorageReader::x_GetDataType(), CRegexpTemplateTester::x_ParseVar(), CTar::x_ProcessEntry(), CBioseqContext::x_SetId(), and CSortedProteins::x_SortProteinNames().
|
static |
Case-sensitive compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
Definition at line 158 of file ncbistr.cpp.
References CTempString::data(), CTempString::empty(), CTempString::length(), n, and NPOS.
|
static |
Case-sensitive compare of two strings – CTempStringEx version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 118 of file ncbistr.cpp.
References CTempString::data(), CTempString::length(), and min().
|
inline |
Definition at line 149 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::data(), CTempXStr< _TChar >::length(), n, and CTempXStr< _TChar >::operator[]().
Referenced by XStr::strcmp(), and XStr::strncmp().
|
inlinestatic |
Definition at line 354 of file ncbi_xstr.hpp.
References XStr::strcasecmp().
|
inlinestatic |
Definition at line 263 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase(), n, and str().
|
inlinestatic |
Definition at line 276 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase(), n, and str().
|
inlinestatic |
Definition at line 360 of file ncbi_xstr.hpp.
References XStr::strcasecmp().
|
inlinestatic |
Definition at line 257 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase(), n, and str().
Referenced by XStr::Compare().
|
inlinestatic |
Definition at line 270 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase(), n, and str().
Case-insensitive compare of two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5285 of file ncbistr.hpp.
References NStr::strcasecmp().
|
static |
Case-insensitive compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
Definition at line 219 of file ncbistr.cpp.
References CTempString::data(), CTempString::length(), n, NPOS, and tolower().
Referenced by CMsvcPrjProjectContext::AdditionalIncludeDirectories(), CQueryParsePanel::AddQueryText(), BinOpsFuncString(), BOOST_AUTO_TEST_CASE(), WSDLParser::BuildDataTree(), CPSGS_DummyProcessor::CanProcess(), CheckContigEverywhere(), CheckDelGbblockSourceFromDescrs(), CheckDivCode(), CRtProfiler::CheckDoReport(), CheckEmblContigEverywhere(), SInputValidator::CheckEntry(), CheckFocusInOrgs(), CheckForENV(), CheckForUnusualFullLengthOrgs(), CheckGBBlock(), CheckNeedSYNFocus(), CheckSourceFeatLocAccs(), CheckSourceOverlap(), subfuse::CmpEntry(), CSeq_id::Compare(), CSeqsRange::Compare(), NStr::Compare(), CBDB_FieldStringCase::Compare(), CBiosampleFieldDiff::CompareAllButSequenceID(), CompareDescrFeatSources(), CSeq_feat::CompareNonLocation(), CSeq_id_General_Id_Info::CompareOrdered(), CSeqTextPaneConfig::ConfigStringToFeatureDisplayType(), CDBUniversalMapper::ConfigureFromRegistry(), CICacheCF< CNetICacheClient >::ConfigureICache(), CICacheCF< CNetICacheClient >::ConfigureTimeStamp(), CConfig::ConvertRegToTree(), COperationTiming::COperationTiming(), CBlastDb_DataLoaderCF::CreateAndRegister(), CRmtBlastDb_DataLoaderCF::CreateAndRegister(), CSQLITE3_BlobCacheCF::CreateInstance(), CreateRawBioSources(), CBlastFormatUtil::CreateSeqAnnotFromSeqAlignSet(), CBlastOptionsFactory::CreateTask(), CVarTrackFactory::CreateTracks(), CRemoteAppLauncher::CRemoteAppLauncher(), CTime::DayOfWeekNameToNum(), DbxrefQualToDbtag(), SLibProjectT::DoCreate(), EnabledDelayBuffers(), EndAdded(), NStr::EqualNocase(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), fix_pub::ExtractConsortiums(), CCompressedFile::FileExists(), fill_orgref(), fix_taxname_dot(), FixUSAAbbreviationInAffil(), fta_check_evidence(), fta_check_exception(), fta_check_old_locus_tags(), fta_cmp_gene_refs(), fta_cmp_gene_syns(), fta_cmp_locusyn(), fta_fix_tpa_keywords(), fta_get_aa_from_string(), fta_if_special_org(), fta_sort_quals(), GBQualSplit(), CCodeGenerator::GenerateCvsignore(), CCodeGenerator::GenerateFileList(), CRemoteAppTimeoutReporter::Get(), CUser_object::GetCategory(), GetCharsetEncodingForm(), CAlignFormatUtil::GetDbType(), SNetStorage::SConfig::GetDefaultStorage(), GetDRlineDataSP(), SNetStorage::SConfig::GetErrMode(), CUser_object::GetExperimentType(), CTreeQueryExec::GetFeatureIdNoCase(), CBDB_BufferManager::GetFieldIndex(), GetFlatBiomol(), CDataLoaderFactory::GetIsDefault(), CCgiApplication::GetLogOpt(), CSpectrumSet::GetMGFBlock(), SCombinedNetStorageConfig::GetMode(), GetProteinWeights(), CGridCgiContext::GetQueryStringEntryValue(), CGridCgiContext::GetRequestEntryValue(), GetResidue(), CTestArguments::GetServerName(), CCPPToolkitConnParams::GetServerType(), GetSourceDbtag(), GetSprotDescr(), CCommentItem::GetStringForTPA(), CBDB_FieldFactory::GetType(), SourceFile::GetType(), CJsonNode::GuessType(), CTableQueryExec::HasIdentifier(), CConnTest::HttpOkay(), CTableQueryExec::IdentifierType(), SNetCacheAPIImpl::Init(), CProjectsLstFileFilter::InitFromString(), CPSGS_CassProcessorBase::IsCassandraProcessorEnabled(), CTable2AsnContext::IsDBLink(), CQueueClientInfoList::IsMatchingClient(), CValidError_graph::IsSupportedGraphType(), CValidError_bioseq::IsSynthetic(), CSeqEntrySource::IsUnverified(), CFeatComparatorByLabel::Less(), CMatrixScoringMethod::Load(), CProjBulderApp::LoadDepGraph(), PssmMaker::makeDefaultPssm(), CTime::MonthNameToNum(), Normalize(), CDirEntry::NormalizePath(), NS_ValidateClasses(), NS_ValidateQueues(), StructureWindow::OnEditFavorite(), CPipeHandle::Open(), CPubseqGatewayApp::OpenCass(), CAnnotObjectType_Less::operator()(), LessThan::operator()(), SCaseInsensitiveQuickLess::operator()(), SCaseInsensitiveLess::operator()(), SCaseInsensitivePredicate::operator()(), CHttpCookies::SDomainLess::operator()(), string_nocase_less::operator()(), CMacroEngine::SKey_Less::operator()(), CSeq_id_General_Str_Info::PKeyLess::operator()(), SNodeNameUpdater::operator()(), CWGSBlobId::operator<(), CPCRParsedSet::operator<(), CSeq_id_Textseq_Info::TKey::operator<(), ParseSourceFeat(), CBDB_ConfigStructureParser::ParseStructureLine(), PickTheDescrSource(), CBlastFormat::PrintArchive(), CProjectTreeBuilder::ProcessDir(), CDataTool::ProcessModules(), ProductNamesAreSimilar(), PropogateSuppliedLineage(), QSbuf_ParseDefline(), CNetScheduleServer::ReadServicesConfig(), CNetScheduleServer::ResolveService(), CGridCommandLineInterfaceApp::Run(), CDbapiTest::Run(), CBDB_FileDumperApp::Run(), s_AccessionCompare(), s_CompareDates(), CLatLonMap_Base::s_CompareTwoLinesByCountry(), CLatLonMap_Base::s_CompareTwoLinesByLatLonThenCountry(), s_Config_less(), s_FileName_less(), s_GbQualCompare(), s_GetBaseName(), CPackString::s_GetEnvFlag(), s_GetProteinName(), s_GetUserObjectContent(), s_HasTpaUserObject(), s_iCompareNameVals(), s_Is_ISO_8859_1(), s_Is_UTF_8(), s_Is_Windows_1252(), s_IsIPAddress(), s_IsSubNode(), s_LineIndicatesOrder(), s_OrgModCompare(), s_OrgModEqual(), s_OrgrefSynCompare(), s_PCRPrimerLess(), s_PCRSetCompare(), s_SetProtRef(), s_SetServiceName(), s_SubsourceCompareC(), s_SubsourceEquivalent(), CGBDocument::Save(), SeqDB_SimplifySeqid(), CCdDbPriority::SeqIdTypeToSourceCode(), CConnTest::ServiceOkay(), CObject::SetAllocFillMode(), impl::CDriverContext::SetClientCharset(), CBlastOptions::SetFilterString(), CNetScheduleAccessList::SetHosts(), CNetCacheAPIParameters::SetMirroringMode(), CUrlArgs_Parser::SetQueryString(), CNetCacheAPIParameters::SetServerCheck(), CValidError_imp::Setup(), CNetScheduleServer::ShouldPerfLogTransitions(), SourceFeatStructFillIn(), SourceFileExt(), SpFeatKeyNameValid(), SPParseDefinition(), CConnTest::StatefulOkay(), StringEquNI(), CNetScheduleAPI::StringToStatus(), CNcbiDiag::StrToSeverityLevel(), sx_InitFillNewMemoryMode(), CReportTrim::TrimSeqGraphs(), TrimSequenceAndAnnotation(), CSrcFeatValidator::Validate(), CImpFeatValidator::Validate(), SPubseqGatewaySettings::Validate(), CValidError_imp::ValidateAuthorList(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateOrgRef(), CValidError_bioseqset::ValidatePopSet(), CValidError_bioseq::ValidateSecondaryAccConflict(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqId(), CValidError_desc::ValidateUser(), CValidError_bioseq::ValidateWGSMaster(), VisitXmlNodeProc(), CFeatureItem::x_AddQualsCdregionIdx(), CFeatureItem::x_AddQualsRna(), CFeatureItem::x_AddRegulatoryClassQual(), CSeqTextDataSourceInterval::x_AddVariationsFromFeature(), CNewCleanup_imp::x_ChangePopToPhy(), CSoapFault::x_CodeToFaultcodeEnum(), CBDB_CacheReaderCF::x_CreateInstance(), CQueueDataBase::x_Dump(), CQueryParsePanel::x_ExecuteQuery(), CLatLonMap_Base::x_FindCountryExtreme(), CGenbankGatherer::x_GatherTLS(), CGenbankGatherer::x_GatherTSA(), CGenbankGatherer::x_GatherWGS(), CTableQueryExec::x_GetColumnIdx(), CQueueDataBase::x_GetConfigQueues(), CDiagSyntaxParser::x_GetDiagSeverity(), CPubseqGatewayApp::x_GetEnabledAndDisabledProcessors(), CConnTest::x_GetFirewallConfiguration(), CGuiObjectInfoSeq_feat::x_GetGroupToolTip(), CCompressedFile::x_GetProtocol(), CSerialObject::x_GetVerifyData(), CObjectIStream::x_GetVerifyDataDefault(), CObjectOStream::x_GetVerifyDataDefault(), CTableColumnTypeGuesser::x_GuessType(), CNewCleanup_imp::x_HandleTrnaProductGBQual(), CNCAlerts::x_IdToType(), CPSGAlerts::x_IdToType(), CFeatureItem::x_ImportQuals(), CRemoteBlast::x_InitDiskCache(), CValidError_bioseq::x_IsActiveFin(), CHttpHeaders::x_IsReservedHeader(), CQueryParsePanel::x_IsValidQuery(), CGff3ReadRecord::x_NormalizedAttributeKey(), CTar::x_ProcessEntry(), CNetScheduleHandler::x_ProcessMsgQueue(), CNetScheduleHandler::x_ProcessMsgRequest(), CNetScheduleHandler::x_ProcessSetQueue(), CSoapServerApplication::x_ProcessWsdlRequest(), CQueueDataBase::x_ReadIniFileQueueClassDescriptions(), CQueueDataBase::x_ReadIniFileQueueDescriptions(), CQueueDataBase::x_ReadLinkedSections(), CCgiEntryReaderContext::x_ReadMultipartHeaders(), x_RepairCountryName(), CQueueDataBase::x_RestoreRefuseSubmitState(), CSeqDBIsam::x_StringSearch(), CVectorTrimPanel::x_TrimSeqGraphs(), CSingleFeatValidator::x_ValidateGeneXRef(), CGeneValidator::x_ValidateOperon(), CSingleFeatValidator::x_ValidateRptUnitVal(), CRNAValidator::x_ValidateTrnaCodons(), CRNAValidator::x_ValidateTrnaType(), SGridWorkerNodeImpl::x_WNCoreInit(), XMLCheckContigEverywhere(), XMLInitialEntry(), and CGtfReader::xProcessQualifierSpecialCase().
|
static |
Case-insensitive compare of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
Definition at line 248 of file ncbistr.cpp.
References CTempString::data(), CTempString::empty(), CTempString::length(), n, NPOS, and tolower().
|
static |
Case-insensitive compare of two strings – CTempStringEx version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 190 of file ncbistr.cpp.
References CTempString::data(), CTempString::length(), min(), n, and tolower().
|
inline |
Definition at line 168 of file ncbi_xstr.hpp.
References CT_TOLOWER, CTempXStr< _TChar >::data(), CTempXStr< _TChar >::length(), locale, and n.
Referenced by XStr::CompareNocase(), XStr::strcasecmp(), and XStr::strncasecmp().
Copy a substring into a string Somewhat similar to basic_string::assign()
Copy a substring into a string.
These are analogs of basic_string::assign().
Definition at line 525 of file tempstr.hpp.
References CTempString::begin(), len, CTempString::length(), and min().
Referenced by CReadUtil::AddGeneOntologyTerm(), and CSourceModParser::x_ApplyMods().
|
inlinestatic |
Definition at line 66 of file ncbistr_util.hpp.
|
inlinestatic |
Definition at line 330 of file ncbistr_util.hpp.
References CStrTokenizeBase::Advance(), CStrTokenizeBase::AtEnd(), and NULL.
|
static |
Discard C-style backslash escapes.
str | The original string to parse. |
quoted | Define that parsing string is quoted or not. If parameter "quoted" equal eQuoted and string is not started and finished with a double-quote, the exception will be thrown, otherwise quotes will be removed in result. |
Definition at line 3972 of file ncbistr.cpp.
Referenced by s_DecodeMetadataValue().
|
inlineprotected |
Definition at line 4460 of file ncbistr.hpp.
|
inline |
|
inline |
Constructor.
Definition at line 4425 of file ncbistr.hpp.
|
inlineprotected |
Constructor.
Definition at line 4473 of file ncbistr.hpp.
CStringDecoder_Url::CStringDecoder_Url | ( | NStr::EUrlDecode | flag = NStr::eUrlDec_All | ) |
Definition at line 7262 of file ncbistr.cpp.
CStringEncoder_Url::CStringEncoder_Url | ( | NStr::EUrlEncode | flag = NStr::eUrlEnc_SkipMarkChars | ) |
Definition at line 7275 of file ncbistr.cpp.
References CStringDecoder_Url::m_Flag, and NStr::URLDecode().
|
inline |
Create parser with the specified parameters.
arg_sep | Separator between name+value pairs |
val_sep | Separator between name and value |
decoder | String decoder (Url, Xml etc.) |
own_decoder | Decoder ownership flag |
encoder | String encoder (Url, Xml etc.) |
own_encoder | Encoder ownership flag |
Definition at line 4630 of file ncbistr.hpp.
|
inline |
Create parser with the specified decoder/encoder and default separators.
decoder | String decoder (Url, Xml etc.) |
own_decoder | Decoder ownership flag |
decoder | String encoder (Url, Xml etc.), optional |
own_encoder | Encoder ownership flag, optional |
Definition at line 4605 of file ncbistr.hpp.
|
inline |
Create parser with the selected URL-encoding/decoding options and default separators.
decode_flag | URL-decoding flag |
encode_flag | URL-encoding flag |
Definition at line 4650 of file ncbistr.hpp.
|
inline |
Constructor.
str | String to be tokenized. |
delim | Set of char delimiters used to tokenize string "str". If delimiter is empty, then input string is appended to "arr" as is. |
flags | Flags governing splitting. Without NStr::fSplit_MergeDelimiters, delimiters that immediately follow each other are treated as separate delimiters - empty string(s) appear in the target output. |
Definition at line 248 of file ncbistr_util.hpp.
|
inline |
Definition at line 189 of file ncbistr_util.hpp.
References CStrTokenizeBase::SetDelim().
|
inline |
If token_pos construction parameter is NULL all calls are ignored.
Definition at line 376 of file ncbistr_util.hpp.
|
inline |
Definition at line 422 of file tempstr.hpp.
References NCBI_TEMPSTR_MAKE_COPY, and str().
Definition at line 448 of file tempstr.hpp.
References NCBI_TEMPSTR_MAKE_COPY.
Use CTempString(const char* str + pos, size_type len - pos) instead.
Definition at line 7323 of file ncbistr.cpp.
|
inline |
Definition at line 475 of file tempstr.hpp.
References NCBI_TEMPSTR_MAKE_COPY.
|
inline |
Definition at line 483 of file tempstr.hpp.
References NCBI_TEMPSTR_MAKE_COPY, and str().
|
inline |
Definition at line 494 of file tempstr.hpp.
References len, NCBI_TEMPSTR_MAKE_COPY, and str().
Definition at line 456 of file tempstr.hpp.
References NCBI_TEMPSTR_MAKE_COPY.
Use CTempString(const string& str, 0, size_type len) instead.
Definition at line 7329 of file ncbistr.cpp.
Definition at line 464 of file tempstr.hpp.
References len, NCBI_TEMPSTR_MAKE_COPY, and str().
|
inline |
Definition at line 412 of file tempstr.hpp.
Referenced by CTempString::find(), CTempString::rfind(), and CTempString::substr().
CTempString_Storage::CTempString_Storage | ( | void | ) |
Definition at line 7389 of file ncbistr.cpp.
|
inline |
Definition at line 921 of file tempstr.hpp.
Definition at line 926 of file tempstr.hpp.
|
inline |
Definition at line 931 of file tempstr.hpp.
|
inline |
Definition at line 946 of file tempstr.hpp.
|
inline |
Definition at line 958 of file tempstr.hpp.
|
inline |
Definition at line 963 of file tempstr.hpp.
Definition at line 936 of file tempstr.hpp.
Definition at line 941 of file tempstr.hpp.
|
inline |
Definition at line 917 of file tempstr.hpp.
Referenced by CTempStringEx::substr().
|
inline |
Definition at line 94 of file ncbistr_util.hpp.
Definition at line 75 of file ncbi_xstr.hpp.
Definition at line 79 of file ncbi_xstr.hpp.
|
inline |
Definition at line 83 of file ncbi_xstr.hpp.
References len, CTempXStr< _TChar >::m_Data, CTempXStr< _TChar >::m_Length, str(), and CTempXStr< _TChar >::x_npos().
|
inline |
Definition at line 95 of file ncbi_xstr.hpp.
|
inline |
Definition at line 99 of file ncbi_xstr.hpp.
|
inline |
Definition at line 103 of file ncbi_xstr.hpp.
References len, CTempXStr< _TChar >::m_Data, CTempXStr< _TChar >::m_Length, str(), and CTempXStr< _TChar >::x_npos().
Definition at line 69 of file ncbi_xstr.hpp.
Definition at line 65 of file ncbi_xstr.hpp.
|
inline |
Definition at line 64 of file text_joiner.hpp.
|
inline |
Definition at line 3283 of file ncbistr.hpp.
Definition at line 128 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::m_Data.
Referenced by CTempXStr< _TChar >::CompareCase(), CTempXStr< _TChar >::CompareNocase(), and CTempXStr< _TChar >::operator basic_string< _TChar >().
|
inline |
Return a pointer to the array represented.
As with std::basic_string<>, this is not guaranteed to be NULL terminated.
Definition at line 313 of file tempstr.hpp.
References CTempString::m_String.
Referenced by CDelta_ext::AddAndSplit(), CDelta_ext::AddLiteral(), SAccGuide::AddRule(), CWriteDB_Impl::AddSequence(), CWriteDB::AddSequence(), CBuildDatabase::AddSequences(), NStr::CWrapDestStringList::Append(), CNCBlobKey::Assign(), CTempString::assign(), CTL_Cmd::AssignCmdParam(), CPrintJobInfo::BeginJobEvent(), CleanAndCompress(), CTempString::compare(), NStr::CompareCase(), NStr::CompareNocase(), CGapsEditor::ConvertNs2Gaps(), CWGSDb_Impl::DetermineFeatLocIdType(), CDiffText::Diff(), CExtraEncoder::Encode(), FindNextEntryBuf(), CFlatXrefQVal::Format(), g_FixMisplacedPID(), CRR_Util::GetFieldValueConverted(), CCSraAlignIterator::GetMatchAlign(), CWGSFeatureIterator::GetSeq_feat(), CNCDistributionConf::GetSlotByNetCacheKey(), CSeq_id::IdentifyAccession(), CNCBlobKeyLight::KeyForLogs(), CNCBlobKeyLight::KeyVersion(), CCSRARefSeqInfo::LoadAnnotPileupChunk(), CBamRefSeqInfo::LoadPileupChunk(), CCSraAlignIterator::MakeFullMismatch(), CDBParamVariant::MakeName(), CDBParamVariant::MakePlainName(), CPubseqGatewayApp::OnAccessionVersionHistory(), CPubseqGatewayApp::OnAckAlert(), CPubseqGatewayApp::OnGet(), CPubseqGatewayApp::OnGetBlob(), CPubseqGatewayApp::OnGetNA(), CPubseqGatewayApp::OnResolve(), CPubseqGatewayApp::OnShutdown(), PQuickStringLess::operator()(), operator+(), CRR_Field< TTraits >::operator=(), CNCBlobKeyLight::operator=(), CTempString::operator==(), CNCBlobKeyLight::PackBlobKey(), CNetServProtoParserBase::ParseArguments(), CNetServProtoParserBase::ParseCommand(), CDiagCompileInfo::ParseCurrFunctName(), CPrintJobInfo::PrintXput(), CPrintJobInfo::ProcessJobEventField(), CPrintJobInfo::ProcessJobInfoField(), CObjectIStreamAsn::ReadDouble(), CRegexpUtil::Replace(), CAttrListParser::Reset(), s_AddParamName(), s_GetrRNAProductsSuspectRuleSet(), CTL_LangCmd::Send(), SeqDB_UnpackAmbiguities(), CRegexp::Set(), CTL_BCPInCmd::SetHints(), sFindBrackets(), SkipTitle(), SkipTitleBuf(), CTempStringEx::substr(), sx_AddAnnotBytes(), sx_AddDescrBytes(), CRowReaderStream_Excel_CSV::Tokenize(), CRowReaderStream_IANA_CSV::Tokenize(), CRowReaderStream_Excel_CSV::Translate(), CRowReaderStream_IANA_CSV::Translate(), TrimSpacesAndJunkFromEnds(), CRR_Util::ValidateBasicTypeFieldValue(), CSrvSocketTask::WriteText(), CWriteDB_IsamIndex::x_AddString(), CWriteDB_IsamIndex::x_AddStringData(), CDB_Stream::x_Append(), CNCMessageHandler::x_AssignCmdParams(), CTL_BCPInCmd::x_AssignParams(), CPubseqGatewayApp::x_CheckAuthorization(), x_CleanAndCompress(), CDiffList::x_CleanupAndMerge_Equities(), CDiffList::x_CleanupAndMerge_SingleEdits(), CWig2tableApplication::x_CommentLine(), CWriteDB_Impl::x_ComputeHash(), CBlastDbBlob::x_Copy(), CRR_Row< TTraits >::x_CopyFields(), CRowReaderStream_NCBI_TSV::x_ExtractNames(), CTitleParser::x_FindBrackets(), CSeqDBVol::x_GetFilteredBinaryHeader(), CSeqDBVol::x_GetHdrAsn1(), CWig2tableApplication::x_GetParamName(), CWig2tableApplication::x_GetParamValue(), CWig2tableApplication::x_GetPos(), CWig2tableApplication::x_GetWord(), CSeq_id::x_IdentifyAccession(), CLatLonMap_Base::x_InitFromFile(), x_MakeTSqlString(), CNCMessageHandler::x_ReadAuthMessage(), CShortReadFastaInputSource::x_ReadFastaOneSeq(), CShortReadFastaInputSource::x_ReadFastc(), CShortReadFastaInputSource::x_ReadFastqOneSeq(), CBlastDbBlob::x_ReadRaw(), CBlastDbBlob::x_ReadString(), CRowReaderStream_IANA_CSV::x_SetFieldNames(), CWig2tableApplication::x_SkipWS(), CWig2tableApplication::x_TryGetDouble(), CWig2tableApplication::x_TryGetDoubleSimple(), CWig2tableApplication::x_TryGetPos(), and CFastaOstream::x_WriteSequence().
|
inlinestatic |
Convert sequence of UTF8 code units into Unicode code point.
src | Zero-terminated buffer, in UTF8 encoding |
Definition at line 5656 of file ncbistr.hpp.
References CUtf8::x_Decode().
Referenced by s_InsertSpacesBetweenTokens(), s_RemoveSpacesWithinNumbers(), CDoiLookup::Transcode(), CObjectOStreamXml::WriteEncodedChar(), and CUtf8::x_AsBasicString().
|
virtual |
Definition at line 7268 of file ncbistr.cpp.
|
pure virtual |
Decode the string.
Must throw CStringException if the source string is not valid.
Implemented in CExtraDecoder.
Referenced by SDiagMessage::x_ParseExtraArgs().
|
inlinestatic |
Convert sequence of UTF8 code units into Unicode code point.
src | C++ string iterator |
Definition at line 5660 of file ncbistr.hpp.
References CUtf8::x_Decode().
|
static |
Begin converting first character of UTF8 sequence into Unicode.
ch | Character |
more | If the character is valid, - how many more characters to expect |
Definition at line 7145 of file ncbistr.cpp.
Referenced by impl::GetValidUTF8Len(), CObjectIStreamJson::ReadUtf8Char(), CObjectIStreamXml::ReadUtf8Char(), and CUtf8::x_Decode().
|
static |
Convert next character of UTF8 sequence into Unicode.
ch | Character |
chU | Incomplete Unicode code point |
Definition at line 7168 of file ncbistr.cpp.
Referenced by CObjectIStreamJson::ReadUtf8Char(), CObjectIStreamXml::ReadUtf8Char(), and CUtf8::x_Decode().
|
static |
Dedent multi-line string, removing common whitespace prefix for each line.
str | String to be dedented. |
flags | Optional flags to tune up how to dedent string. |
Definition at line 5494 of file ncbistr.cpp.
Referenced by NStr::DedentR().
|
inlinestatic |
Definition at line 5636 of file ncbistr.hpp.
References NStr::Dedent(), NStr::fDedent_SkipEmptyFirstLine, and str().
|
inline |
Tokenize the string using the specified set of char delimiters.
target | Output container. Tokens defined in "str" by using symbols from "delim" are added to the list "target". |
token_pos | Container for the tokens' positions in "str". |
empty_str | String added to target when there are no other characters between delimiters |
Definition at line 264 of file ncbistr_util.hpp.
References CStrTokenizeBase::Advance(), CStrTokenizeBase::AtEnd(), CTempStringList::Clear(), CTempString::empty(), NStr::fSplit_Truncate_End, i, CTempStringList::Join(), CStrTokenizeBase::m_Delim, CStrTokenizeBase::m_Flags, CStrTokenizeBase::m_Pos, CStrTokenizeBase::m_Storage, CStrTokenizeBase::m_Str, and NPOS.
|
inlinestatic |
Convert double to string.
value | Double value to be converted. |
precision | Precision value for conversion. If precision is more that maximum for current platform, then it will be truncated to this maximum. If it is negative, that double will be converted to number in scientific notation. |
flags | How to convert value to string. If double format flags are not specified, that next output format will be used by default:
|
Definition at line 5181 of file ncbistr.hpp.
References flags, precision, str(), and rapidjson::value.
Referenced by CReportParams::Add(), CObjFingerprint::AddDouble(), CSAM_CIGAR_Formatter::AddRow(), CContigAssembly::Align(), BLASTer::CalculateSelfHitScores(), CGridCommandLineInterfaceApp::Cmd_Discover(), CollectAttributes(), CPepXML::ConvertDouble(), CColumnScoringPanel::CreateControls(), CMatrixScoringPanel::CreateControls(), CHistConfigDlg::CreateControls(), CTableAnnotDataSource::CreateFeature(), BLASTer::CreateNewPairwiseAlignmentsByBlast(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), NStr::DoubleToString(), CGlUtils::DumpState(), CBDB_Cache::EvaluateTimeLine(), CDiagContext_Extra::Flush(), CAlnVecRow::GetColumnText(), CRealDataType::GetDefaultString(), CHistogramGlyph::GetHTMLActiveAreas(), GetPercentN(), CBDB_FieldFloat::GetString(), CBDB_FieldDouble::GetString(), CExprValue::GetString(), CVariant::GetString(), NMacroUtil::GetStringValue(), CTableDataAlnSummary::GetStringValue(), CTableDataSeq_table::GetStringValue(), CHistogramGlyph::GetTooltip(), CLDBlockGlyph::GetTooltip(), CArgAllowValuesGreaterThanOrEqual::GetUsage(), CArgAllowValuesLessThanOrEqual::GetUsage(), CArgAllowValuesBetween::GetUsage(), CArgAllow_Doubles::GetUsage(), CEditingActionDescUserObject::GetValue(), CMultiApplication::Init(), SegMaskerApplication::Init(), CDebugDumpContext::Log(), CSubSource::MakeLatLon(), MostFrequentGapSize(), CQueryParsePanel::OnIdle(), CwxPhyloSettingsDlg::OnSelectionAlphaSliderUpdated(), CNetBLASTUIDataSource::Open(), CGenBankUIDataSource::Open(), value_slice::CValueConvert< CP, float >::operator string(), value_slice::CValueConvert< CP, double >::operator string(), CQueryTreePrintFunc::operator()(), CTreeConvertNonSingleChild2ContainerFunc< TBioTreeContainer, TTreeType >::operator()(), CSrvStrStream::operator<<(), CDiagContext_Extra::Print(), printGFF3(), CArgAllow_Doubles::PrintUsageXml(), CSGQueryNodeValue::PromoteTo(), CQueryNodeValue::PromoteTo(), NSnpGui::PValueToString(), Threader::Realign(), RegistrySetDouble(), CPhyloTreeDataSource::ReRootMidpoint(), CTableQueryExec::ResolveIdentifier(), RestoreModelAttributes(), CObjConvProfile::Run(), CDbapiTestSpeedApp::RunSample(), s_AddNodeToBtc(), s_AddToLog(), s_CalcGumbelParams(), s_ConvertValue(), s_GetAlignmentTooltip(), s_GetNewick(), s_Repr_Value(), s_ScanRecursive(), s_SetAirrAlignmentInfo(), s_ToString(), s_ValToString(), CGtfImportData::Serialize(), CTimeout::Set(), CTimeSpan::Set(), CIgBlastTabularInfo::SetAirrFormatData(), CGenericSearchArgs::SetArgumentDescriptions(), CGapTriggerArgs::SetArgumentDescriptions(), CPssmEngineArgs::SetArgumentDescriptions(), CHspFilteringArgs::SetArgumentDescriptions(), CPluginValue::SetDouble(), CMacroRep::SetFunctionParameterAsFloat(), CGffAlignmentRecord::SetScore(), CGffBaseRecord::SetScore(), CBlastTabularInfo::SetScores(), CSplignArgUtil::SetupArgDescriptions(), CCompartOptions::SetupArgDescriptions(), CPhyloNodeData::Sync(), CMacroFunction_SubtreeSum::TheFunction(), CBLASTParams::ToArgVec(), CGlRect< TVPUnit >::ToString(), CLocMapper_Default::CGappedRange::ToString(), CBDB_FieldFloat::ToString(), CBDB_FieldDouble::ToString(), CCleanupAlignmentsParamsPanel::TransferDataToWindow(), CValidError_graph::ValidateGraphsOnBioseq(), CParamParser< TDescription, TParam >::ValueToString(), CGridCgiSampleApplication::VectorToString(), CObjectOStreamJson::WriteDouble2(), CObjectOStreamXml::WriteDouble2(), CAlnMultiRenderer::x_AddStatisticsRow(), CHistogramGlyph::x_DrawLinearRuler(), CHistogramGlyph::x_DrawLogRuler(), CShowBlastDefline::x_FormatDeflineTableLine(), CShowBlastDefline::x_FormatDeflineTableLineCSV(), CShowBlastDefline::x_FormatDeflineTableLineText(), CDownloadJob::x_FormatSize(), CAlnGraphic::x_GetAlnInfo(), IOperateOnTwoQuals::x_GetSourceString(), CShowBlastDefline::x_InitFormattingInfo(), CBlastAppArgs::x_IssueWarningsForIgnoredOptions(), NStr::x_NumericToString(), CDisplaySeqalign::x_PrepareRowData(), CBlastTabularInfo::x_PrintPercentIdentical(), CBlastTabularInfo::x_PrintPercentPositives(), CNetScheduleHandler::x_ProcessMsgBatchSubmit(), CXmlValueItem::x_RenderXml(), CMakeProfileDBApp::x_SetupArgDescriptions(), IMacroVar::SValue::x_WriteAsString(), CVcfWriter::x_WriteFeatureInfo(), CVcfWriter::x_WriteFeatureQual(), CBedTrackRecord::xImportKeyValuePairs(), CBedReader::xSetFeatureColorFromScore(), and CVcfReader::xSetFileFormat().
|
static |
Convert double to string with specified precision and place the result in the specified buffer.
value | Double value to be converted. |
precision | Precision value for conversion. If precision is more that maximum for current platform, then it will be truncated to this maximum. |
buf | Put result of the conversion into this buffer. |
buf_size | Size of buffer, "buf". |
flags | How to convert value to string. Default output format is fDoubleFixed. |
Definition at line 2353 of file ncbistr.cpp.
|
static |
Convert double to string.
out_str | Output string variable |
value | Double value to be converted. |
precision | Precision value for conversion. If precision is more that maximum for current platform, then it will be truncated to this maximum. If it is negative, that double will be converted to number in scientific notation. |
flags | How to convert value to string. If double format flags are not specified, that next output format will be used by default:
|
Definition at line 2311 of file ncbistr.cpp.
References buffer, conv, NStr::DoubleToString(), NStr::fDoubleFixed, NStr::fDoubleGeneral, NStr::fDoublePosix, NStr::fDoubleScientific, finite, flags, format, kMaxDoubleStringSize, n, precision, and rapidjson::value.
|
static |
Convert double to string with specified precision.
The result consists of three parts: significant digits, exponent and sign. For example, input value -12345.67 will produce buf = "1234567", *dec = 4, and *sign = -1. NOTE: The output character buffer is NOT zero-terminated. The buffer is NOT padded with zeros. This function DOES NOT check 'value' for being finite or not-a-number; if it is, the result is unpredictable. This function is less precise for a small fraction of values (the difference is in the last significant digit) than its 'DoubleToString' siblings, but it is much faster.
value | Double value to be converted. |
precision | Maximum number of significant digits to preserve. If precision is greater than maximum for the current platform, it will be truncated to this maximum. |
buf | Put result of the conversion into this buffer. |
buf_size | Size of buffer, "buf". |
dec | Exponent |
sign | Sign of the value |
Definition at line 2442 of file ncbistr.cpp.
Referenced by CObjectOStreamAsn::WriteDouble2().
|
static |
Convert double to string with specified precision and put the result into a character buffer, in scientific format.
NOTE: The output character buffer is NOT zero-terminated. The decimal separator is dot, always. This function DOES NOT check 'value' for being finite or not-a-number; if it is, the result is unpredictable. This function is less precise for a small fraction of values (the difference is in the last significant digit) than its 'DoubleToString' siblings, but it is much faster.
value | Double value to be converted. |
precision | Maximum number of significant digits to preserve. If precision is greater than maximum for the current platform, it will be truncated to this maximum. |
buf | Put result of the conversion into this buffer. |
buf_size | Size of buffer, "buf". |
Definition at line 2653 of file ncbistr.cpp.
Referenced by CObjectOStreamAsnBinary::WriteDouble2(), CObjectOStreamJson::WriteDouble2(), and CObjectOStreamXml::WriteDouble2().
Definition at line 136 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::length().
|
inline |
Return true if the represented string is empty (i.e., the length is zero)
Definition at line 334 of file tempstr.hpp.
References CTempString::m_Length.
Referenced by CTabDelimitedValidator::_OperateRows(), CTabDelimitedValidator::_ProcessHeader(), CDefLineJoiner::Add(), CHttpFormData::AddEntry(), CReadUtil::AddGeneOntologyTerm(), CHttpFormData::AddProvider(), SAccGuide::AddRule(), CBuildDatabase::AddSequences(), CNCBlobKey::Assign(), CObjectIStreamXml::BeginClassMember(), CGRPCServerCallbacks::BeginRequest(), BOOST_AUTO_TEST_CASE(), CObjectIStreamXml::CloseStackTag(), NStr::CompareCase(), NStr::CompareNocase(), CDBLB_ServiceMapper::ConfigureFromRegistry(), CNCActiveHandler::CopyPurge(), CPerfLogGuard::CPerfLogGuard(), CSeqTableSetAnyObjField::CSeqTableSetAnyObjField(), CShortReadFastaInputSource::CShortReadFastaInputSource(), CDiff::Diff(), CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do(), CFindPattern::Find(), CSourceModParser::FindMod(), g_HttpPost(), g_HttpPut(), CDeflineGenerator::GenerateDefline(), CBlobStoreBase::GenReadQuery(), CWGSDb_Impl::GetAccSeq_id(), CWGSScaffoldIterator::GetAccSeq_id(), CWGSProteinIterator::GetAccSeq_id(), CWGSScaffoldIterator::GetGeneralOrPatentSeq_id(), CWGSDb_Impl::GetGeneralSeq_id(), CBamAlignIterator::GetMatchAlign(), CMemorySrcFileMap::GetMods(), CWGSDb_Impl::GetProtAccRanges(), CWGSProteinIterator::GetSeq_descr(), GetTwoFieldSubfield(), CSeq_feat::HasExceptionText(), CNCBlobKeyLight::IsICacheKey(), CNCBlobAccessor::IsPurged(), CCSraAlignIterator::IsSetName(), CCSraShortReadIterator::IsSetName(), CNCBlobKeyLight::IsValid(), CNCBlobKeyLight::KeyForLogs(), CStructuredCommentsReader::LoadComments(), CStructuredCommentsReader::LoadCommentsByRow(), CForeignContaminationScreenReportReader::LoadFile(), make_server(), CWGSDb_Impl::NormalizePathOrAccession(), SRegSynonyms::NotFound(), CPubseqGatewayApp::OnGetNA(), CRowReaderStream_IANA_CSV::OnNextLine(), CRowReaderStream_NCBI_TSV::OnNextLine(), CObjectIStreamXml::OpenStackTag(), CTestNameToInfoMapLoader::operator()(), CNetServProtoParserBase::ParseCommand(), CFastaReader::ParseGapLine(), CSeq_id::ParseIDs(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CWGSClient::ParsePSGBlobId(), CWGSClient::ParsePSGId2Info(), CFastaDeflineReader::ParseRange(), ParseTrack(), CMemoryLineReader::PeekChar(), CBufferedLineReader::PeekChar(), CHttpSession_Base::Post(), CPerfLogger::Post(), CAltValidator::ProcessQueue(), CNCBlobAccessor::Purge(), CHttpSession_Base::Put(), CGFFReader::Read(), CColumnarVCFReader::ReadHeader(), CFastaReader::ReadOneSeq(), CFeatureTableReader_Imp::ReadSequinFeatureTable(), CObjectIStreamXml::ReadUndefinedAttributes(), CTabDelimitedValidator::RegisterAliases(), CRegexpUtil::Replace(), CRegexpUtil::ReplaceRange(), SGridWorkerNodeImpl::Run(), s_AddVoucherAndIsolate(), s_GetVDBSeverityTag(), s_MatchExcludeMask(), s_SplitVersion(), NStr::Sanitize(), CTL_LangCmd::Send(), CTextseq_id::Set(), CSeq_id::Set(), CPDB_seq_id::SetChainIdentifiers(), sx_AddAnnotBytes(), sx_AddDescrBytes(), CRowReaderStream_Excel_CSV::Tokenize(), CRowReaderStream_IANA_TSV::Tokenize(), transform_range(), CRowReaderStream_IANA_CSV::Translate(), CRowReaderStream_Excel_CSV::Validate(), CRowReaderStream_IANA_CSV::Validate(), SWGSCreateInfo::x_AddDescr(), CFeatureTableReader_Imp::x_AddGBQualToFeature(), CSourceFeatureItem::x_AddQuals(), CWriteDB_IsamIndex::x_AddTextId(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), CSourceModParser::x_ApplyMods(), CNCMessageHandler::x_AssignCmdParams(), CDeflineGenerator::x_DescribeClones(), CDiff::x_Diff(), x_FirstWord(), x_GetDivisionProc(), x_GetDivisionProcIdx(), CAuthor::x_GetLabelV2(), CDeflineGenerator::x_GetModifiers(), CPubseqGatewayApp::x_GetSNPScaleLimit(), CPubseqGatewayApp::x_GetTimeSeries(), CBioseqIndex::x_InitDescs(), CSeqTableInfo::x_Initialize(), CBioseqIndex::x_InitSource(), CRowReaderStream_Excel_CSV::x_IsNull(), CString_constraint::x_IsWholeWordMatch(), CDB_Numeric::x_MakeFromString(), CFeatureSearchJob::x_Match(), CRegexpTemplateTester::x_Op_Skip(), CDeflineGenerator::x_OrganelleName(), CTableImportDataSource::x_ParseEntry(), CFeatureTableReader_Imp::x_ParseFeatureTableLine(), CTableImportDataSource::x_ParseQuotedEntry(), CGFFReader::x_ParseStructuredComment(), CGFFReader::x_ParseTypeComment(), CPubseqGatewayApp::x_ProcessCommonGetAndResolveParams(), CNetScheduleHandler::x_ProcessMsgBatchHeader(), CNCMessageHandler::x_PurgeToNextPeer(), CShortReadFastaInputSource::x_ReadFastaOneSeq(), CShortReadFastaInputSource::x_ReadFastc(), CShortReadFastaInputSource::x_ReadFastqOneSeq(), CFeature_table_reader::x_ReadFeatureTable(), CNCActiveHandler::x_ReadHttpDataPrefix(), CNCActiveHandler::x_ReadSyncStartExtra(), CMemorySrcFileMap::x_RegisterLine(), CDeflineGenerator::x_SetBioSrc(), CDeflineGenerator::x_SetFlags(), CDeflineGenerator::x_SetFlagsIdx(), CDeflineGenerator::x_SetSuffix(), CDeflineGenerator::x_SetTitleFromBioSrc(), CDeflineGenerator::x_SetTitleFromGPipe(), CDeflineGenerator::x_SetTitleFromMap(), CDeflineGenerator::x_SetTitleFromNC(), CDeflineGenerator::x_SetTitleFromNM(), CDeflineGenerator::x_SetTitleFromNR(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CDeflineGenerator::x_SetTitleFromSegSeq(), CDeflineGenerator::x_SetTitleFromWGS(), CWig2tableApplication::x_SkipWS(), CNCMessageHandler::x_StartCommand(), CFeatureTableReader_Imp::x_StringToLongNoThrow(), CRegexpTemplateTester::x_SubstituteVars(), CFeatureTableReader_Imp::x_TokenizeLenient(), CRequestContext::x_UpdateStdContextProp(), CRequestContext::x_UpdateStdPassThroughProp(), and CReaderBase::xIsCommentLine().
|
virtual |
Definition at line 7281 of file ncbistr.cpp.
|
pure virtual |
Encode the string.
Implemented in CExtraEncoder.
Give Encoding name as string.
encoding | EEncoding enum. (Throw CStringException if passed eEncoding_Unknown.) |
Definition at line 6769 of file ncbistr.cpp.
Referenced by CObjectOStreamXml::WriteFileHeader().
|
inline |
Return an iterator to the string's ending position (one past the end of the represented sequence)
Definition at line 306 of file tempstr.hpp.
References CTempString::m_Length, and CTempString::m_String.
Referenced by BOOST_AUTO_TEST_CASE(), CEndpointKey::CEndpointKey(), CSeq_id::CheckLocalID(), CSourceModParser::CompareKeys(), CTempString::find_first_not_of(), CTempString::find_first_of(), CCSraAlignIterator::GetMatchAlign(), CCSRARefSeqInfo::LoadAnnotPileupChunk(), CCSraAlignIterator::MakeFullMismatch(), CDBParamVariant::MakeName(), CDBParamVariant::MakePlainName(), CMemoryLineReader::operator++(), sFindNextNonSpace(), sFindNextSpace(), sGetPrefixLength(), sSetLocusLineOffsets(), CDB_Numeric::x_MakeFromString(), and CFeatureTableReader_Imp::x_TokenizeLenient().
|
inlinestatic |
Check if a string ends with a specified character value.
str | String to check. |
end | Character value to check for. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase) while checking. |
Definition at line 5431 of file ncbistr.hpp.
References NStr::eCase, last(), str(), tolower(), and toupper().
|
inlinestatic |
Check if a string ends with a specified suffix value.
str | String to check. |
end | Suffix value to check for. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase) while checking. |
Definition at line 5424 of file ncbistr.hpp.
References NStr::Equal(), CTempString::size(), and str().
Referenced by CSeqTableLocColumns::AddColumn(), AddComment(), CKeywordParser::AddDataLine(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), CCommentItem::AddPeriod(), CPCRSetList::AddRevName(), CPCRSetList::AddRevSeq(), AdjustSingleFeature(), AffilStreetEndsWith(), NMacroUtil::ApplyAuthorNames(), CExpansionRule::ApplyRule(), CEditSubpanel::ApplyToAll(), CEditSubpanel::ApplyToSelected(), CFieldChoicePanel::AutoMatchRNA(), CFieldChoicePanel::AutoMatchSrc(), BOOST_AUTO_TEST_CASE(), CalculateEffectiveTranslationLengths(), CCDSTranslationProblems::CalculateTranslationProblems(), CAutoDefMiscCommentClause::CAutoDefMiscCommentClause(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefParsedIntergenicSpacerClause::CAutoDefParsedIntergenicSpacerClause(), CAutoDefParsedRegionClause::CAutoDefParsedRegionClause(), CAutoSqlCustomField::CAutoSqlCustomField(), CheckStrainReply(), NMItemData::CheckTableNameAndColumns(), CLatLonMap_Base::CLatLonMap_Base(), CGridCommandLineInterfaceApp::Cmd_Discover(), CMsvcPrjFilesCollector::CollectSources(), CPepXML::ConvertDouble(), CValidErrItem::ConvertToErrCode(), CProjectsLstFileFilter::ConvertToMask(), CDirEntry::ConvertToOSPath(), CSrcTableColumnBaseFactory::Create(), CFeatureSeqTableColumnBaseFactory::Create(), CreateActionBiosource(), CMacroWordSubstitutionDlg::CreateControls(), CSequenceEditingEventHandler::DeleteSpecificStructuredComment(), SAppProjectT::DoCreate(), DoesCodingRegionEndWithStopCodon(), CAutoDefFeatureClause::DoesmRNAProductNameMatch(), CStringConstraint::DoesTextMatch(), EndsWithBadCharacter(), CSimpleEnvRegMapper::EnvToReg(), edirect::Execute(), CCleanup::ExtendToStopIfShortAndNotPartial(), CMapperQueryOptionsArgs::ExtractAlgorithmOptions(), CBlastDatabaseArgs::ExtractAlgorithmOptions(), CStdCmdLineArgs::ExtractAlgorithmOptions(), CSubSource::FixDateFormat(), ICitationBase::FixPages(), CName_std::FixSuffix(), CFlatSiteQVal::Format(), CFlatSubSourcePrimer::Format(), CGenbankFormatter::FormatCache(), CGBSeqFormatter::FormatDefline(), CGenbankFormatter::FormatOrigin(), CGBSeqFormatter::FormatReference(), CGBSeqFormatter::FormatSource(), g_IsMasterAccession(), g_ServerInfoToJson(), CScore_CdsInternalStops::Get(), CEditSequenceEnds::GetCommand(), CStaticDataType::GetFullCType(), NMItemData::GetFuncFromTable_Depr(), GetIStream(), SrcEditDialog::GetLabelForTitle(), CAuth_list::GetLabelV2(), CBulkLocationPanel::GetLocForBioseq(), GetRetranslateCDSCommand(), NMItemData::GetRNASpecificFields(), GetRptTypeValue(), CAutoDefModifierCombo::GetSourceDescriptionString(), GetStrainCandidates(), GetTargetedLocusNameConsensus(), CDB_BigDateTime::GetTimeFormat(), GetTitle(), CBlastQuerySourceBioseqSet::GetTitle(), CGeneralIDField::GetVal(), HasNoStop(), CProjectsLstFileFilter::InitFromString(), CLocationEditPolicy::Interpret3Policy(), CGff2Reader::IsAlignmentData(), CGff2Record::IsAlignmentRecord(), CSeqUtils::IsCoverageAnnotName(), CSymResolver::IsDefine(), SMakeProjectT::IsMakeAppFile(), SMakeProjectT::IsMakeDllFile(), SMakeProjectT::IsMakeLibFile(), IsProducedByDatatool(), NMacroUtil::IsStructVoucherPart(), CMessageHandlerThrowOnError::IsTaxidQuery(), CAutoDefFeatureClause_Base::IsuORF(), CPCRPrimerSeq::IsValid(), CRequestContext::IsValidSessionID(), JoinString(), CAutoDefFeatureClause_Base::ListClauses(), CCompoundRWRegistry::LoadBaseRegistries(), FeatUtil::MakeCodeBreak(), CAutoDefParsedIntergenicSpacerClause::MakeRegion(), ICitationBase::MaybeAddSpace(), PssmMaker::modifyQuery(), CCountries::NewFixCountry(), NMItemData::NormalizeFieldForFeatPanel(), CComment_rule::NormalizePrefix(), NSTValidateProlongValue(), SGridWorkerNodeImpl::OfflineRun(), CELinkParser< T >::OnEndElement(), CJournalPanel::OnJournalPmidTextUpdated(), CMacroWordSubstitutionDlg::OnOpenFile(), NMItemData::OnSelectFeature(), CLocationListCtrl::OnSortClick(), CTestNameToInfoMapLoader::operator()(), PPredDbTagByName::operator()(), CXmlFormat::operator()(), operator<<(), CHttpCookie::Parse(), CGb_qual::ParseExperiment(), CAutoDefParsedtRNAClause::ParseString(), CMakefilePatch::PatchTreeMakefiles(), PortalBookURLToCCddBookRef(), CConnTest::PostCheck(), CConnTest::PreCheck(), CTabularFormatter_StopCodonChanges::Print(), CAutoDefFeatureClause_Base::PrintClause(), PrintSAM(), CDataTypeModule::PrintSampleDEF(), PrintSAMUnaligned(), CNewCleanup_imp::ProtrefBC(), CMsvcProjectMakefile::Redefine(), RelaxedMatch(), RemoveAffilStreetEnd(), CSubSource::RemoveCultureNotes(), COrgrefProp::RemoveOrgrefProp(), CCommentItem::RemovePeriodAfterURL(), CStrainRequest::RequireTaxname(), COrgMod::RescueInstFromParentheses(), CRetranslateCDS::RetranslateCDSCommand(), CAddGlobalCodeBreak::RetranslateCDSCommand(), CExtendCDSToStop::RetranslateCDSCommand(), CNewCleanup_imp::RnaFeatBC(), CNewCleanup_imp::RnarefBC(), CTLSApp::Run(), CRunTestApplication::Run(), CEditingBtnsPanel::RunMacroWithReport(), CStructuredCommentPanel::s_AddPoundSigns(), s_AddReplacedExt(), s_BaseDir(), CMacroFunction_AuthorFix::s_BuildName(), s_CheckValueForTID(), CCleanup::s_CleanupNameStdBC(), s_CollectRelPathes(), s_DoUSAStateCleanup(), CMacroFunction_EditStringQual::s_EditText(), ApplyCDSFrame::s_FindMatchingFrame(), CMacroFunction_ApplyCDSFrame::s_FindMatchingFrame(), IAuthorEditor::s_FixInitialsNew(), s_FormatCitGen(), s_FormatSecondaryAccessions(), s_GetAuthorNames(), s_GetMiRNAProduct(), CMacroFunction_PubFields::s_GetObjectsFromPersonID(), CCmdCreateCDS::s_GetProductSequence(), s_IsAllDigitsOrPeriods(), s_IsAllowedOrigin(), s_IsCompoundRptTypeValue(), s_IsGenbankMasterAccession(), s_IsState(), CMacroFunction_StringConstraints::s_IsSynonymFile(), s_IsUndefinedSpecies(), s_MatchesBoundary(), s_NormalizeTokens(), s_NoteFinalize(), CSingleAuthorPanel::s_ParseInitialsFromName(), s_ParseParentQual(), s_ParseTRnaFromAnticodonString(), s_QualVectorToNote(), s_RemovePeriod(), CStructuredCommentPanel::s_RemovePoundSigns(), NMacroUtil::s_SetInitials(), s_SetTrnaProduct(), s_SplitKV(), s_StringToCodeBreak(), s_TitleEndsInOrganism(), s_TitleFromSegment(), s_UpdateTarget(), s_WillContinue(), Sequence::Sequence(), CPubField::SetAuthorField(), CCleanup::SetCDSPartialsByFrameAndTranslation(), CApplyAuthorsTreeItemData::SetData(), CRNAFieldNamePanel::SetFieldName(), CDualRNAFieldNamePanel::SetFieldName(), CSourceFieldNamePanel::SetFieldName(), CDualRNAFieldNamePanel::SetFieldName2(), CAutoDefParsedClause::SetMiscRNAWord(), CAutoSqlCustomField::SetUserField(), CEditingActionDescAuthorFirstName::SetValue(), sGetReader(), CBioSource::ShouldIgnoreConflict(), NSearchFeatPanel::SplitPosOrRange(), sRunTest(), CUnculTaxTool::StandardFixes(), CMacroLib::StoreSynonymList(), CSymResolver::StripSuffix(), sUpdateCase(), CMacroFunction_ConvertStringQual::TheFunction(), CMacroFunction_ConvertRNARelQual::TheFunction(), CMacroFunction_ParseStringQual::TheFunction(), CMacroFunction_ParseRNARelQual::TheFunction(), CMacroFunction_AddParsedText::TheFunction(), CMacroFunction_CopyStringQual::TheFunction(), CMacroFunction_CopyRNARelQual::TheFunction(), CLocationListCtrl::TransferDataFromWindow(), CSeqTranslator::TranslateToProtein(), TrimStopsFromCompleteCDS(), SNetStorage::SConfig::Validate(), CSingleFeatValidator::ValidateCharactersInField(), CValidError_imp::ValidateCitations(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_imp::ValidateSubSource(), CMacroFunction_AddPubAuthor::x_AddAuthor(), CAutoDefFeatureClause_Base::x_AddOnetRNAIntergenicSpacerElement(), CNewCleanup_imp::x_AddReplaceQual(), CFeatureItem::x_AddRptUnitQual(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), CStreamLineReader::x_AdvanceEOLCRLF(), CTar::x_Append(), CTrackConfigManager::x_AppendKeyDisplayOptions(), CAppendModToOrg::x_ApplyToBioSource(), CGenbankFormatter::x_Authors(), CCleanupApp::x_BatchExtendCDS(), CNewCleanup_imp::x_BondEC(), CNewCleanup_imp::x_CanRemoveGenbankBlockSource(), CFeaturePropagator::x_CdsCleanupPartials(), CDiffList::x_CleanupAndMerge_SingleEdits(), CMacroInterpreter::x_ConvertFeatQualValidateArgs(), CTaxon1::x_ConvertOrgrefProps(), CCgiEntryReaderContext::x_DelimitedRead(), CImportFeatTable::x_DoImportCDS(), CAdjustFeaturesForGaps::x_DoOne(), CAutoDefFeatureClause::x_FindNoncodingFeatureKeywordProduct(), CCommentItem::x_GatherDescInfo(), CReferenceItem::x_GatherRemark(), CAutoDefFeatureClause::x_GetDescription(), CMacroEditorContext::x_GetGUIFieldForRNA(), CFlatItemFormatter::x_GetKeywords(), CAuthor::x_GetLabelV2(), CParseQualTreeItemData::x_GetParsedTextDescription(), CLocationListCtrl::x_GetRowData(), CAutoDefFeatureClause_Base::x_GetTRNAIntergenicSpacerType(), CCgiRequest::x_Init(), CGencollIdMapper::x_Init(), CConn_FTPDownloadStream::x_InitDownload(), CSearch_func::x_InWordBeforeCytochromeOrCoenzyme(), CTraversalNode::x_LoadDataFromASNNode(), CNetScheduleHandler::x_MakeSureSingleEOR(), CTraversalNode::x_MergeNames(), CGFFReader::x_MergeRecords(), CDiscRepApp::x_ParseDirectory(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), CNewCleanup_imp::x_PostProcessing(), CMacroInterpreter::x_PostProcessRmvDbxref(), CMacroInterpreter::x_PostProcessSetException(), CMakeBlastDBApp::x_ProcessInputData(), CAsn2FastaApp::x_ProcessISubdirectory(), CNSTServiceRegistry::x_ReadServiceProperties(), CGencollIdMapper::x_RecursiveSeqFix(), CCountries::x_RemoveDelimitersFromEnds(), x_RepairCountryName(), CReportTrim::x_RetranslateCDS(), CNewCleanup_imp::x_RRNANameBC(), variation_ref::CHgvsParser::x_SeqLocToStr(), CMasterContext::x_SetBaseName(), CFeatureGenerator::SImplementation::x_SetComment(), CCommentItem::x_SetCommentWithURLlinks(), CMacroAdvStringConstraintPanel< T >::x_SetControls(), CUnculturedTool::x_StandardFixes(), CMatchFeatureTableDlg::x_TokenMatch(), CCDSTranslationPanel::x_Translate(), CFeatureTableReader_Imp::x_TryToParseOffset(), CProtValidator::x_ValidateProteinName(), CMakeBlastDBApp::x_VerifyInputFilesType(), CGtfReadRecord::xAssignAttributesFromGff(), CBedReader::xDetermineLikelyColumnCount(), CGff3LocationMerger::xGetLocationIds(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), CAlnScannerSequin::xIsSequinOffsetsLine(), CGff2Record::xNormalizedAttributeValue(), CQualParser::xParseQualifierCont(), CQualParser::xParseQualifierStart(), CVcfReader::xProcessMetaLineFilter(), CVcfReader::xProcessMetaLineFormat(), CVcfReader::xProcessMetaLineInfo(), CQualParser::xQualValAppendLine(), and CGff3Reader::xUpdateAnnotFeature().
Test for equality of two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5394 of file ncbistr.hpp.
References NStr::eCase, NStr::EqualCase(), and NStr::EqualNocase().
|
inlinestatic |
Test for equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
use_case | Whether to do a case sensitive compare(eCase – default), or a case-insensitive compare (eNocase). |
Definition at line 5378 of file ncbistr.hpp.
References NStr::eCase, NStr::EqualCase(), NStr::EqualNocase(), n, and CTempString::substr().
Referenced by CUnculTaxTool::AddBioSource(), CSubmissionPrepMainPanel::AddField(), CAutoDefFeatureClause::AddGene(), AddGoodImpFeat(), AddGoTermToList(), AddMiscRNAFeatures(), AddStructuredCommentToAttributes(), CSingleSequencePanel::AddToUpdateCommand(), AdjustDBLinkFieldName(), CTaxValidationAndCleanup::AdjustOrgRefsWithTaxLookupReply(), CFeatGapInfo::AdjustProteinSeq(), AlreadyHasFeature(), AnalyzeField(), CEditPubDlg::AppendToErrorMsg(), ApplyChimeraValuesTableToSeqEntry(), CGAssemblyOtherPanel::ApplyCommand(), CGAssemblyPanel::ApplyCommand(), ApplyCommentValuesTableToSeqEntry(), CGenomeInfoPanel::ApplyDescriptor(), ApplyFeatureSeqTableToSeqEntry(), SrcEditDialog::ApplySrcTableToSeqEntry(), CSpecificHostMapForFix::ApplyToOrg(), AreAllColumnValuesTheSame(), CCleanup::AreBioSourcesMergeable(), CAutoDefModifierCombo::AreFeatureClausesUnique(), Asn2gnbkCompressSpaces(), CSubSource::AutoFix(), CFieldChoicePanel::AutoMatchRNA(), CValidator::BadCharsInAuthorName(), CNewCleanup_imp::BiosourceBC(), BioSourceFromImpFeat(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BuildChimeraValuesTableFromSeqEntry(), CCDSTranslationProblems::CalculateTranslationProblems(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefSatelliteClause::CAutoDefSatelliteClause(), CDBInterfacesFileConnParams::CDBInterfacesFileConnParams(), CGoTermSortStruct::CGoTermSortStruct(), CheckDate(), CheckQual(), CheckStrings(), CLatLonMap_Base::CLatLonMap_Base(), CAutoDefFeatureClause_Base::ClauseFromPhrase(), CCitPatCleaner::Clean(), CCleanup::CleanupCollectionDates(), ClearGoTermValue(), CStructCommFieldValuePair::ClearVal(), CStructCommDBName::ClearVal(), CStructCommFieldName::ClearVal(), CStructuredCommentField::ClearVal(), CAutoDefFeatureClause_Base::Consolidate(), CConvertCDSToMiscFeat::Convert(), CValidErrItem::ConvertToErrCode(), SrcEditDialog::CountColumnRowConflicts(), CountColumnRowConflicts(), CountColumnValueConflicts(), CMiscSeqTableColumn::CountConflicts(), CountDefLineConflicts(), CountGoTerms(), CAutoDefFeatureClause_Base::CountUnknownGenes(), CSrcTableColumnBaseFactory::Create(), CFeatureGenePanel::CreateControls(), CSpecificHostRequest::CSpecificHostRequest(), CNewCleanup_imp::DbtagBC(), CUser_field::DeleteField(), CDbxrefPanel::DeleteTaxonRef(), CAutoDefFeatureClause_Base::DisplayAlleleName(), DoesColumnHaveValue(), CAutoDefFeatureClause::DoesmRNAProductNameMatch(), CStringConstraint::DoesTextMatch(), NStr::EndsWith(), CName_std::ExtractSuffixFromLastName(), SrcEditDialog::FindBadColumns(), CAutoDefFeatureClause::FindBestParentClause(), CComment_rule::FindFieldRuleRef(), CAutoDefFeatureClause_Base::FindGeneProductName(), FindNonUniqueStrings(), FindSeqTableColumnByName(), CSubSource::FixAltitude(), CSubSource::FixCapitalization(), CBioSource::FixEnvironmentalSample(), CSeqFeatData::FixImportKey(), CGb_qual::FixMobileElementValue(), CSubSource::FixSexQualifierValue(), COrgMod::FixStructuredVoucher(), SrcEditDialog::FixTableAfterImport(), FixTableAfterImport(), g_GetConfigFlag(), CNewCleanup_imp::GBQualSeqFeatBC(), CNewCleanup_imp::GenerefBC(), CValidError_feat::GetAccessionsFromInferenceString(), IEditingAction::GetActionCommand(), GetAvailableFields(), CBioSource::GetBioprojectLocation(), GetBiosampleStatus(), GetBioSampleStatusFromNode(), GetCitSubmit(), CSubPrep_panel::GetCitSubPub(), CConvertCdsToMiscFeat::GetCommand(), CConvertFeatDlg::GetCommand(), CEditPubDlg::GetCommand(), CVirusNonCodingFeaturesPanel::GetCommand(), CTMgr_ClientInfo::GetContextAttr(), CAutoDefSourceGroup::GetDefaultExcludeSp(), CEditObjectSeq_desc::GetDescriptorType(), GetEmblBlockXref(), CValidErrorFormat::GetFeatureContentLabel(), GetFieldDiffs(), GetFieldDiffsFromNameValLists(), CUser_field::GetFieldRef(), CUser_object::GetFieldRef(), CPrintOptions::GetFormatFromName(), CConvertFeatureTreeItemData::GetFunction(), CBioSource::GetGenomeByOrganelle(), GetGoTermErrors(), SrcEditDialog::GetLabelForTitle(), CMatchCDS::GetNummRNA(), CBioSource::GetOriginByString(), CStructuredCommentsReader::CStructComment::GetPrefix(), GetPrefixOrSuffixType(), CWGSDb_Impl::GetProtAccRowId(), CComment_rule::GetStructuredCommentPrefix(), GetTargetedLocusNameConsensus(), CStdAnnotTypes::GetTypeAsInt(), CStructCommFieldValuePair::GetVals(), CStructCommFieldName::GetVals(), CStructuredCommentField::GetVals(), CInferencePanel::GetValue(), CApplyStructCommentTreeItemData::GetVariables(), CAutoDefFeatureClause_Base::GroupSegmentedCDSs(), CValidError_imp::HandleTaxonomyError(), HasAmplifiedWithSpeciesSpecificPrimerNote(), HasCultureCollectionForATCCStrain(), HasMod(), HasStrainForATCCCultureCollection(), CLatLonMap_Base::IsClosestToLatLon(), IsCommonName(), CSubPrepIntroPanel::IsComplete(), CStructuredCommentField::IsEmpty(), CAutoDefFeatureClause::IsExonWithNumber(), CAutoDefFeatureClause_Base::IsGeneMentioned(), CStringConstraint::IsInRange(), CGb_qual::IsLegalInferenceDatabase(), CGb_qual::IsLegalMobileElementValue(), CAsnBinCompressed::IsLZOStream(), IsMappablePair(), IsMatchingIdMissing(), IsMet1(), CAutoDefMobileElementClause::IsOptional(), IsOrgNotFound(), CSubSource::IsPlasmidNameValid(), CStdAnnotTypes::IsPredefinedDescr(), CStdAnnotTypes::IsPredefinedDescrForType(), CAutoDefFeatureClause::IsPromoter(), CAutoDefPromoterAnd5UTRClause::IsPromoterAnd5UTR(), IsRBS(), IsSiteRef(), CStructuredCommentField::IsStructuredCommentForThisField(), COrgMod::IsStructuredVoucherValid(), CAutoDefSourceDescription::IsTrickyHIV(), CDiscrepancyContext::IsUnculturedNonOrganelleName(), CStructuredCommentField::IsValid(), CComment_rule::IsValid(), CSatelliteTypeNameColumn::IsValid(), CAutoDefFeatureClause_Base::IsValidFeatureClausePhrase(), CSubSource::IsValidSexQualifierValue(), CStdAnnotTypes::IsValidTypeStr(), CComment_rule::KeywordForPrefix(), CAutoDefFeatureClause_Base::ListClauses(), CTaxValidationAndCleanup::ListTaxLookupErrors(), CCleanup::MakeIRDFeatsFromSourceXrefs(), MakemRNAforCDS(), CExpectedError::Match(), MatchArrayString(), CEditingActionDescUserObject::Modify(), CEditingActionDescStructCommFieldName::Modify(), CEditingActionDescLocalId::Modify(), CEditingActionDescComment::Modify(), CNewCleanup_imp::MoveCitationQuals(), CNewCleanup_imp::MoveDbxrefs(), CNewCleanup_imp::MoveStandardName(), CCountries::NewFixCountry(), CCleanup::NormalizeGeneQuals(), CAutoDefFeatureClause::OkToGroupUnderByLocation(), CncRNASubPanel::OnChoice5Selected(), CVirusMoleculeQuestionsPanel::OnDataChange(), CSubmissionPrepMainPanel::OnEditSequencingTechnologyClicked(), CSrcModPanel::OnLeftUp(), CRNANamePanel::OnRNATypeSelected(), CBulkRNAAddPanel::OnSelectRNAType(), CAlignRNAAddPanel::OnSelectRNAType(), CRefGeneTrackLocListPanel::OnTypeChoiceSelected(), SKeywordChecker::operator()(), SRemovableOldname::operator()(), SRemovableOrgModNote::operator()(), STitleMatchString::operator()(), CAutoDefFeatureClause_Base::PluralizeInterval(), CGBQualPanel::PopulateGBQuals(), CComment_rule::PrefixForKeyword(), ProcessBiosampleStatusNode(), CBiosampleChkApp::ProcessOneDirectory(), CNewCleanup_imp::ProtRefEC(), CGene_ref::RefersToSameGene(), CAutoDefWithTaxonomy::RegeneratePopsetTitles(), CAutoDef::RegenerateSequenceDefLines(), RelaxedMatch(), RemoveDbxref(), CUser_object::RemoveNamedField(), CBioSource::RemoveOrgMod(), RemoveProblemsColumn(), CBioSource::RemoveSubSource(), CReorderStructuredComment::reorder_comment_by_rule(), CComment_rule::ReorderFields(), RescueProtProductQual(), impl::CDriverContext::ResetEnvSybase(), CEditingActionDescGenomeProjectId::ResetValue(), CEditingActionDescStructCommDbName::ResetValue(), RevComp(), CBiosampleChkApp::Run(), CMytestApplication::Run(), s_AffilSame(), s_AltitudeIsValid(), s_AreDifferentVariations(), s_AreFeatureClausesUnique(), s_AreFeatureLabelsSame(), s_AreGBQualsIdentical(), s_ArePrimersUnique(), s_AuthorListsSame(), s_AuthorsSame(), s_CleanCDDFeature(), CCleanup::s_CleanupGeneOntology(), CCleanup::s_CleanupGenomeAssembly(), CCleanup::s_CleanupNameStdBC(), CCleanup::s_CleanupStructuredComment(), s_CompleteGenomeNeedsChromosome(), s_CompressRunsOfSpaces(), s_DoUSAStateCleanup(), s_DuplicatesBiosource(), s_ExpandThisQual(), s_FeatureHasEvidenceOrInferenceQuals(), s_FindColumn(), CCleanup::s_FixEtAl(), s_FixncRNA(), s_FixRNAOtherByName(), s_FixtmRNA(), s_GeneralTagsMatch(), ApplyCDSFrame::s_GetFrameFromName(), s_GetMrnaProteinLink(), s_GetPrefixForStructuredComment(), s_HasMatchingGBMod(), s_HasOrgMod(), s_HtmlizeStructuredCommentData(), s_IsAllowedOrigin(), s_IsBioSample(), s_IsGenomeAnnotationStart(), s_IsIllegal(), s_IsPhage(), s_IsReportableStructuredComment(), s_IsRNASpacer(), s_IsrRNA(), s_IsState(), s_IsTPAAssemblyOkForBioseq(), s_IsValidRecombinationClass(), s_IsValidRegulatoryClass(), s_MakeCommonStringList(), s_MatchOrgname(), CMacroFunction_SetStructCommDb::s_MoveSuffixToTheEnd(), s_Name_stdsSame(), s_NameCloseEnough(), s_NameCloseEnoughC(), CGenusSpeciesFixup::s_PermuteTaxname(), s_ProcessedFromKey(), s_ProcessOrgRefMapLine(), CMacroFunction_RefreshDefline::s_RefreshDeflineCommand(), s_ReplaceListFromQuals(), s_SetMolinfoTechFromString(), s_ShouldIgnoreStructuredCommentFieldDiff(), s_TestOneWrongQual(), s_UpdateSubtype(), SetEnvSampleFixAmplifiedPrimers(), CUser_object::SetFieldRef(), CUser_field::SetFieldRef(), SetGoTermValue(), CStructuredCommentField::SetVal(), CBioSource::ShouldIgnoreConflict(), SortUniqueStrings(), NStr::StartsWith(), CDiscrepancyVisitorImpl< _Name >::Summarize(), TestBulkSpecificHostFixList(), CMacroFunction_AddDBLink::TheFunction(), CMacroFunction_ParseToStructComm::TheFunction(), CGBQualPanel::TransferDataFromWindow(), CncRNASubPanel::TransferDataFromWindow(), CSingleGbQualSubPanel::TransferDataFromWindow(), CtmRNASubPanel::TransferDataFromWindow(), CGAssemblyOtherPanel::TransferDataToWindow(), CRefGeneTrackLocListPanel::TransferDataToWindow(), CSingleGbQualSubPanel::TransferDataToWindow(), CtmRNASubPanel::TransferDataToWindow(), CGBQualStringListValidator::TransferFromWindow(), CGBQualStringListValidator::TransferToWindow(), TrimSpacesSemicolonsAndCommas(), COrg_ref::UpdateFromTable(), UpdatemRNAProduct(), CSubmissionPrepMainPanel::UpdateSeqTechCtrls(), CSubPrepFieldEditor::UpdateValues(), CCountries::USAStateCleanup(), CGeneValidator::Validate(), CMiscFeatValidator::Validate(), CAssemblyGapValidator::Validate(), CImpFeatValidator::Validate(), CValidError_imp::Validate(), CValidError_imp::ValidateAffil(), CValidError_imp::ValidateBioSource(), CValidError_bioseq::ValidateCollidingGenes(), CSubSource::ValidateLatLonCountry(), CAsnvalApp::ValidateOneDirectory(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidateOrgRef(), CValidError_imp::ValidatePubArticleNoPMID(), CValidError_imp::ValidatePubGen(), CValidError_bioseq::ValidateRepr(), CValidError_bioseq::ValidateSeqId(), CValidError_imp::ValidateSeqLoc(), CValidError_imp::ValidateSubSource(), CAutoDefAvailableModifier::ValueFound(), CCleanup::WGSCleanup(), CNewCleanup_imp::x_AddEnvSamplOrMetagenomic(), CAutoDefModifierCombo::x_AddHIVModifiers(), CFeatureItem::x_AddQualsExt(), CStrainSerotypeInfluenza::x_AddToInfluenzaNames(), CSourceRequirements::x_AddUniquenessProblems(), CFeatGapInfo::x_AdjustOrigLabel(), x_AdjustOrigLabel(), CAsnvalApp::x_AliasLogFile(), COrgGeneralPanel::x_ApplyChangesToSource(), CTaxValidationAndCleanup::x_ApplySpecificHostMap(), CAppendModToOrg::x_ApplyToBioSource(), CFixOrgModInst::x_ApplyToBioSource(), CSubmissionWizard::x_ApplyUserDescriptorToRecord(), CNewCleanup_imp::x_BondEC(), CNewCleanup_imp::x_CanRemoveGenbankBlockSource(), CValidError_bioseq::x_CheckOrigProteinAndTranscriptIds(), CFeatureItem::x_CleanQuals(), CNewCleanup_imp::x_CleanupGenbankBlock(), CGb_qual::x_CleanupRptAndReplaceSeq(), CAutoDefModifierCombo::x_CleanUpTaxName(), CValidError_bioseq::x_CompareStrings(), CTaxon1::x_ConvertOrgrefProps(), CSeq_id_Resolver__LRG::x_Create(), CSubPrep_panel::x_CreateMoleculeOptions(), CEnvironmentRegistry::x_Enumerate(), CGencollIdMapper::x_FillChromosomeIds(), CUrlArgs::x_Find(), CTblEditDlg::x_FindBadImportColumns(), CPrefixDeflinedlg::x_FindModifierBasedOnLabel(), CConvertFeatureBase::x_FindOption(), CTaxon2_data::x_FindProperty(), CTaxon2_data::x_FindPropertyConst(), CNewCleanup_imp::x_FixStructuredCommentKeywords(), CStrainSerotypeInfluenza::x_FixupOrganismNames(), CGenomeProjectItem::x_GatherInfo(), CAutoDefFeatureClause::x_GetDescription(), CAutoDef::x_GetFeatureClauseProductEnding(), CGenbankFormatter::x_GetFeatureSpanAndScriptStart(), CAutoDefFeatureClause::x_GetFeatureTypeWord(), CFeatureItem::x_GetFtableNameAlias(), CAutoDefFeatureClause::x_GetGenericInterval(), CAutoDef::x_GetHumanSTRFeatureClauses(), CRNANamePanel::x_GetMultiElementName(), CNAUtils::x_GetNAMetaData(), CAltitudePanel::x_GetNumber(), CAutoDefFeatureClause::x_GetProductName(), CAutoDefGeneClause::x_GetProductName(), CModifySeqId::x_GetRemoveOriginalIdCommand(), CRelaxedLookupDlg::x_GetSearchTerms(), CRNANamePanel::x_GetSingleElementName(), CStrainSerotypeInfluenza::x_GetStrainSerotypeConflicts(), CCDSTranslationProblems::x_GetTranslExceptProblems(), CNewCleanup_imp::x_HandleTrnaProductGBQual(), CTaxValidationAndCleanup::x_InterpretTaxonomyError(), CAutoDef::x_Is5SList(), CCDSTranslationProblems::x_IsThreeBaseNonsense(), CUser_object::x_IsUnreviewedType(), CUser_object::x_IsUnverifiedType(), CAutoDefFeatureClause_Base::x_LastIntervalChangeBeforeEnd(), CSubPrepIntroPanel::x_LaunchSubmitEditor(), CGencollIdMapper::x_MakeSpecForSeq(), CDB_ODBC_ConnParams::x_MapPairToParam(), CAutoDefFeatureClause_Base::x_MeetAltSpliceRules(), CNewCleanup_imp::x_MovedNamedValuesInStrain(), CGencollIdMapper::x_NCBI34_Guess(), CGencollIdMapper::x_NCBI34_Map_IdFix(), CAutoDefFeatureClause_Base::x_OkToConsolidate(), CNewCleanup_imp::x_OrgModBC(), CNAUtils::x_ParseNAMetaData(), CNewCleanup_imp::x_RemoveOldFeatures(), CNewCleanup_imp::x_SeqFeatCDSGBQualBC(), CNewCleanup_imp::x_SeqFeatRnaGBQualBC(), CBioseqContext::x_SetId(), CBioSourcePanel::x_SetOrganismInfo(), CLocAndGCodePanel::x_SetOrigin(), CValidError_bioseq::x_SetupCommonFlags(), CAutoDefFeatureClause::x_ShowTypewordFirst(), CNewCleanup_imp::x_SplitDbtag(), CCorrectRNAStrandDlg::x_StrandFromString(), CNewCleanup_imp::x_SubSourceBC(), x_TestList(), x_TestPair(), CMatchFeatureTableDlg::x_TokenMatch(), CValidError_bioseq::x_TranscriptIDsMatch(), CStrainSerotypeInfluenza::x_TrimmingOrganismNames(), CIdResolver::x_TryProcessLRG(), CEditObjectSeq_feat::x_UpdatemRNA(), CValidError_align::x_ValidateAlignPercentIdentity(), CCdregionValidator::x_ValidateConflict(), CSingleFeatValidator::x_ValidateGbquals(), CSingleFeatValidator::x_ValidateGeneXRef(), CSingleFeatValidator::x_ValidateNonGene(), CSingleFeatValidator::x_ValidateOldLocusTag(), CPeptideValidator::x_ValidatePeptideOnCodonBoundary(), CSingleFeatValidator::x_ValidateReplaceQual(), CValidError_desc::x_ValidateStructuredComment(), CValidError_desc::x_ValidateStructuredCommentSuffix(), CRNAValidator::x_ValidateTrnaCodons(), CSeqTableGridPanel::x_ValuesOkForNewColumn(), CVcfReader::xAssignVariantSource(), CVcfReader::xAssignVariationAlleleSet(), CVcfReader::xAssignVariationIds(), CSrcWriter::xFormatTabDelimited(), and CVcfReader::xProcessFilter().
|
inlinestatic |
Test for equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5386 of file ncbistr.hpp.
References NStr::eCase, NStr::EqualCase(), NStr::EqualNocase(), n, and CTempString::substr().
|
inlinestatic |
Test for equality of two strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase). |
Definition at line 5400 of file ncbistr.hpp.
References NStr::eCase, NStr::EqualCase(), and NStr::EqualNocase().
Case-sensitive equality of two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5331 of file ncbistr.hpp.
References n, and NStr::strncmp().
|
inlinestatic |
Case-sensitive equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
Definition at line 5319 of file ncbistr.hpp.
References n, and CTempString::substr().
Referenced by CSrcTableDbxrefColumn::AddToBioSource(), NMacroUtil::ApplyFirstName(), NMacroUtil::ApplyMiddleInitial(), COrgMod::CheckMultipleVouchers(), CCleanup::CleanupAffil(), CUnculturedTool::CorrectBioSource(), CCulturedTool::CorrectBioSource(), CEditHistory::CreateControls(), NStr::Equal(), IEditingActionFeat::Find(), CEditingActionFeatGeneLocusPlain::Find(), CEditingActionFeatGeneLocusRna::Find(), IEditingActionFeat::FindFeatForAnotherFeat(), COrgMod::FindInstitutionCode(), FindMatchInOrgRef(), NMacroUtil::FindNcbiAutofixUserObject(), IEditingActionFeat::FindOrCreateProtFeat(), FixStateAbbreviationsInAffil(), fta_seqid_same(), fta_StringMatch(), CAutoAddDBLink::Get(), CSrcTableDbxrefColumn::GetFromBioSource(), CMacroAdvStringConstraintPanel< T >::GetTextConstraint(), CGeneralIDField::GetVal(), CBankITCommentField::GetVals(), CLocalIDField::GetVals(), CMacroAdvStringConstraintPanel< T >::GetVars(), CSubSource::IsAltitudeValid(), CLocalIDField::IsEmpty(), CValidError_bioseq::IsFlybaseDbxrefs(), IsGeneOntology(), IsProductMatch(), CEditingActionFileId::IsSetValue(), CEditingActionGeneralIdTag::IsSetValue(), CValidator::IsValidDbxref(), LocusTagCheck(), CCountries::NewFixCountry(), CNewCleanup_imp::OrgnameBC(), ParseAccessionRange(), CColumnarVCFReader::ReadVariantsForChrs(), CMacroFunction_FixPubCaps::s_FixCapitalizationInAuthor(), CMacroFunction_FixPubCaps::s_FixCapitalizationInElement(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Affil(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_City(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Country(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Div(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Street(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Sub(), CMacroFunction_MakeBoldXrefs::s_GetBarcodeId(), NSearchFeatPanel::s_GetFeatureLabel(), CMacroFunction_MakeBoldXrefs::s_HasBarcodeDbXref(), s_MatchSeqIds(), CMacroFunction_AuthorFix::s_MoveMiddleToFirst(), CMacroFunction_RemoveQual::s_RemoveFields(), CMacroFunction_AuthorFix::s_TruncateMiddleInitials(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), IEditMacroFunction::SetQualStringValue(), CBioSource::ShouldIgnoreConflict(), CCitSubUpdater::sx_GetCitSubForSequence(), CMacroFunction_FixFormat::TheFunction(), CMacroFunction_FixPubCaps::TheFunction(), CCDSTranslationPanel::TransferDataToWindow(), CtRNAProductPanel::TransferDataToWindow(), CUserFieldStringListValidator::TransferFromWindow(), CUserFieldStringListValidator::TransferToWindow(), CGeneValidator::Validate(), CProtValidator::Validate(), CValidError_imp::ValidateBioSource(), CValidError_bioseq::ValidateCompleteGenome(), CValidError_desc::ValidateDblink(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_bioseqset::ValidatePopSet(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_imp::ValidateSubAffil(), CSortedProteins::View(), CMacroFunction_ApplyStrucVoucherPart::x_ApplyPart(), CFixAffilCap::x_ApplyToCAffil(), CUpdateTLSNameDlg::x_CountTLSNameConflicts(), CMacroFunction_FixPubCaps::x_FixCapsInPubAffilCountry(), CMacroFunction_FixProteinFormat::x_FixProteinNames(), CMacroFunction_ParsedText::x_GetParseOptions(), CMacroFunction_RemoveOutside::x_GetRemoveTextOptions(), CMacroFunction_ParsedText::x_GetSpecialField(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CCreateGeneModelTask::x_GetUpdatedGeneCommand(), COrgGeneralPanel::x_HasTaxnameChanged(), CFileIDField::x_IsNCBIFILEId(), CSearch_func::x_IsPrefixPlusNumbers(), CSequenceUpdater::x_RemoveDescriptorsFromImportedProducts(), CMacroFunction_ApplyFeature::x_SetLocation(), CStrainSerotypeInfluenza::x_UpdateStrainSerotype(), CSingleFeatValidator::x_ValidateGbquals(), CProtValidator::x_ValidateProteinName(), CSingleFeatValidator::x_ValidateSeqFeatLoc(), CSingleFeatValidator::x_ValidateSeqFeatProduct(), and CValidError_desc::x_ValidateStructuredComment().
|
inlinestatic |
Case-sensitive equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
Definition at line 5325 of file ncbistr.hpp.
References n, and CTempString::substr().
|
inlinestatic |
Case-sensitive equality of two strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5341 of file ncbistr.hpp.
Case-insensitive equality of two strings – char* version.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5359 of file ncbistr.hpp.
References n, and NStr::strncasecmp().
|
inlinestatic |
Case-insensitive equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String (char*) to be compared with substring. |
Definition at line 5347 of file ncbistr.hpp.
References NStr::CompareNocase(), n, and CTempString::substr().
Referenced by CCgiResponse::AcceptRangesBytes(), NMacroUtil::ActionTypeToExistingTextOption(), CExportTableDlg::AddBioSource(), CPseudoPanel::AddCommand(), CExportTableDlg::AddDblinkToTable(), AddFeatureToSeqTable(), CReadUtil::AddGeneOntologyTerm(), CModHandler::AddMods(), CBulkOtherAddPanel::AddOneCommand(), CAlignOtherAddPanel::AddOneCommand(), CStrainRequest::AddReply(), CSourceRequirements::AddRequirement(), SAccGuide::AddRule(), AddStructuredCommentToAttributes(), CGenericStructuredCommentColumn::AddToComment(), CGbQualColumn::AddToFeature(), AddValueToTable(), CValidError_align::AlignmentScorePercentIdOk(), AlreadyHasFeature(), CApplyFBOL::apply(), CPrefixAuthority::apply_to(), ApplyDBLinkValuesTableToSeqEntry(), CBarcodeTool::ApplyDbxrefs(), CSourceModParser::ApplyMods(), ApplySrcTableToSeqEntry(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), CAddCitSubForUpdate::ApplyToCSeq_entry(), CCorrectIntervalOrder::ApplyToCSeq_entry(), CRemoveEmptyGenomeProjectsDB::ApplyToUserObject(), AreAnyColumnValuesPresent(), AttributeNamesAreEquivalent(), CDiscrepancyVisitorImpl< _Name >::Autofix(), CFieldChoicePanel::AutoMatchFeat(), CFieldChoicePanel::AutoMatchSrc(), CValidator::BadCharsInAuthorLastName(), BDB_CreateEnv(), CNewCleanup_imp::BiosourceBC(), BOOST_AUTO_TEST_CASE(), BuildDBLinkValuesTableFromSeqEntry(), CCDSTranslationProblems::CalculateTranslationProblems(), CAlignStrandSorter::CAlignStrandSorter(), CReadDispatcher::CannotProcess(), CannotProcess(), CCgiResponse::CanSendTrailer(), CaseNCompareEqual(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CCloneConcordancySorter::CCloneConcordancySorter(), CDbvarClinicalAsstSorter::CDbvarClinicalAsstSorter(), CDbvarPilotSorter::CDbvarPilotSorter(), CDbvarQualitySorter::CDbvarQualitySorter(), CDbvarSamplesetTypeSorter::CDbvarSamplesetTypeSorter(), CDbvarValidationSorter::CDbvarValidationSorter(), CFlatFileTextItem::CFlatFileTextItem(), CGRCStatusSorter::CGRCStatusSorter(), check_est_sts_gss_tpa_kwds(), CComment_rule::CheckFieldValue(), CPrimerTableCommandConverter::CheckForMixedValues(), CValidError_bioseq::CheckForMultipleStructuredComments(), COrgMod::CheckMultipleVouchers(), CSeqTechDlg::CheckSequencingTechnology(), CheckStrainReply(), CkQualMatchToken(), CLatLonCountryId::Classify(), CCleanup::CleanupAffil(), CDBLinkTableCommandConverter::ClearAllValues(), CStructuredCommentCommandConverter::ClearAllValues(), CSrcTableTaxonIdColumn::ClearInBioSource(), CGenericStructuredCommentColumn::ClearInComment(), CGbQualColumn::ClearInFeature(), CMiscSeqTableColumn::CMiscSeqTableColumn(), CBiosampleFieldDiff::CompareAllButSequenceID(), pub_report::CompareAuthorNames(), CConvertImpToProt::Convert(), Convert_BioTreeContainer_Seq_id(), Convert_GC_Assembly_Seq_id(), ConvertRegulatoryFeature(), NMacroUtil::ConvertStringtoCapitalOption(), CFieldHandlerFactory::Create(), CFeatureSeqTableColumnBaseFactory::Create(), CSrcTableColumnBaseFactory::Create(), CreateActionBiosource(), CLDS2_DataLoaderCF::CreateAndRegister(), CCgiApplication::CreateContextWithFlags_Default(), CSeqTechDlg::CreateControls(), CGBQualPanel::CreateControls(), CGenericPropsPanel::CreateControls(), CSingleGbQualSubPanel::CreateControls(), CGraphTrackFactory::CreateTracks(), CSeqIdGuesser::CSeqIdGuesser(), CNewCleanup_imp::DbtagBC(), CSequenceEditingEventHandler::DeleteSpecificStructuredComment(), CSampleNetCacheClient::DemoPutRead(), DoesSingleStringMatchConstraint(), CExploreProcess::DoOneBioseq(), NStr::Equal(), CSeq_id_Textseq_Info::TKey::EqualAcc(), CMQueryFunctionValue::Evaluate(), CSGQueryFunctionCompare::Evaluate(), CSequenceEditingEventHandler::ExportStructuredCommentsTable(), ExtractGnomonModelNum(), FillAccsBySource(), CEditingActionDescUserObject::Find(), CEditingActionDescLocalId::Find(), CEditingActionDescComment::Find(), CComment_set::FindCommentRuleEx(), COrgMod::FindInstitutionCode(), FindMatchInOrgRef(), CSeq_id_General_Tree::FindOrCreate(), CEditingActionDescUserObject::FindRelated(), pub_report::FirstOrLastAuthorMatches(), CSubSource::FixDateFormat(), COrgMod::FixHostCapitalization(), CSeqFeatData::FixImportKey(), CSubSource::FixIsolationSourceCapitalization(), CSubSource::FixSexQualifierValue(), COrgMod::FixStructuredVoucher(), CName_std::FixSuffix(), SrcEditDialog::FixTableAfterImport(), FixTableAfterImport(), CSubSource::FixTissueTypeCapitalization(), Flat2AsnCheck(), CFlatXrefQVal::Format(), CGenbankFormatter::FormatFeature(), CGBSeqFormatter::FormatGenomeProject(), fta_add_hist(), fta_check_mga_keywords(), fta_check_old_locus_tags(), fta_is_con_div(), fta_remove_tls_keywords(), fta_remove_tsa_keywords(), fta_tls_keywords_check(), fta_tpa_keywords_check(), fta_tsa_keywords_check(), COrgMod::FuzzyStrainMatch(), CNewCleanup_imp::GBQualBC(), CNewCleanup_imp::GBQualSeqFeatBC(), CNewCleanup_imp::GeneFeatBC(), get_auth_consortium(), CWholeFileAnnotation::GetAndUseAnnot(), CPSGDataLoader_Impl::GetAnnotRecordsNAOnce(), GetBarcodeId(), GetBioSampleStatusFromNode(), GetBioseqDiffs(), GetClassType(), CAddGlobalCodeBreak::GetCommand(), CConvertFeatDlg::GetCommand(), CEditSequenceEnds::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CGeneFeatFromOtherFeatDlg::GetCommand(), CRemoveGeneXrefs::GetCommand(), CSeqTechDlg::GetCommand(), CSuppressGenes::GetCommand(), CReplaceEntirePubPanel::GetCommand(), CPrimerTableCommandConverter::GetCommandFromValuesTable(), CStructuredCommentCommandConverter::GetCommandFromValuesTable(), CSubPrep_panel::GetConverterForFieldName(), CCountries::GetCorrectedCountryCapitalization(), CFeatGlyph::GetCustomColorIdx(), CUpdateSeqPanel::GetData(), GetDBLinkIDs(), NMItemData::GetDelimiterDescr(), CMacroFeatsOnSeqPanel::GetDescription(), CEditObjectSeq_desc::GetDescriptorType(), CEditObjectFeaturePropagate::GetEditCommand(), CFlatFileViewContext::GetEditObject(), GetEmblBlockXref(), GetEmblGBBlock(), NMItemData::GetExistingTextDescr(), NMacroUtil::GetFeatSubtype(), GetFieldFromWizardObject(), CFieldChoicePanel::GetFieldName(), CMolInfoFieldType::GetFieldType(), CFieldNamePanel::GetFieldTypeFromName(), GetFirstGBQualMatch(), CUnculturedTaxnameQual::GetFormatErrors(), CSubSrcQual::GetFormatErrors(), CGenericStructuredCommentColumn::GetFromComment(), CGbQualColumn::GetFromFeat(), CApplyAuthorsTreeItemData::GetFunction(), CApplyStrCommQualTreeItemData::GetFunction(), CAddFeatureTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CConvertFeatureTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CEditFeatQualTreeItemData::GetFunction(), CEditStrCommQualTreeItemData::GetFunction(), CEditMolinfoFieldsTreeItemData::GetFunction(), CSetExceptionsTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CRmvFeatQualTreeItemData::GetFunction(), CRmvOutsideStrCommQualTreeItemData::GetFunction(), CRmvOutsideFeatQualTreeItemData::GetFunction(), CMacroFeatsOnSeqPanel::GetFuncWithArgs(), GetGcodeForName(), CCSRABlobId::GetGeneralIdType(), GetGeneSyns(), CDbvarQualitySorter::GetGroupIdx(), CDbvarPilotSorter::GetGroupIdx(), CDbvarSamplesetTypeSorter::GetGroupIdx(), CDbvarValidationSorter::GetGroupIdx(), CGRCStatusSorter::GetGroupIdx(), CMacroEditorContext::GetGUIAuthorName(), CMacroEditorContext::GetGUIFieldName(), GetHasFrameShift(), CBarcodeTool::GetHasKeyword(), GetHasKeyword(), GetHasOrderAssignment(), CSeqIdGuesser::GetIdStrings(), GetIsLength(), CFeatList::GetItemByDescription(), CAutoDef::GetKeywordPrefix(), CSeq_featHandler::GetLabel(), CUserFeatHandler::GetLabel(), SrcEditDialog::GetLabelForTitle(), CCit_gen::GetLabelV1(), CUrlUtils::GetLastModified(), CGraphTrack::GetLegend(), CMacroFeatsOnSeqPanel::GetLocationConstraint(), GetLowTrace(), CApplyAuthorsTreeItemData::GetMacroDescription(), CSetExceptionsTreeItemData::GetMacroDescription(), CParseBsrcToStructCommTreeItemData::GetMacroDescription(), CSourceFieldNamePanel::GetMacroFieldName(), CMTreeItemDataBuilder::GetMActionType(), CMActionTree::GetMActionTypesForTarget(), ILayoutTrackFactory::GetMatchedAnnots(), CMacroFeatsOnSeqPanel::GetMatcher(), NMItemData::GetMemberNames(), CTableDataValidateParams::GetNamedBoolField(), CStructuredCommentField::GetObjects(), CTextDescriptorField::GetObjects(), CDBLinkField::GetObjects(), CUser_object::GetObjectType(), CTableDataBioTreeContainer::GetObjectValue(), CNSTServiceRegistry::GetProlongOnRead(), CNSTServiceRegistry::GetProlongOnRelocate(), CNSTServiceRegistry::GetProlongOnWrite(), SrcEditDialog::GetQualChoices(), CConvertFeatDlg::GetQualList(), CCommentItem::GetRefTrackStatus(), CUrlUtils::GetRemoteFileSize(), CBLASTParams::GetRepeatLib(), GetReplacementSeqIds(), NMItemData::GetResolveFuncForDestFeatQuals(), NMItemData::GetResolveFuncForGeneQuals(), NMItemData::GetResolveFuncForPubQual(), NMItemData::GetResolveFuncForPubQualConst(), NMItemData::GetResolveFuncForQual(), NMItemData::GetResolveFuncForSrcFeatQuals(), NMItemData::GetResolveFuncForStrCommQual(), NMItemData::GetResolveFuncForSwapFeatQuals(), CMacroEditorContext::GetRNAProductnames(), NMItemData::GetRNASpecificFields(), NMItemData::GetRNASpecificFieldsForTableReader(), CRNAFieldNamePanel::GetRnaType(), CDualRNAFieldNamePanel::GetRnaType(), NMacroUtil::GetRNAType(), CValidatorReportCfgDlg::GetSelected(), CCgiContext::GetSelfURL(), GetSeqIdProblems(), GetSeqTableFromSeqEntry(), CNSTServiceRegistry::GetServiceProperties(), CGraphOverlayFactory::GetSettings(), CGraphTrackFactory::GetSettings(), CSegmentMapTrackFactory::GetSettings(), CSequenceTrackFactory::GetSettings(), CSixFramesTransTrackFactory::GetSettings(), CTraceGraphTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), CVcfTrackFactory::GetSettings(), CCommentItem::GetStringForTLS(), CCommentItem::GetStringForTPA(), CCommentItem::GetStringForTSA(), CCommentItem::GetStringForWGS(), CStructCommentFieldPanel::GetStructCommentFields(), NMItemData::GetStructCommQualDescr(), CGC_Sequence::GetSubmitterName(), COrgMod::GetSubtypeValue(), CSubSource::GetSubtypeValue(), GetTargetedLocusName(), CT3Data::GetTaxFlags(), CTaxon1::GetTaxId4GI(), GetTaxonTag(), GetTitle(), CGuiObjectInfoVariant::GetToolTip(), CNSTServiceRegistry::GetTTL(), CPubFieldType::GetTypeForLabel(), CDBLinkFieldType::GetTypeForLabel(), CDBLinkField::GetTypeForLabel(), CGBBlockField::GetTypeForLabel(), CTaxon1::GetTypeMaterial(), NMacroUtil::GetUnverifiedType(), NMItemData::GetUpdatemRNADescription(), CAuthorizedAccessPanel::GetUser_object(), CInferencePanel::GetValue(), CEditingActionDescStatus::GetValue(), GetValueFromTable(), CStructuredCommentCommandConverter::GetValuesTableFromSeqEntry(), CApplyStrCommQualTreeItemData::GetVariables(), CSubmissionPrepMainPanel::GetWizardSrcTypeFromName(), GetWizardTypeFromName(), CSubPrep_panel::GuessWizardTypefromSeqEntry(), HasBadGenomeAssemblyName(), HasBadGenomeAssemblyPartial(), HasBadStartCodon(), HasBoolField(), HasContainedNote(), CSubSource::HasCultureNotes(), HasGeneIdXref(), HasHtc(), HasInternalStop(), HasIntField(), HasMisSpellFlag(), CT3Data::HasPlastids(), HasStringField(), HasUnpubWithoutTitle(), sequpd::HaveIdenticalResidues(), CSysLog::HonorRegistrySettings(), CUrlUtils::IfModifiedSince(), IMessageHandler::Ignore(), CTableDataBioTreeContainer::Init(), CSeqTableReader::Init(), CAutoDefOptions::InitFromUserObject(), CMacroInterpreter::InterpretDoFunctions(), IsBadSeqInstStrand(), IsBadSubmissionFirstName(), IsBadSubmissionLastName(), IsBankItSubmissionObject(), CDiscrepancyContext::IsBGPipe(), CSGFeatureDS::IsBigBed(), IsCancelled(), IsCommon(), CIntronGlyph::IsConsensus(), IsConsensusSplice(), CLatLonMap_Base::IsCountryInLatLon(), IsCrossKingdom(), CDBLinkField::IsDBLink(), IsExampleTableRowAcceptable(), IsFwdPrimerName(), IsFwdPrimerSeq(), CGenomeProjectField::IsGenomeProject(), CGenomeProjectField::IsGenomeProjectID(), pub_report::IsGenUnpublished(), CValidError_bioseq::IsHistAssemblyMissing(), CGb_qual::IsIllegalQualName(), CNewCleanup_imp::IsInternalTranscribedSpacer(), CNSTServiceRegistry::IsKnown(), IsKnownField(), IsKnownNonConsensusSplice(), CGoTermSortStruct::IsLegalGoTermType(), CFormatGuess::IsLineGvf(), CAutoDefFeatureClause::IsLTR(), IsMicroSatellite(), CLatLonMap_Base::IsNearLatLon(), CFieldChoicePanel::IsOneFieldProteinName(), IsOrgColumnName(), IsOrgModNoteName(), CRptTypePanel::IsParseable(), CMiscSeqTableColumn::IsProductField(), CDiscrepancyContext::IsPseudo(), CAutoDefFeatureClause::IsPseudo(), IsPseudo(), IsRevPrimerName(), IsRevPrimerSeq(), CEditingActionDescGenomeProjectId::IsSetValue(), CEditingActionDescStructCommDbName::IsSetValue(), COrgMod::IsStrainValid(), IsStrictConsensusSplice(), CComment_rule::IsStructuredComment(), COrgMod::IsStructuredVoucherValid(), IsSubSourceNoteName(), IsSynonymForFalse(), IsSynonymForTrue(), CValidError_imp::IsSyntheticConstruct(), CNewCleanup_imp::IsSyntheticConstruct(), IsTemporary(), CValidError_align::IsTpaAlignment(), CSGSequenceDS::IsTraceAssembly(), CCountries::IsValid(), CValidator::IsValidDbxref(), CSubSource::IsValidSubtypeName(), CSGFeatureDS::IsVcfTabix(), CSrcModCheckboxPanel::IsWellFormatted(), IsWizardObject(), CmRNACDSLinker::LinkByLabel(), CmRNACDSLinker::LinkByLabelAndLocation(), CMultiReader::LoadDescriptors(), CRulerPanel::LoadSettings(), LocusTagCheck(), CUser_object::CRefGeneTrackingAccession::MakeAccessionFromUserField(), CSeqTableGridPanel::MakeColumnReadOnly(), MakeMailReportPostReport(), CHttpCookie::Match(), MatchArrayIString(), CQualifierRequest::MatchTryValue(), MiscFeatsWithoutGene(), CEditingActionDescStructCommFieldName::Modify(), CGenericPropsPanel::ModifyPseudo(), CCountries::NewFixCountry(), CScanner::Next(), CScanner::NextASNSelector(), CScanner::NextNamedAnnot(), CProcessor::OffsetId(), CSelectFeatures::OnAccept(), CMacroPanelLoader::OnButtonClicked(), CSrcModListPanel::OnChangedTaxname(), CCompareWithBiosample::OnClickOk(), NMItemData::OnControlsAddRNAPanelSelected(), CBioseqEditor::OnCreateDescriptor(), CBioseqEditor::OnCreateRNA(), CPublicationTypePanel::OnDoiLookup(), NMItemData::OnExistingTextChanged(), CGeneralIDPanel::OnGeneralIDChoice(), CPublishedRefPanel::OnLookupClick(), NMItemData::OnProteinNameDouble(), NMItemData::OnProteinNameSingle(), CBarcodeTool::OnRemoveKeyword(), CValidatorReportCfgDlg::OnReportBtnClick(), NMItemData::OnRnaTypeChanged(), NMItemData::OnSelectFeature(), NMItemData::OnStructCommFieldChanged(), CAlignSort::SAlignExtractor::operator()(), CDoQueryTreeGetArgs::operator()(), CWhereQueryTreeGetArgs::operator()(), SCaseInsensitiveStrComp::operator()(), CSeq_id_Textseq_Info::TKey::operator==(), operator>>(), OwnerFromAffil(), CHttpCookie::Parse(), CCleanup::ParseCodeBreaks(), CHttpRetryContext::ParseHeader(), CGb_qual::ParseInferenceString(), STrackSettings::ParseSettings(), CGBQualPanel::PopulateGBQuals(), CExperimentListPanel::PopulateGBQuals(), CInferenceListPanel::PopulateGBQuals(), CCountryExtreme::PreferTo(), CBiosampleFieldDiff::Print(), CHTMLPageStat::PrintBegin(), PrintBioseqXML(), ProcessBulkBioSample(), CNewCleanup_imp::ProtFeatfBC(), CNewCleanup_imp::ProtrefBC(), CVariantDescriptors::PushBack(), CFieldHandler::QualifierNamesAreEquivalent(), QualifierNamesAreEquivalent(), ReadTimeSpan(), CHugeFileValidator::RegisterReaderHooks(), CDBLinkTableCommandConverter::RemapColumnName(), CMolInfoTableCommandConverter::RemapColumnName(), CPrimerTableCommandConverter::RemapColumnName(), RemoveAffilStreetEnd(), CSubSource::RemoveCultureNotes(), RemoveDiffByName(), CSeq_feat::RemoveExceptText(), RemoveHtgPhase(), CBioSource::RemoveNullTerms(), CQualListItemPanel::RemoveRepresentedQuals(), RemoveTaxId(), RemoveUnneededMiscFeats(), CFindASN1Dlg::ReplaceInOrg(), ReplaceStateAbbreviation(), pub_report::ReportOnePub(), pub_report::ReportTitleDiff(), pub_report::CUnpublishedReport::ReportUnpublished(), CEditingActionDescGenomeProjectId::ResetValue(), CEditingActionDescStructCommDbName::ResetValue(), CWGSClient::ResolveAcc(), CFeatureFilter::ResolveIdentifier(), ResolveSuppliedBioSampleAccession(), python::RetrieveStatementType(), CNewCleanup_imp::RnaFeatBC(), CNewCleanup_imp::RnarefBC(), s_AccessionEqual(), s_AreGoodPair(), CTrackMgrClient::s_Ask(), s_AuthorMatch(), s_BlankOrNotSpecialTaxname(), s_CheckPSGMethod(), s_CleanCDDFeature(), fix_pub::s_ConsortiaMatch(), CMacroFunction_ConvertLocStrand::s_ConvertLocationStrand(), CMacroFunction_ConvertLocType::s_ConvertLocationType(), s_DbtagIsBad(), s_DoUSAStateCleanup(), s_FastaGetOriginalID(), s_FieldHasLabel(), CFeatureFieldNamePanel::s_FillFeatQualList(), s_FindInMapAsPrefix(), s_FindInSetAsPrefix(), s_FindKeyFromFeatDefType(), ApplyCDSFrame::s_FindMatchingFrame(), CMacroFunction_ApplyCDSFrame::s_FindMatchingFrame(), CMacroFunction_FixPubCaps::s_FixCapitalizationInCountryString(), IAuthorEditor::s_FixInitialsNew(), s_FixncRNA(), s_FixQualCapitalization(), s_GbQualEqual(), CSingleFeatValidator::s_GeneRefsAreEquivalent(), s_GetBiomolValuesFromName(), NSearchFeatPanel::s_GetFeatureLabel(), s_GetFeatureSubtypeFromString(), s_GetFileSystemInfo(), CMacroFunction_ApplyCDSFrame::s_GetFrameFromName(), ApplyCDSFrame::s_GetFrameFromName(), CApplyStrCommTableTreeItemData::s_GetFunction(), s_GetImpLabel(), CMacroFunction_EditStringQual::s_GetLocFromName(), CFeatureFieldNamePanel::s_GetMacroFieldName(), CCDSGeneProtFieldNamePanel::s_GetMacroFieldName(), s_GetMActionTypesForCDSGeneProt(), s_GetMActionTypesForMisc(), s_GetMActionTypesForMolinfo(), s_GetMActionTypesForRna(), s_GetMActionTypesForTarget(), CMacroMatcherPanelBase::s_GetMatcherPanels(), s_GetOriginalID(), s_GetOriginalId(), s_GetProteinNameFromXrefOrQual(), s_GetPubmedDate(), CUnculturedTool::s_GetRank(), s_GetSpliceSite(), CMacroFunction_ConvertLocStrand::s_GetStrandFromString(), s_GetStrForStructuredComment(), s_GetTitle(), s_HasNamedQual(), s_HasRefSeqPGAPStructuredComment(), s_HideTPAPrimary(), s_IdXrefsNotReciprocal(), s_InitializeECNumberMaps(), s_IsAllowedPrefix(), CUnculturedTool::s_IsAmbiguous(), s_IsAsmAccEquiv(), s_IsAssemblyMethodValid(), s_IsBadMethod(), s_IsBool(), s_IsDifferentDbxrefs(), s_IsLocDirSub(), s_IsNonText(), CCleanup::s_IsProductOnFeat(), CValidError_imp::s_IsSalmonellaGenus(), s_IsSameSeqAnnot(), s_IsSkippableDbtag(), CMacroFunction_StringConstraints::s_IsStringMatching(), s_IsSuppressField(), s_IsTPA(), s_IsTpa(), s_IsUndefinedSpecies(), s_IsValidDirection(), s_IsValidnConsSplice(), CTableReaderMacro::s_LooksLikeHeader(), s_Matches(), s_MatchesFieldName(), s_MatchInfoMatches(), s_NormalizeTokens(), s_NotPeptideException(), CUnculturedTool::s_OrganismNotFound(), s_OrgModEqual(), s_OrgrefEquivalent(), s_OrgrefSynEqual(), s_ParseDateTime(), s_ParseSeqFeatTRnaString(), s_PCRSetEqual(), s_ProcessAddMasterDescr(), CWhereQueryTreeGetArgs::s_RefersToField(), CMacroFunction_RemoveQual::s_RemoveFields(), s_ReportableCollision(), s_ResolveFieldsOfChoice(), s_RnaPosition(), s_SearchInSeqText(), s_SetDBLinkFieldVals(), s_SetFieldsOfChoice(), CCleanup::s_SetProductOnFeat(), s_SetProtRef(), s_ShouldBeMerged(), s_ShouldIgnoreStructuredCommentFieldDiff(), s_ShouldRemoveRef(), s_ShouldUseOriginalID(), s_SortShorttRNAs(), s_SpecialRemove(), s_StandardizeNomenclature(), s_StartsWithNcrnaName(), s_StringHasSubSourcePrefix(), s_StringsAreEquivalent(), s_SubsourceEqual(), s_SuppressMultipleEquivBioSources(), s_TitleMatch(), s_TopologyFromName(), s_UpdateTarget(), s_ValidateAcc(), CAuth_list::SameCitation(), ScannGeneName(), SeqDB_SimplifyAccession(), SeqTableFromAssemblyFields(), CSeq_id::Set(), CRawSeqToDeltaByNPanel::SetAssemblyParams(), CSeqTableGridPanel::SetColumnSizesAndChoices(), CGenbankKeywordField::SetConstraint(), CMacroPanelLoader::SetCtrlValue(), CApplyStructCommentTreeItemData::SetData(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), IAddGapsInfo::SetData(), CUpdateProteinsTreeItemData::SetData(), CTableDataValidate::SetErrCode(), CSingleQualPanel::SetField(), CFeatureTypePanel::SetFieldName(), CSourceFieldNamePanel::SetFieldName(), CStructCommentFieldPanel::SetFieldName(), CMacroFeatsOnSeqPanel::SetMatcher(), CMacroLocationConstraintPanel::SetMatcher(), CMacroAdvStringConstraintPanel< T >::SetMatcher(), CCleanup::SetMrnaName(), CTableDataValidateParams::SetNamedBoolField(), CRNAFieldNamePanel::SetRnaType(), CDualRNAFieldNamePanel::SetRnaType(), CSGFeatureJob::SetSortBy(), CSubmissionPrepMainPanel::SetSourceType(), SetSubSource(), CValidError_imp::Setup(), CUrl::SetUrl(), CAuthorizedAccessPanel::SetUser_object(), CRefGeneTrackingPanel::SetUser_object(), CSrcModCheckboxPanel::SetValue(), CEditingActionDescUserObject::SetValue(), CEditingActionDescStructCommDbName::SetValue(), CEditingActionDescStatus::SetValue(), CEditingActionFeatPseudo::SetValue(), CEditingActionFeatPartial::SetValue(), CInferencePanel::SetValue(), CSingleExperimentPanel::SetValue(), CRptTypePanel::SetValue(), CSubPrep_panel::SetWizardType(), CBioSource::ShouldIgnoreConflict(), CNewCleanup_imp::SiteFeatBC(), SkipWeasel(), SortGBQuals(), SPFeatGeneral(), SpProcFeatBlk(), CHydraServer::start_element(), CPMCIDConverterServer::start_element(), StringMatchIcase(), NMacroUtil::StringsAreEquivalent(), CEnumParser< TEnum, TParam >::StringToEnum(), NMacroUtil::SwapGbQualWithValues(), fix_pub::TenAuthorsProcess(), CMacroFunction_ParsedText::TheFunction(), CMacroFunction_FixFormat::TheFunction(), CMacroFunction_ConvertFeature::TheFunction(), CMacroFunction_RemoveGeneXref::TheFunction(), CMacroFunction_ApplyCDS::TheFunction(), CMacroFunction_LocationType::TheFunction(), CMacroFunction_SetPubAuthor::TheFunction(), CSequencingTechnologyPanel::TransferDataToWindow(), CSingleAssemblyTrackingPanel::TransferDataToWindow(), CSingleRefGeneTrackLocPanel::TransferDataToWindow(), CSingleAuthorPanel::TransferDataToWindow(), CncRNASubPanel::TransferDataToWindow(), CStructuredCommentPanel::TransferDataToWindow(), CUnculTaxTool::TrimSuggestions(), TypeFromLabel(), CGBQualPanel::Update_tRNA_ProductQual(), CChimeraPanel::UpdateChimera(), NMItemData::UpdateConstraintsForFeatures(), NMItemData::UpdateConstraintsForMisc(), CSingleFieldPanel< CCDSGeneProtFieldNamePanel >::UpdateMRNAbutton(), CDualFieldPanel< CCDSGeneProtFieldNamePanel >::UpdateMRNAbutton(), CSingleFieldPanel< CCDSGeneProtFieldNamePanel >::UpdateRetranslateCds(), CDualFieldPanel< CCDSGeneProtFieldNamePanel >::UpdateRetranslateCds(), CGeneModelConfig::UpdateSettings(), CEditMolinfoFieldsTreeItemData::UpdateTarget(), CRemoveDescrTreeItemData::UpdateTarget(), NMItemData::UpdateTargetForMisc(), NMItemData::UpdateTargetForMolinfo(), NMItemData::UpdateTargetForRnas(), CSubPrepFieldEditor::UpdateValues(), CBioSource::UpdateWithBioSample(), CGeneValidator::Validate(), CGapFeatValidator::Validate(), CImpFeatValidator::Validate(), CValidError_imp::ValidateAuthorList(), CValidError_imp::ValidateAuthorsInPubequiv(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_imp::ValidateCitations(), CValidError_bioseq::ValidateCompleteGenome(), CValidError_desc::ValidateDblink(), CValidError_imp::ValidateDbxref(), CValidError_bioseq::ValidateGBBlock(), CValidError_feat::ValidateInferenceAccession(), CSubSource::ValidateLatLonCountry(), CValidError_bioseq::ValidateMolInfoContext(), CValidError_imp::ValidateMultipleTaxIds(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidateOrgRef(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_descr::ValidateSeqDescr(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_bioseq::ValidateSeqIds(), CValidError_imp::ValidateSubmitBlock(), CValidError_desc::ValidateUser(), CVDBBlastUtil::VDBIdType(), CCgiApplication::VerifyCgiContext(), CCountries::WasValid(), CCleanup::WGSCleanup(), CCountries::WholeCountryFix(), CCgiResponse::WriteHeader(), CSequenceUpdater::x_AddCitSubToUpdatedSequence(), CFeatureItem::x_AddQualExceptions(), CBulkOtherAddPanel::x_AddQuals(), CAlignOtherAddPanel::x_AddQuals(), CSatelliteColumn::x_AddSatelliteName(), CSatelliteColumn::x_AddSatelliteType(), CAutoDefModifierCombo::x_AddSubsourceString(), CSrcModListPanel::x_AddTextSrcMods(), CFeatGapInfo::x_AdjustOrigLabel(), x_AdjustOrigLabel(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), COrgAdvancedPanel::x_ApplyChangesToSource(), CSourceModParser::x_ApplyMods(), CFixAffilCap::x_ApplyToCAffil(), IEditMacroFunction::x_AssignReturnValueFromContainer(), CGenbankFormatter::x_Authors(), CMacroInterpreter::x_AutodefCompleteValidateArgs(), CMacroInterpreter::x_AutodefValidateArgs(), CMacroFunction_StringConstraints::x_BuildNoCaseStringConstraint(), CSubSource::x_CalculateLatLonId(), CBulkOtherAddPanel::x_ChangeFeatureType(), CAlignOtherAddPanel::x_ChangeFeatureType(), CNewCleanup_imp::x_ChangeInsertionSeqToMobileElement(), CNewCleanup_imp::x_ChangeTransposonToMobileElement(), CMacroFunction_StringConstraints::x_CheckAuthorNames(), CMacroFunction_StringConstraints::x_CheckConstraintWithinClass(), CValidError_bioseq::x_CheckForMultipleComments(), CValidError_bioseq::x_CheckOrigProteinAndTranscriptIds(), CValidError_bioseq::x_CheckSingleStrandedRNAViruses(), CMacroFunction_StringConstraints::x_CheckStringConstraint(), CUnculturedTool::x_CheckSuggestedFix(), CSourceFieldNamePanel::x_ChooseTextQualifier(), CNewCleanup_imp::x_CleanEmptyFeature(), CFeatureItem::x_CleanQuals(), CSatelliteColumn::x_ClearSatelliteSubFields(), CSrcModListPanel::x_CollectTextMods(), CValidError_bioseq::x_CompareStrings(), CMacroInterpreter::x_ConvertCDSValidateArgs(), CMacroInterpreter::x_ConvertFeatQualValidateArgs(), CMacroInterpreter::x_ConvertFeatureValidateArgs(), CTaxon1::x_ConvertOrgrefProps(), CMacroInterpreter::x_ConvertRNARelQualValidateArgs(), CMacroInterpreter::x_ConvertStringQualValidateArgs(), CGBDataLoader_Native::x_CreateDriver(), CMacroBioData::x_CreateNonFeatIterator(), CVCFVariantsBase::x_DeserializeColumn(), CValidError_imp::x_DowngradeForMissingAffil(), CMacroFunction_EditStringQual::x_EditFields(), CMacroInterpreter::x_EditSubfieldValidateArgs(), CtRNAProductPanel::x_EnableInitiatorSelection(), CRNAFieldNamePanel::x_EnableNcRnaClass(), CDualRNAFieldNamePanel::x_EnableNcRnaClass(), CSeq_id_Textseq_Tree::x_Equals(), CSeq_id_Textseq_Tree::x_Erase(), CNewCleanup_imp::x_ExceptTextEC(), CNewCleanup_imp::x_ExpandCombinedQuals(), CConvertFeatureBase::x_ExtractQuals(), CGeneModelFeatJob::x_FilterStrToValue(), CHttpCookies::x_Find(), SrcEditDialog::x_FindColumn(), CLatLonMap_Base::x_FindCountryExtreme(), CMacroInterpreter::x_FindFeatureType(), CSeq_id_Textseq_Tree::x_FindMatchByAcc(), CSeq_id_Textseq_Tree::x_FindMatchByName(), CSeq_id_Textseq_Tree::x_FindRevMatchByAccNonPacked(), CSeq_id_Textseq_Tree::x_FindStrInfo(), CMacroEditingActionPanel::x_FindText(), CMacroFunction_FixPubCaps::x_FixCapsInPubAffilCountry(), CNewCleanup_imp::x_FixStructuredCommentKeywords(), CSearch_func::x_FollowedByFamily(), CValidErrorFormat::x_FormatECNumberForSubmitterReport(), CFeatureItem::x_FormatGOQualCombined(), CAlignFilter::x_FuncCall(), CSequenceUpdater::x_FuseFeatures(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), CFlatGatherer::x_GatherFeaturesOnWholeLocationIdx(), CLocalIdComment::x_GatherInfo(), CSourceFeatureItem::x_GatherInfo(), CGenomeProjectItem::x_GatherInfo(), CKeywordsItem::x_GatherInfo(), CGenbankGatherer::x_GatherTLS(), CGenbankGatherer::x_GatherTSA(), CNewCleanup_imp::x_GeneGBQualBC(), x_GetAccountNameBySid(), CMacroBioData::x_GetAnnotSelector(), CMacroEditorContext::x_GetAsnPathToAllBsrc(), CMacroEditorContext::x_GetAsnPathToBsrcTax(), CMacroEditorContext::x_GetAsnPathToBsrcText(), CMacroEditorContext::x_GetAsnPathToCDS(), CMacroEditorContext::x_GetAsnPathToFeatQuals(), CMacroEditorContext::x_GetAsnPathToMiscDescr(), CMacroEditorContext::x_GetAsnPathToMiscFields(), CMacroEditorContext::x_GetAsnPathToMolinfo(), CMacroEditorContext::x_GetAsnPathToRnaFieldName(), CAssemblyInfo::x_GetAssmInfo(), COrgName::x_GetAttribFlag(), CMacroEditorContext::x_GetBsrcTextFieldnames(), CCommandArgDescriptions::x_GetCommandGroupIndex(), CSubSource::x_GetDateTokens(), CAutoDefFeatureClause::x_GetExonDescription(), CAutoDef::x_GetFeatureClauses(), CStructuredCommentPanel::x_GetFields(), CFeat_qual_choice::x_GetFirstGBQualMatch(), CTableReaderMacro::x_GetFunction(), CEditMolinfoFieldsTreeItemData::x_GetFunctionFor(), CArgDescriptions::x_GetGroupIndex(), CMacroEditorContext::x_GetGUIFieldForCDS(), CMacroEditorContext::x_GetGUIFieldForGene(), CAutoDef::x_GetHumanSTRFeatureClauses(), CAutoDef::x_GetHumanSTRv2FeatureClauses(), CTableReaderMacro::x_GetIterator(), CTableReaderMacro::x_GetMatchFieldConstraint(), CMacroFunction_UpdateProteinSeqs::x_GetMatchType(), CNAUtils::x_GetNAIds(), CAutoDefNcRNAClause::x_GetProductName(), CModifySeqId::x_GetRemoveOriginalIdCommand(), CSatelliteColumn::x_GetSatelliteName(), CSatelliteColumn::x_GetSatelliteType(), CSeqTechDlg::x_GetSeqTechUserFromSeqEntry(), CSnpTrackFactory::x_GetSettings(), CFeatureTrackFactory::x_GetSettings(), CVarTrackFactory::x_GetSettings(), CMacroFunction_ParsedText::x_GetSpecialField(), CMacroFunction_FeatStrandednessConstraint::x_GetStrandednessFromName(), CPrimaryItem::x_GetStrForPrimary(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CMacroEngineParallel::x_GetThreadCount(), CCDSTranslationProblems::x_GetTranslExceptProblems(), CGeneCache::x_HasNamedQual(), x_HasNamedQual(), CSingleFeatValidator::x_HasNamedQual(), CValidError_bioseq::x_HasPGAPStructuredComment(), CAdjustForConsensusSpliceSite::x_HasProteinChanged(), CAdjustForConsensusSpliceSite::x_HasProteinChangedAt3End(), CAdjustForConsensusSpliceSite::x_HasProteinChangedAt5End(), CSeq_id::x_IdentifyTypeVariant(), CReferenceItem::x_Init(), CSeq_id::x_Init(), CHttpRequest::x_InitConnection(), CBioseqIndex::x_InitDescs(), CBioseqIndex::x_InitSource(), CMacroInterpreter::x_InsertFeatureType(), CStructuredCommentField::x_InsertFieldAtCorrectPosition(), CStructCommFieldValuePair::x_InsertFieldAtCorrectPosition(), CMiscSeqTable::x_InterpretColumnProperties(), x_IsCDDBlob(), CNewCleanup_imp::x_IsCommentRedundantWithEC(), CMacroFunction_IsPresent::x_IsContainerElementPresent(), CSingleAssemblyTrackingPanel::x_IsControlled(), CSingleRefGeneTrackLocPanel::x_IsControlled(), CRefGeneTrackingPanel::x_IsControlledField(), CAssignQueryTreeGetArgs::x_IsDBLinkField(), CGeneModelFeatJob::x_IsDbref(), CPSGS_CDDProcessor::x_IsEnabled(), CPSGS_SNPProcessor::x_IsEnabled(), CPSGS_WGSProcessor::x_IsEnabled(), CAdjustFeaturesForGaps::x_IsFeatureTypeSelected(), CAutoDef::x_IsHumanSTR(), CSatelliteTypeNameColumn::x_IsQualAMatch(), CCgiContext::x_IsSecure(), CSeqTechDlg::x_IsSpecialTech(), CAssignQueryTreeGetArgs::x_IsStructCommField(), CUserFieldListPanel::x_IsTPA(), CRefGeneTrackFieldManager::x_IsTypeString(), CGraphTrack::x_LayoutStrToValue(), CGraphOverlay::x_LoadSettings(), CSnpTrack::x_LoadSettings(), CEpigenomicsTrack::x_LoadSettings(), CGraphTrack::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CTraceGraphTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), CTL_Connection::x_LoadTextPtrProcs(), CMacroInterpreter::x_LocationTypeValidateArgs(), CSeqTableGridPanel::x_MakeProblemsColumnReadOnly(), CValidatePanel::x_MatchFilter(), CTableDataValidate::x_MatchFilter(), CBlastDBCmdApp::x_ModifyConfigForBatchEntry(), x_OkayToAddKeyword(), CNewCleanup_imp::x_OrgnameModBC(), CMacroInterpreter::x_ParseFieldFromRTVar(), CFeatureTrack::x_ParseSettings(), CIntronTrack::x_ParseSettings(), CVcfTrack::x_ParseSettings(), CMacroVarAsk::x_ParseString(), CMacroInterpreter::x_ParseToStructCommValidateArgs(), CNewCleanup_imp::x_PCRPrimerSetBC(), CNewCleanup_imp::x_PostBiosource(), CMacroInterpreter::x_PostProcessAddFeature(), CMacroInterpreter::x_PostProcessAddStructComment(), CMacroInterpreter::x_PostProcessApplyQualifierTable(), CMacroInterpreter::x_PostProcessConvertSetClass(), CMacroInterpreter::x_PostProcessEditMolinfo(), CMacroInterpreter::x_PostProcessRmvDbxref(), CMacroInterpreter::x_PostProcessSetException(), CCgiApplication::x_ProcessAdminRequest(), CAssignQueryTreeGetArgs::x_ProcessFunction(), CCorrectRNAStrandDlg::x_ProcessRNAStrandLine(), CNetStorageHandler::x_ProcessSetExpTime(), CNewCleanup_imp::x_ProtGBQualBC(), CAlignFilter::x_Query_Op(), IRWRegistry::x_Read(), CCgiEntryReaderContext::x_ReadMultipartHeaders(), CNewCleanup_imp::x_RemoveEmptyUserObject(), CMacroInterpreter::x_RemoveModifierValidateArgs(), CNewCleanup_imp::x_RemoveProtDescThatDupsProtName(), CMacroInterpreter::x_RemoveQualValidateArgs(), CMacroInterpreter::x_RemoveSubfieldValidateArgs(), CValidError_bioseq::x_ReportLineageConflictWithMol(), CSingleFeatValidator::x_ReportPseudogeneConflict(), CCdregionValidator::x_ReportTranslationProblems(), COrgName::x_ResetAttribFlag(), CMacroInterpreter::x_RmvDescrValidateArgs(), CDBLBClientApp::x_RunWhereIs(), CNewCleanup_imp::x_SeqFeatCDSGBQualBC(), CNewCleanup_imp::x_SeqFeatRnaGBQualBC(), CBioseqContext::x_SetAuthorizedAccess(), CDeflineGenerator::x_SetBioSrc(), CMacroFunction_ConvertFeature::x_SetConvertOptions(), CBioseqContext::x_SetDataFromUserObjects(), CMacroInterpreter::x_SetDateFieldValidateArgs(), CDescrModApply::x_SetDBLinkFieldVals(), CSubPrepFieldEditor::x_SetEditorControls(), CBioseqContext::x_SetEncode(), CExperimentListPanel::x_SetExperiments(), CMacroFunction_ParseToStructComm::x_SetFieldType(), CBioseqContext::x_SetFiletrackURL(), CDeflineGenerator::x_SetFlags(), CInferenceListPanel::x_SetInferences(), CAutoDefOptions::x_SetModifierList(), CSubPrepFieldEditor::x_SetOneValue(), CRefGeneTrackingPanel::x_SetStatus(), CDescrModApply::x_SetSubtype(), CDeflineGenerator::x_SetSuffix(), CAutoDefOptions::x_SetSuppressedFeatures(), CBioseqContext::x_SetTaxname(), CDeflineGenerator::x_SetTitleFromNM(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CDataLoadersUtil::x_SetupASNCacheDataLoader(), CAutoDefFeatureClause::x_ShowTypewordFirst(), CAutoDefFeatureClause_Base::x_tRNAGeneFromProduct(), CDescrModApply::x_TryBioSourceMod(), CUnculturedTool::x_TryRankFix(), CFeatureTableReader_Imp::x_TryToParseOffset(), CFlatGatherer::x_UnorderedComments(), CMacroPanelLoader::x_UpdateCtrlsOnChoiceSelChange(), CMacroPanelLoader::x_UpdateCtrlsOnRdButtonChange(), CMacroInterpreter::x_UpdateFieldsForMatPeptide(), CRequestContext::x_UpdateStdContextProp(), CRequestContext::x_UpdateStdPassThroughProp(), x_ValidAminoAcid(), CValidError_bioseq::x_ValidateBarcode(), CSingleFeatValidator::x_ValidateExceptText(), CSingleFeatValidator::x_ValidateGbQual(), CSingleFeatValidator::x_ValidateGbquals(), CSingleFeatValidator::x_ValidateGeneId(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateLocusTagGeneralMatch(), CMRNAValidator::x_ValidateMrna(), CSingleFeatValidator::x_ValidateNonImpFeat(), CSingleFeatValidator::x_ValidateOldLocusTag(), CCdregionValidator::x_ValidateParentPartialness(), CProtValidator::x_ValidateProteinName(), CValidError_bioseq::x_ValidatePubFeatures(), CCdregionValidator::x_ValidateQuals(), CSingleFeatValidator::x_ValidateReplaceQual(), CSingleFeatValidator::x_ValidateSeqFeatLoc(), CSingleFeatValidator::x_ValidateSeqFeatProduct(), CValidError_bioseq::x_ValidateSourceFeatures(), xCheckEstStsGssTpaKeywords(), CBedColumnData::xCleanColumnValues(), CBedReader::xCleanColumnValues(), CMicroArrayReader::xCleanColumnValues(), CSrcWriter::xGetOriginalId(), XMLRefs(), and CAlnScannerNexus::xProcessDimensions().
|
inlinestatic |
Case-insensitive equality of a substring with another string.
s1 | String containing the substring to be compared. |
pos | Start position of substring to be compared. |
n | Number of characters in substring to be compared. |
s2 | String to be compared with substring. |
Definition at line 5353 of file ncbistr.hpp.
References NStr::CompareNocase(), n, and CTempString::substr().
|
inlinestatic |
Case-insensitive equality of two strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5369 of file ncbistr.hpp.
References NStr::CompareNocase(), and CTempString::length().
Return TRUE if s1 == s2.
Definition at line 5827 of file ncbistr.hpp.
References Compare().
Referenced by PEqualNocase_Generic< T >::operator()().
|
inline |
Return TRUE if s1 == s2.
Definition at line 5865 of file ncbistr.hpp.
References Compare().
Referenced by PEqualNocase_Conditional_Generic< T >::operator()().
|
inline |
Truncate the string at some specified position Note: basic_string<> supports additional erase() options that we do not provide here.
Definition at line 514 of file tempstr.hpp.
References CTempString::m_Length.
Referenced by CFlatXrefQVal::Format(), g_FixMisplacedPID(), SAccGuide::x_SplitSpecial(), and CUCSCRegionReader::xSmartFieldSplit().
|
static |
Escape string (generic version).
Prefix any occurrences of the metacharacters with the escape character.
str | The string to be escaped. @metacharacters List of characters that need to be escaped. Use NStr::Join() if you have metacharacters in list<>, vector<> or set<>. |
escape_char | Character used for escaping metacharacters. Each metacharacter will be replaced with pair "escape_char + metacharacter". Each escape character will be replaced with pair "escape_char + escape_char". |
Definition at line 3843 of file ncbistr.cpp.
Check that the character is valid first byte of an UTF8 byte sequence.
ch | Character |
more | Number of additional bytes to expect |
Definition at line 4154 of file ncbistr.hpp.
References CUtf8::x_EvalFirst().
Referenced by CObjectIStreamAsn::AppendStringData(), CObjectIStreamAsnBinary::FixVisibleChars(), CObjectIStreamAsn::ReadChars(), and CObjectIStreamAsn::SkipString().
Check that the character is valid continuation byte of an UTF8 byte sequence.
ch | Character |
Definition at line 4164 of file ncbistr.hpp.
References CUtf8::x_EvalNext().
|
static |
Check buffer for presence of UTF-8 byte sequence and return length of first symbol.
src | Character buffer |
Definition at line 7102 of file ncbistr.cpp.
Referenced by CObjectOStreamAsn::WriteChars(), CObjectOStreamAsnBinary::WriteChars(), CObjectOStreamAsnBinary::WriteCString(), CObjectOStreamAsn::WriteString(), and CObjectOStreamAsnBinary::WriteString().
|
inline |
Find the first instance of a given character string within the current string in a forward direction, beginning at an optional offset.
Definition at line 640 of file tempstr.hpp.
References i, CTempString::length(), CTempString::m_String, match(), and CTempString::npos.
|
inline |
Find the first instance of the entire matching string within the current string, beginning at an optional offset.
Definition at line 655 of file tempstr.hpp.
References CTempString::begin(), CTempString::CTempString(), CTempString::find_first_of(), CTempString::length(), match(), and CTempString::npos.
Referenced by SAccGuide::AddRule(), CEndpointKey::CEndpointKey(), CSeqTableSetAnyObjField::CSeqTableSetAnyObjField(), DoesSingleStringMatchConstraint(), g_IsDataFileOld(), CDictionaryUtil::GetMetaphone(), CCgiContext::GetSelfURL(), CSeq_id::IdentifyAccession(), make_server(), variation::Ncbieaa2HgvsAA(), CWGSDb_Impl::NormalizePathOrAccession(), CMaskFromFasta::ParseDataLine(), CFastaReader::ParseGapLine(), ParseTrack(), CAltValidator::ProcessQueue(), python::RetrieveStatementType(), s_EncodeMetadataName(), s_EndsWithStrain(), s_ParseFastaIdString(), s_ParseOSGBlob(), s_ProcessECNumberLine(), NStr::Sanitize(), variation::SeqsMatch(), CSeq_id::Set(), SkipCommentAndBlank(), CSeqFeatData::SubtypeValueToName(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), CSourceModParser::x_ApplyMods(), CDeflineGenerator::x_DescribeClones(), CDiff::x_Diff(), CDiff::x_DiffHalfMatchI(), CLatLonMap_Base::x_InitFromFile(), CDB_Numeric::x_MakeFromString(), CString_constraint::x_MatchFound(), CShortReadFastaInputSource::x_ParseDefline(), CFastaDeflineReader::x_ProcessIDs(), CCorrectRNAStrandDlg::x_ProcessRNAStrandLine(), CShortReadFastaInputSource::x_ReadFastc(), CFeature_table_reader::x_ReadFeatureTable(), CNCActiveHandler::x_ReadHttpDataPrefix(), CNCActiveHandler::x_ReadSizeToRead(), CDeflineGenerator::x_SetTitleFromBioSrc(), CDeflineGenerator::x_SetTitleFromGPipe(), CDeflineGenerator::x_SetTitleFromMap(), CDeflineGenerator::x_SetTitleFromNC(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CDeflineGenerator::x_SetTitleFromWGS(), CRegexpTemplateTester::x_SubstituteVars(), and CFeatureTableReader_Imp::x_TokenizeStrict().
|
static |
Find the pattern in the string.
str | String to search. |
pattern | Pattern to search for in "str". |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while searching for the pattern. |
direction | Define a search direction of the requested "occurrence" of "pattern" in "str". |
occurrence | Which occurrence of the pattern in the string to use (zero-based). NOTE: When an occurrence is found the next occurrence will be searched for starting right *after* the found pattern. |
Definition at line 2882 of file ncbistr.cpp.
Referenced by CBlkEdtFeatLocationPanel::AddCommand(), AddDefaultSentinelFeats(), AddExceptionsToShortIntron(), MoleculeIdentifier::AddFields(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), AddMiscRNAFeatures(), CCleanup::AddPartialToProteinTitle(), CAutoDefSourceDescription::AddQual(), CSpecificHostRequest::AddReply(), CPCRSetList::AddRevName(), CPCRSetList::AddRevSeq(), COrgMod::AddStructureToVoucher(), CSrcTaxnameAfterBinomialColumn::AddToBioSource(), CReportTrim::AdjustAndTranslate(), AdjustBacterialGeneForCodingRegionWithShortIntron(), CCDSTranslationPanel::AdjustForStopCodonHyperlinkClicked(), AdjustSingleFeature(), AnalyzeField(), CExpansionRule::ApplyRule(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), CCorrectIntervalOrder::ApplyToCSeq_entry(), variation_ref::CHgvsParser::AsVariationFeat(), CFieldChoicePanel::AutoMatchFeat(), CFieldChoicePanel::AutoMatchRNA(), CNewCleanup_imp::BiosourceBC(), BOOST_AUTO_TEST_CASE(), variation::CalcInstTypeForAA(), CAutoDefFeatureClause::CAutoDefFeatureClause(), CAutoDefGeneClusterClause::CAutoDefGeneClusterClause(), CAutoDefIntergenicSpacerClause::CAutoDefIntergenicSpacerClause(), CAutoDefMiscCommentClause::CAutoDefMiscCommentClause(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefParsedIntergenicSpacerClause::CAutoDefParsedIntergenicSpacerClause(), CAutoDefParsedRegionClause::CAutoDefParsedRegionClause(), CAutoDefSatelliteClause::CAutoDefSatelliteClause(), CCountryExtreme::CCountryExtreme(), CSubSource::CheckDateFormat(), CPrimerTableCommandConverter::CheckForMixedValues(), CComment_rule::CheckGeneralFieldName(), CComment_rule::CheckGeneralFieldValue(), CGb_qual::CleanupRptUnitRange(), CSrcTaxnameAfterBinomialColumn::ClearInBioSource(), CMiscSeqTableColumn::CMiscSeqTableColumn(), ContainsSgml(), CConvertMiscFeatToGene::Convert(), CConvertImpToProt::Convert(), CSeq_inst::ConvertDeltaToRaw(), CCountries::CountryFixupItem(), CProjectStorage::CProjectStorage(), CSrcTableColumnBaseFactory::Create(), CFeatureSeqTableColumnBaseFactory::Create(), CSeqIdGuesser::CSeqIdGuesser(), CSubSource::DateFromCollectionDate(), CConvertCdsToMiscFeat::DetectStartStopCodons(), CShowBlastDefline::DisplayBlastDefline(), CStringConstraint::DoesTextMatch(), CNewCleanup_imp::Except_textBC(), CCmdCreateCDS::Execute(), CPatternStats::ExpandPattern(), CReportNode::Export(), CName_std::ExtractSuffixFromLastName(), CGlTextureFont::FaceFromString(), NStr::Find(), CSeqTranslator::FindBestFrame(), CSelectTargetDlg::FindBioseq(), NStr::FindCase(), COrgMod::FindInstitutionCode(), NStr::FindNoCase(), CDesktopItem::FindSearchItem(), CLocalFileRestorer::FindSMARTPrjTextView(), FindWithOptions(), CBioSource::FixEnvironmentalSample(), FixOrgNames(), CCleanup::FixRNAEditingCodingRegion(), COrgMod::FixStructuredVoucher(), FixTextInObject(), CDiscrepancySet::Format(), CFlatTrnaCodonsQVal::Format(), CGenbankFormatter::FormatCache(), CGenbankFormatter::FormatComment(), CGBSeqFormatter::FormatFeature(), g_FixMisplacedPID(), g_GetWorkerNodes(), g_WorkerNodeInfoToJson(), CNewCleanup_imp::GBQualSeqFeatBC(), IEditingAction::GetActionCommand(), GetCitBook(), GetCitBookOld(), CAddGlobalCodeBreak::GetCommand(), CAddSecondary::GetCommand(), CConvertCdsToMiscFeat::GetCommand(), CExtendCDSToStop::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CFixForTransSplicing::GetCommand(), CFuseFeaturesDlg::GetCommand(), CTruncateCDS::GetCommand(), CRetranslateCDS::GetCommand(), CEditCdsFrame::GetCommand(), GetDescAlternateEmailAddress(), CValidErrorFormat::GetDescriptorContent(), CBioSource::GetDisableStrainForwarding(), CEditObjectSeq_feat::GetEditCommand(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CFieldChoicePanel::GetFieldName(), CFileSubpanel::GetFilename(), GetGenBankRefType(), CAlignFormatUtil::GetGiLinksList(), CSeqIdGuesser::GetIdStrings(), GetIsStructuredVoucher(), SrcEditDialog::GetLabelForTitle(), CFeatureGenePanel::GetLocationForGene(), CAutoDefFeatureClause_Base::GetMiscRNAElements(), CGb_qual::GetMobileElementValueElements(), CFastaBioseqSource::GetNext(), CCleanup::GetNormalizableGeneQualPairs(), CValidError_feat::GetPrefixAndAccessionFromInferenceAccession(), CDoiLookup::GetPubFromCrossRef(), GetReportFromMailReportTable(), NMItemData::GetResolveFuncForApplyAuthors(), NMItemData::GetResolveFuncForDestCdsGeneProtQuals(), NMItemData::GetResolveFuncForDestFeatQuals(), CRemoteBlast::GetResultSet(), GetSortOrderId(), CAutoDefModifierCombo::GetSourceDescriptionString(), GetTargetedLocusName(), CAutoDefFeatureClause_Base::GetTrnaIntergenicSpacerClausePhrases(), CInferencePanel::GetValue(), CPrimerTableCommandConverter::GetValuesTableFromSeqEntry(), CVDBBlastUtil::GetVDBSeqIdFromOID(), CGencollIdMapper::Guess(), CCleanupApp::HandleSeqEntry(), CValidError_imp::HandleTaxonomyError(), HasBadCharacter(), HasCultureCollectionForATCCStrain(), HasInternalStop(), HasOverlapNote(), variation::HasProblematicExceptions(), HasStrainForATCCCultureCollection(), CNewCleanup_imp::ImpFeatBC(), CAutoDefIntergenicSpacerClause::InitWithString(), InspectSeqFeat(), COrgMod::IsBiomaterialValid(), CSubSource::IsCorrectDateFormat(), COrgMod::IsCultureCollectionValid(), CProt_ref::IsECNumberSplit(), CAutoDefFeatureClause::IsGeneCluster(), CStringConstraint::IsInRange(), CSubSource::IsISOFormatDate(), CSubSource::IsISOFormatTime(), IsLikelyTaxname(), CFormatGuess::IsLineAgp(), CFormatGuess::IsLineAugustus(), CFormatGuess::IsLineGff3(), CRefArgs::IsListedHost(), CAutoDefModifierCombo::IsModifierInString(), IsOldComplementedName(), CSubSource::IsPlasmidNameValid(), COrgMod::IsSpecimenVoucherValid(), IsSpName(), IsTransSpliced(), CAutoDefFeatureClause_Base::IsuORF(), CPCRPrimerSeq::IsValid(), CRptUnitRangeColumn::IsValid(), IsValidEmail(), CAlignFormatUtil::IsWGSPattern(), JoinString(), ITreeMacroFunction::JSFilter(), CMatchFeatureTableDlg::LinearAutomatch(), CAutoDefFeatureClause_Base::ListClauses(), CSpecificHostRequest::ListErrors(), CTaxValidationAndCleanup::ListTaxLookupErrors(), MakeEntryForDeltaConversion(), CExpectedError::Match(), MatchArraySubString(), MatchColumnName(), CStringMatching::MatchString(), NcbiOpenURL(), CCountries::NewFixCountry(), CSubPrep_panel::OnChangeSet(), SrcEditDialog::OnExportQualsClick(), CGenericPanel::OnGenericReportFindClick(), CGenericPanel::OnGenericReportFindClick2(), CJournalPanel::OnJournalLookupIsojtaClick(), CFindASN1Dlg::OnReplaceButton(), CTextSubpanel::OnSelectButton(), PathFinder::operator()(), CInStringPred::operator()(), CCleanup::ParseCodeBreak(), CGb_qual::ParseExperiment(), CGb_qual::ParseInferenceString(), CAutoDefParsedtRNAClause::ParseString(), COrgMod::ParseStructuredVoucher(), CMakefilePatch::PatchTreeMakefiles(), CAutoDefFeatureClause_Base::PluralizeInterval(), CWordPairIndexer::PopulateWordPairIndex(), variation_ref::CVariationUtil::PrecursorToProt(), CSuspendProcessor::Process(), CAckAlertProcessor::Process(), CDeflineProcess::ProcessInitialize(), CBiosampleChkApp::ProcessOneDirectory(), CBiosampleChkApp::ProcessOneFile(), CNewCleanup_imp::ProtFeatfBC(), CNewCleanup_imp::ProtNameBC(), CNewCleanup_imp::ProtrefBC(), CNewCleanup_imp::ProtSeqBC(), CBlastInputReader::ReadOneSeq(), RelaxedMatch(), RemoteBlastDbLoader_ErrorHandler(), RemovePrefix(), RemoveStrain(), RemoveSuffix(), ReplaceIfNotFound(), CTableImportDataSource::ReplaceSpaces(), COrgMod::RescueInstFromParentheses(), CCleanupApp::Run(), CMytestApplication::Run(), CDbapiTestSpeedApp::RunSample(), CTestTranscript_PolyA::RunTest(), s_AddCDS(), s_AmbiguousMatch(), s_CalculateMatchingColumns(), s_CheckQuals_cdregion(), s_CleanupLatLon(), CCleanup::s_CleanupNameStdBC(), s_ContainsWholeWord(), s_CountBlastDbDataLoaders(), s_CreateHistCommentString(), CISOJTALookupWithCache::s_DoLookup(), CMacroFunction_EditStringQual::s_EditText(), s_EndsWithStrain(), s_FailsGenusOrSpeciesTest(), s_FindFromNocase(), s_FindWholeName(), s_FindWholeWord(), s_FixBioseqLabelProblems(), CMacroFunction_FixFormat::s_FixLatLonFormat(), s_GBSeqStrandedness(), s_GeneralTagsMatch(), s_GetErrTypeFromString(), s_GetExpansion(), s_GetInstCodeFromBioSource(), s_GetLinkoutUrl(), s_GetMolinfoMember(), s_GetProductFlagFromCDSProductNames(), s_GetTrackName(), s_GetTRNAAbbrev(), s_GetVcfAttribute(), s_HtmlizeStructuredCommentData(), fix_pub::s_IsIndexed(), CValidError_imp::s_IsSalmonellaGenus(), s_IsSameAccession(), s_IsUndefinedSpecies(), s_LimitDescrLength(), s_ListLinesWithPattern(), s_LookForOidlistInAliasFile(), s_MakeOstream(), s_MatchSeqIds(), s_NormalizeTokens(), s_RemoveBracketedOrgFromEnd(), s_RemoveCallbackParameter(), s_RemoveOrgFromEndOfProtein(), s_RemoveValueFromNote(), s_ReplaceArg(), s_RptUnitIsBaseRange(), s_ShortenLatLon(), s_StartsWithNcrnaName(), s_StringHasPMID(), s_TitleEndsInOrganism(), s_TruncateLatLon(), s_UnregisterDataLoader(), s_UpdateVolumesInAliasFile(), s_UseCommentBeforeSemicolon(), s_ValidateCustomDelim(), s_WarnAboutIgnoredResidues(), CRemoteAppRequest::Send(), SeqIdToIdentifier(), CTextSubpanel::SetClusters(), CAlignFormatUtil::SetCustomLinksTypes(), CBioSource::SetDisableStrainForwarding(), CFieldChoicePanel::SetFieldName(), CFeatureFieldNamePanel::SetFieldName(), CAutoDefParsedClause::SetMiscRNAWord(), SetOverlapNote(), CEntrezSearchJob::SetReleaseType(), SetTranslExcept(), CUrl::SetUrl(), CMultipleAssemblyProgramPanel::SetValue(), CSingleAssemblyMethod::SetValue(), CSingleAssemblyProgramPanel::SetValue(), CVoucherPanel::SetValue(), CRptUnitRangePanel::SetValue(), CTwoPartQualPanel::SetValue(), ShouldIgnore(), SpecificHostValueToCheck(), CExpectedError::Test(), CFormatGuess::TestFormatFasta(), CFormatGuess::TestFormatWiggle(), CMacroFunction_ReplaceStopWithSelenocysteine::TheFunction(), CRNAPanel::TransferDataFromWindow(), CPublishedRefPanel::TransferDataToWindow(), CSequencingTechnologyPanel::TransferDataToWindow(), CPmidValidator::TransferFromWindow(), CSeqTranslator::TranslateToProtein(), TraverseAndRunTestCases(), TrimInternalSemicolons(), CWordPairIndexer::TrimPunctuation(), TruncateCDSAtStop(), CTruncateCDS::TruncateProteinFeat(), CSeqTableGridPanel::UpdateColumnLabelHeight(), CGeneValidator::Validate(), CPmidValidator::Validate(), CValidError_bioseq::ValidateBioseqContext(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_bioseq::ValidateCollidingGenes(), CValidError_desc::ValidateComment(), CValidError_bioseq::ValidateCompleteGenome(), CValidError_bioseq::ValidateDupOrOverlapFeats(), CValidError_bioseq::ValidateFeatPartialInContext(), CValidError_feat::ValidateInferenceAccession(), CSubSource::ValidateLatLonCountry(), CAsnvalApp::ValidateOneDirectory(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidateOrgRef(), CValidError_bioseqset::ValidatePopSet(), CValidError_imp::ValidatePubdesc(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_imp::ValidateSubSource(), CValidError_bioseq::ValidateTwintrons(), CCleanup::x_AddLowQualityException(), CAutoDefModifierCombo::x_AddMinicircle(), CConvertGeneToRNA::x_AddOneGeneField(), CAutoDefModifierCombo::x_AddOrgModString(), CFeatureItem::x_AddQualsSite(), CFeatureItem::x_AddRptUnitQual(), CAutoDefModifierCombo::x_AddSubsourceString(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), CGvfWriteRecord::x_AppendAttribute(), CValidError_bioseq::x_BadMetazoanMitochondrialLength(), CCDSTranslationProblems::x_CheckCDSFrame(), CFeatureItem::x_CleanQuals(), CAutoDefModifierCombo::x_CleanUpTaxName(), SGridWorkerNodeImpl::x_ClearNode(), CTooltipFrame::x_CreateHtmlTextControl(), CNCMessageHandler::x_DoCmd_GetBList(), CImportFeatTable::x_DoImportCDS(), CGencollIdMapper::x_FindChromosomeSequence(), CTableImportDataSource::x_FindHeaderRows(), CFormatGuess::x_FindJsonStringLimits(), CAutoDefFeatureClause::x_FindNoncodingFeatureKeywordProduct(), CValidErrorFormat::x_FormatConsensusSpliceForSubmitterReport(), CDisplaySeqalign::x_FormatDefLinesHeader(), CShowBlastDefline::x_FormatDeflineTableLineCSV(), CValidErrorFormat::x_FormatGenericForSubmitterReport(), CFeatureItem::x_FormatGOQualCombined(), CAlnGraphic::x_FormatGraphOverview(), CGenomeAssemblyComment::x_GetAssemblyMethodProgramAndVersion(), CCorrectGenesDialog::x_GetConstrainedList(), CAttribTableColumnIdPanel::x_GetConstraintField(), CAutoDef::x_GetFeatureClauseProductEnding(), CSequenceSearchJob::x_GetMatches(), CAutoDefFeatureClause::x_GetNoncodingProductFeatProduct(), CSubSource::x_GetPrecision(), CAutoDefFeatureClause::x_GetProductName(), CAutoDefNcRNAClause::x_GetProductName(), CRemoveName::x_GetReplacementIds(), CAutoDefFeatureClause_Base::x_GetRnaMiscWordType(), CSeqUpdateWorker::x_GetSeqsWithIgnoredResidues(), SrcEditDialog::x_GetSourceTableChoices(), COrg_ref::x_GetTaxnameAfterFirstTwoWords(), CNcbiTestApplication::x_GetTrimmedTestName(), CNewCleanup_imp::x_HandleTrnaProductGBQual(), SAliasFileData::x_HasKeyword(), variation::CHgvsParser::x_header(), CFeatureItem::x_ImportQuals(), CReferenceItem::x_Init(), CBioseqIndex::x_InitDescs(), CAgpConverter::x_InitializeCopyOfTemplate(), CTaxValidationAndCleanup::x_InterpretTaxonomyError(), CNewCleanup_imp::x_IsDotBaseRange(), CSubSource::x_IsFixableIsoDate(), CAlnReader::x_IsGap(), CNewCleanup_imp::x_IsHyphenBaseRange(), CValidError_bioseq::x_IsMicroRNA(), CSubPrep_panel::x_IsSequencingTechnologyRequired(), CBlastAppArgs::x_IssueWarningsForIgnoredOptions(), CRemoteBlast::x_IsUnknownRID(), CTraversalNode::x_LoadDataFromASNNode(), CGencollIdMapper::x_MakeSpecForSeq(), CFeatureSearchJob::x_Match(), CAutoDefFeatureClause_Base::x_MeetAltSpliceRules(), CNewCleanup_imp::x_MendSatelliteQualifier(), CRegexpTemplateTester::x_Op_Test(), CCleanupApp::x_OpenOStream(), CNewCleanup_imp::x_OrgnameModBC(), SAliasFileData::x_Parse(), CSubSource::x_ParseDateRangeWithDelimiter(), CAgpValidateReader::x_PrintTotals(), CCleanupApp::x_ProcessFeatureOptions(), CCleanupApp::x_ProcessOneFile(), CCleanupApp::x_ProcessXOptions(), CPsiBlastInputClustalW::x_ReadAsciiMsa(), CSubSource::x_RemoveIsoTime(), CBioSource::x_RemoveNameElementDiffs(), CValidError_bioseq::x_ReportImproperPartial(), CValidError_bioseq::x_ReportInternalPartial(), CCdregionValidator::x_ReportTranslationProblems(), CProtValidator::x_ReportUninformativeNames(), CSequenceUpdater::x_RetranslateImportedCDSProduct(), CSequenceUpdater::x_RetranslateOldCDSProduct(), CConnection::x_SendXactAbort(), CNewCleanup_imp::x_SeqFeatRnaGBQualBC(), CDeflineGenerator::x_SetFlags(), CDeflineGenerator::x_SetFlagsIdx(), CBioSource::x_ShouldIgnoreNoteForBiosample(), x_SpaceToDash(), CRegexpTemplateTester::x_SubstituteVars(), CCountries::x_Tokenize(), CMatchFeatureTableDlg::x_TokenMatch(), CValidError_bioseq::x_ValidateCDSmRNAmatch(), CSingleFeatValidator::x_ValidateCompareVal(), CValidError_align::x_ValidateDendiag(), CValidError_align::x_ValidateDenseg(), CProtValidator::x_ValidateECNumbers(), CSingleFeatValidator::x_ValidateExceptText(), CGeneValidator::x_ValidateExceptText(), CCdregionValidator::x_ValidateFeatComment(), CSingleFeatValidator::x_ValidateGbQual(), CSingleFeatValidator::x_ValidateGbquals(), CCdregionValidator::x_ValidateGeneticCode(), CGeneValidator::x_ValidateMultiIntervalGene(), CValidError_bioseq::x_ValidateOverlappingRNAFeatures(), CCdregionValidator::x_ValidateProductId(), CProtValidator::x_ValidateProteinName(), CValidError_bioseq::x_ValidatePubFeatures(), CValidError_bioseq::x_ValidateSourceFeatures(), CValidError_align::x_ValidateStd(), CValidError_bioseq::x_ValidateTitle(), CGtfWriter::xAssignFeaturesTranscript(), CSrcWriter::xGetColStub(), and CFeatureTableReader::xMoveCdRegions().
|
inlinestatic |
Wrapper for backward-compatibility.
Definition at line 2032 of file ncbistr.hpp.
References NStr::FindCase(), and str().
|
inlinestatic |
Find the pattern in the specified range of a string.
str | String to search. |
pattern | Pattern to search for in "str". |
start | Position in "str" to start search from. 0 means start the search from the beginning of the string. |
end | Position in "str" to perform search up to. NPOS means to search to the end of the string. |
which | When set to eFirst, this means to find the first occurrence of "pattern" in "str". When set to eLast, this means to find the last occurrence of "pattern" in "str". |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while searching for the pattern. |
method instead. For example:
can be replaced by
If you doing a search on a substring of the 'str' and ["start", "end"] search interval is not a default [0, NPOS], that mean a whole 'str' string, you may need to pass a substring instead of 'str', like
and after checking search result on NPOS, adjust it by 'start' yourself.
Definition at line 5470 of file ncbistr.hpp.
References NStr::eFirst, NStr::eForwardSearch, NStr::eReverseSearch, NStr::Find(), NPOS, and str().
|
static |
Test for presence of a given string in a list or vector of strings.
Definition at line 3017 of file ncbistr.cpp.
|
static |
Definition at line 3029 of file ncbistr.cpp.
|
inline |
Find the first occurrence of any character not in the matching string within the current string, beginning at an optional offset.
Definition at line 553 of file tempstr.hpp.
References CTempString::begin(), CTempString::end(), CTempString::length(), match(), and CTempString::npos.
Referenced by CEndpointKey::CEndpointKey(), CGapsEditor::ConvertNs2Gaps(), CTLibContext::CTLIB_srverr_handler(), CSeq_id::IdentifyAccession(), CGff2Record::TokenizeGFF(), ICitationBase::x_GetLabelV1(), CSeq_id::x_IdentifyAccession(), CDeflineGenerator::x_SetTitleFromPDB(), CFeatureTableReader_Imp::x_TokenizeStrict(), and xgbparselex_ver().
|
inline |
Find the first occurrence of any character in the matching string within the current string, beginning at an optional offset.
Definition at line 538 of file tempstr.hpp.
References CTempString::begin(), CTempString::end(), CTempString::length(), match(), and CTempString::npos.
Referenced by BOOST_AUTO_TEST_CASE(), CGapsEditor::ConvertNs2Gaps(), CTempString::find(), CObjectIStreamJson::FindDeep(), GetWGSMasterSeq_id(), make_server(), CWGSDb_Impl::ParseRowType(), s_URLDecode(), CGff2Record::TokenizeGFF(), ICitationBase::x_GetLabelV1(), CSeq_id::x_IdentifyAccession(), and CWGSDb_Impl::x_InitIdParams().
|
inline |
Find the last occurrence of any character not in the matching string within the current string, beginning at an optional offset.
Definition at line 610 of file tempstr.hpp.
References CTempString::begin(), CTempString::length(), match(), and CTempString::npos.
Referenced by CPoolBalancer::x_NameToKey().
|
inline |
Find the last occurrence of any character in the matching string within the current string, beginning at an optional offset.
Definition at line 580 of file tempstr.hpp.
References CTempString::begin(), CTempString::length(), match(), and CTempString::npos.
Referenced by CDirEntry::ConcatPathEx(), and CTempString::rfind().
|
inlinestatic |
Wrappers for backward-compatibility.
Definition at line 5497 of file ncbistr.hpp.
References NStr::eCase, NStr::Find(), and str().
|
inlinestatic |
Definition at line 5503 of file ncbistr.hpp.
References NStr::eCase, NStr::Find(), NPOS, and str().
|
inlinestatic |
Find the pattern in the specified range of a string using a case sensitive search.
str | String to search. |
pattern | Pattern to search for in "str". |
start | Position in "str" to start search from – default of 0 means start the search from the beginning of the string. |
end | Position in "str" to perform search up to – default of NPOS means to search to the end of the string. |
which | When set to eFirst, this means to find the first occurrence of "pattern" in "str". When set to eLast, this means to find the last occurrence of "pattern" in "str". |
Use Find() method without [start:end] range.
Use one of the next methods instead:
For example:
can be replaced by
For simpler cases without range, or with default [0, NPOS] please use
But if you doing a search on a substring of the 'str' and ["start", "end"] search interval is not a default [0, NPOS], that mean a whole 'str' string, you may need to pass a substring instead of 'str', like
and after checking search result on NPOS, adjust it by 'start' yourself.
Definition at line 5484 of file ncbistr.hpp.
References NStr::eFirst, CTempString::length(), NPOS, and str().
Referenced by CSimpleMakeFileContents::AddReadyKV(), CGetLoadProcessor::Authenticate(), NStr::Find(), CExpansionRule::Init(), SNetCacheAPIImpl::InitiateWriteCmd(), CRepeatMaskerReader::IsHeaderLine(), CRepeatMaskerReader::IsIgnoredLine(), CFormatGuess::IsInputRepeatMaskerWithHeader(), CProjBulderApp::LoadDepGraph(), CSetValidWarningSuppressor::OnWarning(), CMacroFunction_EditStringQual::s_EditText(), s_FlyCG_PtoR(), CValidError_imp::ValidatePubGen(), x_FlyCG_PtoR(), CNCActiveHandler::x_ReadCopyProlong(), CNCActiveHandler::x_ReadCopyPut(), CNCActiveHandler::x_ReadSyncGetHeader(), CNCActiveHandler::x_ReadSyncProInfoAnswer(), CNCActiveHandler::x_ReadSyncStartAnswer(), CNCActiveHandler::x_ReadSyncStartHeader(), and CProtValidator::x_ValidateProteinName().
Definition at line 5529 of file ncbistr.hpp.
References NStr::eCase, NStr::Find(), and val.
Definition at line 5541 of file ncbistr.hpp.
References NStr::eCase, NStr::Find(), and val.
|
inlinestatic |
Wrapper for backward-compatibility.
Definition at line 5513 of file ncbistr.hpp.
References NStr::eNocase, NStr::Find(), and str().
|
inlinestatic |
Definition at line 5519 of file ncbistr.hpp.
References NStr::eNocase, NStr::Find(), NPOS, and str().
|
static |
Find the pattern in the specified range of a string using a case insensitive search.
str | String to search. |
pattern | Pattern to search for in "str". |
start | Position in "str" to start search from – default of 0 means start the search from the beginning of the string. |
end | Position in "str" to perform search up to – default of NPOS means to search to the end of the string. |
which | When set to eFirst, this means to find the first occurrence of "pattern" in "str". When set to eLast, this means to find the last occurrence of "pattern" in "str". |
For example:
can be replaced by
For simpler cases without range, or with default [0, NPOS] please use
But if you doing a search on a substring of the 'str' and ["start", "end"] search interval is not a default [0, NPOS], that mean a whole 'str' string, you may need to pass a substring instead of 'str', like
and after checking search result on NPOS, adjust it by 'start' yourself.
Definition at line 2984 of file ncbistr.cpp.
Referenced by CBrowserUtils::AddBaseTag(), CConvertDescToFeatPubConstraint::apply(), CRemoveFeaturesDlg::ApplyToCSeq_entry(), CCorrectIntervalOrder::ApplyToCSeq_entry(), BOOST_AUTO_TEST_CASE(), CSpliceProblems::CalculateSpliceProblems(), CCdsMatchInfo::CCdsMatchInfo(), CCgiEntryReaderContext::CCgiEntryReaderContext(), CComment_rule::CheckFieldValue(), CSeqTechDlg::CheckSequencingTechnology(), CUnculTaxTool::CompareOrgnameLineage(), CCountries::ContainsMultipleCountryNames(), CUnculTaxTool::ConvertSpeciesSpecificNote(), CSrcTableColumnBaseFactory::Create(), CEditMacroDlg::CreateControls(), CConnTest::DispatcherOkay(), DoesSingleStringMatchConstraint(), CMQueryFunctionValue::Evaluate(), CPhyObjectLoader::Execute(), CTrackListCtrl::FilterValues(), CFindEditSequence::FindMatchPositions(), CSeqTextDataSource::FindSequenceFragment(), CSeqTextDataSource::FindSequenceFragmentList(), FindSuspiciousNotePhrases(), FixHumanHost(), CSeqFeatData::FixRegulatoryClassValue(), CNewCleanup_imp::GBQualSeqFeatBC(), CTraversalNode::GenerateCode(), CMacroEditorContext::GetAsnPathToAuthorFieldName(), CConvertBadCdsAndRnaToMiscFeat::getBacterialPartialNonextendable(), NSnpGui::GetBinLinks(), CBioSource::GetBioprojectLocation(), CBioSource::GetBioprojectType(), CConvertBadCdsAndRnaToMiscFeat::getCdsOverlap(), GetCitBookOld(), CSubPrep_panel::GetConverterForFieldName(), CMatchFeatureTableDlg::GetFtableIDToSeqIDMap(), CSeqUtils::GetGIString(), SrcEditDialog::GetLabelForTitle(), CRefArgs::GetQueryString(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), CConvertBadCdsAndRnaToMiscFeat::getRnaOverlap(), CSnpTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), GetSPSitesMod(), CUnculturedTool::GetSuggestedCorrection(), CMacroEngine::GetSynonymFilenames(), CFileIDField::GetVal(), CSubPrep_panel::GuessWizardTypefromSeqEntry(), CValidError_imp::HandleTaxonomyError(), HasBadWord(), CSubSource::HasCultureNotes(), CDiscrepancyContext::HasLineage(), CAuthorNamesContainer::ImportAuthorsFromFile(), SNetServiceImpl::Init(), InterpretMrnaException(), InterpretSpecificHostResult(), IsBadSeqInstStrand(), CSymResolver::IsDefine(), IsDicistronic(), IsKnownNonConsensusSplice(), CRefArgs::IsListedHost(), CAutoDefFeatureClause::IsLTR(), IsMissingRequiredClone(), CSubSource::IsPlasmidNameValid(), IsPubUnpublished(), CConvertBadCdsAndRnaToMiscFeat::IsShortrRNA(), IsShortrRNA(), CUnculTaxTool::IsSpeciesSpecific(), COrgMod::IsStructuredVoucherValid(), CCountries::IsSubstringOfStringInList(), CValidError_imp::IsSyntheticConstruct(), CAlignmentTrack::LayoutStrToValue(), CEditMacroDlg::LoadOtherMacros(), CSearch_func::Match(), MatchArrayISubString(), MoveMiddleToFirst(), NMItemData::NormalizeFieldForFeatPanel(), CUnculTaxTool::OkToTaxFix(), CMacroFlowEditor::OnFindClick(), OrganismIsUnwanted(), CMrnaMatchInfo::Overlaps(), CUnculTaxTool::PreloadCache(), ProductNamesAreSimilar(), CSubSource::RemoveCultureNotes(), ReplaceInPlaceWholeWordNoCase(), ReplaceNoCase(), pub_report::ReportTitleDiff(), ReportTranslationErrors(), python::RetrieveStatementType(), CVectorScreen::Run(), CClientGenomicCollectionsSvcApplication::Run(), s_CheckPSGMethod(), s_CleanCDDFeature(), s_CleanupIsShortrRNA(), CUnculturedTool::s_CompareOrgnameLineage(), CMacroFunction_EditStringQual::s_EditText(), s_EndsWithStrain(), s_FailsGenusOrSpeciesTest(), CMacroFunction_FixProteinFormat::s_FixProteinNameFormat(), s_FormatCitGen(), s_GenerateWeblinks(), CMacroWorker::s_GetMacroSteps(), CMacroFunction_MobileElementTypeFields::s_GetMobileElemTName(), CMacroFunction_MobileElementTypeFields::s_GetMobileElemTType(), CMacroFunction_SatelliteFields::s_GetSatelliteName(), CMacroFunction_SatelliteFields::s_GetSatelliteType(), CValidError_bioseq::s_GetStrandedMolStringFromLineage(), s_HasSubSourceNote(), s_IsAssemblyMethodValid(), CAdjustForConsensusSpliceSite::s_IsBioseqGood_Strict(), s_IsGnomonModel(), s_IsVirusOrPhage(), s_NotPeptideException(), CUnculturedTool::s_OkToTaxFix(), s_ParseDateTime(), s_ParseTRnaFromAnticodonString(), s_ReadPerClientConfig(), s_ReplaceInPlaceBetweenQuotes(), s_ReplaceInPlaceWholeWordNoCase(), s_SetUpXrefPairs(), s_SvcHeader(), s_TestVCFData(), s_TranslateCds(), s_WantChimeraForSource(), CPaintSequence::Search(), CMatchesListCtrl::SelectStrongModerate(), CGeneFieldPanel::SetFieldName(), CSourceFieldNamePanel::SetFieldName(), CSubmitBlockDlg::SetPageForError(), sGetFastaFlags(), SummarizeIdProblems(), CId2ReaderBase::sx_CheckErrorFlag(), fix_pub::TenAuthorsCompare(), CFormatGuess::TestFormatNewick(), CUnculTaxTool::TrimSuggestions(), CUnculTaxTool::TryRankFix(), CIntronValidator::Validate(), CValidError_bioseq::ValidateBadGeneOverlap(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_imp::ValidateOrgModVoucher(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidateOrgRef(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_imp::ValidateSeqLoc(), CValidError_imp::ValidateSourceQualTags(), CValidError_desc::ValidateTitle(), CNCBlobStorage::WriteDbInfo(), CCgiResponse::WriteHeader(), CNewCleanup_imp::x_AddEnvSamplOrMetagenomic(), COctetStringDataType::x_AsBitString(), CCreateGeneModelTask::x_AssignIDsAndUpdateGenes(), CCdregionValidator::x_BypassCDSPartialTest(), CValidError_bioseq::x_CheckSingleStrandedRNAViruses(), CValidError_bioseq::x_CompareStrings(), CUnculturedTool::x_ConvertNote(), CNetBLAST_DMSearchJob::x_DoSearch(), CGFFReader::x_FeatureID(), CBamRefSequencesPanel::x_FillList(), CVcfRefSequencesPanel::x_FillList(), CItemSelectionPanel::x_FilterItems(), CBLAST_DB_Dialog::x_FilterItems(), CObjectListWidgetSel::x_FilterObjectList(), CMacroEditingActionPanel::x_FindItem(), CStrainSerotypeInfluenza::x_FixupOrganismNames(), CFeatureItem::x_FormatGOQualCombined(), x_GetAccountNameBySid(), CCgiEntry::x_GetCharset(), CCDSTranslationProblems::x_GetExceptionFlags(), CSatelliteColumn::x_GetSatelliteName(), CSatelliteColumn::x_GetSatelliteType(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CAutoDefModifierCombo::x_HasTypeStrainComment(), CBioseqIndex::x_InitSource(), CStrainSerotypeInfluenza::x_IsParsableInfluenzaVirusName(), CStrainRequest::x_IsUnwanted(), x_LeuCUGstart(), CEditMacroDlg::x_LoadAutofixMacro(), SDataLoaderConfig::x_LoadDataLoadersConfig(), CSubSource::x_MeetsCommonChromosomeLinkageGroupPlasmidNameRules(), CMakeBadSpecificHostTable::x_ParseErrorMessage(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), CSearch_func::x_ProductContainsTerm(), CFeatGlyph::x_RedundantLabelCheck(), CVcfGlyph::x_RedundantLabelCheck(), CCulturedTool::x_RemoveIfFoundOrgModNote(), CCulturedTool::x_RemoveIfFoundSubSourceNote(), CValidError_imp::x_ReportInvalidFuzz(), CValidError_bioseq::x_ReportLineageConflictWithMol(), CCdregionValidator::x_ReportTranslationProblems(), CProtValidator::x_ReportUninformativeNames(), CDeflineGenerator::x_SetTitleFromGPipe(), CDeflineGenerator::x_SetTitleFromNC(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CStrainSerotypeInfluenza::x_SplittingQualifiersAtCommas(), CStrainSerotypeInfluenza::x_SplittingStructCollections(), CStrainSerotypeInfluenza::x_TrimmingOrganismNames(), CUnculturedTool::x_TryRankFix(), CRNAValidator::x_ValidateAnticodon(), CCdregionValidator::x_ValidateBadMRNAOverlap(), CValidError_bioseq::x_ValidateCompletness(), CCdregionValidator::x_ValidateExceptText(), CSingleFeatValidator::x_ValidateGeneXRef(), CValidError_bioseq::x_ValidateMolInfoForBioSource(), CGeneValidator::x_ValidateMultiIntervalGene(), CProtValidator::x_ValidateProteinName(), CRNAValidator::x_ValidateRnaProduct(), CSingleFeatValidator::x_ValidateRptUnitVal(), CValidError_bioseq::x_ValidateTitle(), CRNAValidator::x_ValidateTrnaCodons(), xFixEMBLKeywords(), and CAlnScannerNexus::xGetKeyVal().
Definition at line 5535 of file ncbistr.hpp.
References NStr::eNocase, NStr::Find(), and val.
|
inlinestatic |
Definition at line 5547 of file ncbistr.hpp.
References NStr::eNocase, NStr::Find(), and val.
|
static |
Find given word in the string.
str | String to search. |
word | Word to search for in "str". The "word" can have any symbols, not letters only. Function treat it as a pattern, even it have any non-word characters. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while searching for the word. |
direction | Define a search direction of the occurrence of "word" in "str". |
Definition at line 3051 of file ncbistr.cpp.
References isalnum().
Referenced by NStr::FindWord(), and CMiscFeatValidator::Validate().
|
inlinestatic |
Find given word in the string.
This function honors word boundaries:
str | String to search. |
word | Word to search for in "str". The "word" can have any symbols, not letters only. Function treat it as a pattern, even it have any non-word characters. |
which | When set to eFirst, this means to find the first occurrence of "word" in "str". When set to eLast, this means to find the last occurrence of "word" in "str". |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while searching for the word. |
Definition at line 2230 of file ncbistr.hpp.
References NStr::eFirst, NStr::eForwardSearch, NStr::eReverseSearch, NStr::FindWord(), and str().
Handle an arbitrary printf-style format string.
This method exists only to support third-party code that insists on representing messages in this format; please stick to type-checked means of formatting such as the above ToString methods and I/O streams whenever possible.
Definition at line 2837 of file ncbistr.cpp.
Referenced by ErrorPrintf().
const char* g_GetNcbiString | ( | ENcbiStrings | what | ) |
Definition at line 42 of file ncbi_strings.c.
References s_NcbiStrings.
Referenced by CHTMLPageStat::PrintBegin(), CCgiRequest::x_InitRequestContext(), CRequestContext::x_LogHitID(), CDiagContext::x_LogHitID(), and CCgiApplication::x_OnEvent().
Get string.
Definition at line 75 of file ncbistr.hpp.
Referenced by CGenetic_code::GetName(), CGen_code_table_imp::GetNcbieaa(), CGenetic_code::GetNcbieaa(), COrgrefProp::GetOrgrefProp(), CGen_code_table_imp::GetSncbieaa(), CGenetic_code::GetSncbieaa(), and CGen_code_table::IndexToCodon().
Get string.
Definition at line 86 of file ncbistr.hpp.
|
inline |
Get comparison type.
Definition at line 4924 of file ncbistr.hpp.
References PNocase_Conditional_Generic< T >::m_CaseSensitive.
|
inline |
Get decoder or NULL. Does not affect decoder ownership.
Definition at line 4670 of file ncbistr.hpp.
Referenced by SDiagMessage::x_ParseExtraArgs().
Get encoded string.
Definition at line 4832 of file ncbistr.hpp.
References CEncodedString::IsEncoded(), CEncodedString::m_Encoded, and CEncodedString::m_Original.
Referenced by CRequestContext::GetEncodedSessionID().
|
inline |
Get encoder or NULL. Does not affect encoder ownership.
Definition at line 4681 of file ncbistr.hpp.
|
inline |
Get error code.
Definition at line 4449 of file ncbistr.hpp.
Referenced by CFilteringArgs::ExtractAlgorithmOptions(), CBlastInput::GetAllSeqLocs(), CBlastInput::GetAllSeqs(), CParseTemplException< CSeqsetException >::GetErrCodeString(), CBlastInput::GetNextSeqBatch(), CBlastInput::GetNextSeqLocBatch(), SRetryProcessing::operator()(), CFastaReaderEx::ReadDeltaFasta(), CFastaReader::ReadSet(), CNetStorageHandler::x_CreateObjectStream(), CNetStorageHandler::x_GetObject(), CPsiBlastInputClustalW::x_ReadAsciiMsa(), and CNSTDatabase::x_ReadDbAccessInfo().
|
inlineoverridevirtual |
Translate from the error code value to its string representation.
Reimplemented in CObjReaderParseException, CSeqsetParseException, CGeneralParseException, CStringException, CRegistryException, CUrlParserException, and CCgiCookieException.
Definition at line 4399 of file ncbistr.hpp.
|
overridevirtual |
Translate from the error code value to its string representation.
Reimplemented from CParseTemplException< CCoreException >.
Definition at line 7247 of file ncbistr.cpp.
Referenced by SFileTrackAPI::GetPath().
|
static |
Search for a field.
str | C or C++ string to search in. |
field_no | Zero-based field number. |
delimiter | A single-character delimiter. |
merge | Whether to merge or not adjacent delimiters. Default: not to merge. |
Definition at line 6501 of file ncbistr.cpp.
|
static |
Search for a field.
str | C or C++ string to search in. |
field_no | Zero-based field number. |
delimiters | A set of single-character delimiters. |
merge | Whether to merge or not adjacent delimiters. Default: not to merge. |
Definition at line 6488 of file ncbistr.cpp.
|
static |
Search for a field.
Avoid memory allocation at the expense of some usage safety.
str | C or C++ string to search in. |
field_no | Zero-based field number. |
delimiter | A single-character delimiter. |
merge | Whether to merge or not adjacent delimiters. Default: not to merge. |
Definition at line 6527 of file ncbistr.cpp.
|
static |
Search for a field.
Avoid memory allocation at the expense of some usage safety.
str | C or C++ string to search in. |
field_no | Zero-based field number. |
delimiters | A set of single-character delimiters. |
merge | Whether to merge or not adjacent delimiters. Default: not to merge. |
Definition at line 6514 of file ncbistr.cpp.
Get the original unencoded string.
Definition at line 4830 of file ncbistr.hpp.
References CEncodedString::m_Original.
Referenced by CRequestContext::Clone(), CRequestContext::GetSessionID(), and CRequestContext::SetSessionID().
|
inline |
Get non-const data.
Definition at line 4793 of file ncbistr.hpp.
|
inline |
Read data.
Definition at line 4791 of file ncbistr.hpp.
Referenced by SDiagMessage::x_ParseExtraArgs().
|
inline |
Definition at line 147 of file ncbistr_util.hpp.
References CStrTokenizeBase::m_Pos.
|
inlinenoexcept |
Get error position.
Definition at line 4457 of file ncbistr.hpp.
Referenced by CGridCommandLineInterfaceApp::Automation_DebugConsole(), CBlastInput::GetAllSeqs(), CCgiRequest::ParseEntries(), and CCgiRequest::ParseIndexes().
SIZE_TYPE CTempStringList::GetSize | ( | void | ) | const |
Definition at line 7378 of file ncbistr.cpp.
|
static |
Get the number of symbols (code points) in UTF8 string.
src | Source UTF8 string |
Definition at line 6669 of file ncbistr.cpp.
Referenced by CWString::GetSymbolNum(), and CUtf8::x_AsBasicString().
|
inlineoverridevirtual |
Get exception class type.
Definition at line 4444 of file ncbistr.hpp.
Referenced by SFileTrackAPI::GetPath().
|
inlinestatic |
Get the number of valid UTF-8 bytes (code units) in buffer.
src | Character buffer |
Definition at line 5651 of file ncbistr.hpp.
References CTempString::begin(), and CUtf8::x_GetValidSymbolCount().
Referenced by impl::GetValidUTF8Len(), and ReadIntoUtf8().
|
inlinestatic |
Get the number of valid UTF-8 symbols (code points) in buffer.
src | Character buffer |
Definition at line 5646 of file ncbistr.hpp.
References CUtf8::x_GetValidSymbolCount().
|
static |
Guess the encoding of the C/C++ string.
It can distinguish between UTF-8, Latin1, and Win1252 only
src | Character buffer |
Definition at line 6682 of file ncbistr.cpp.
Referenced by CSubSource::FixLatLonFormat(), CHTMLHelper::HTMLDecode(), ReadIntoUtf8(), and utf8_to_string().
|
inline |
Definition at line 1036 of file tempstr.hpp.
References CTempStringEx::eNoZeroAtEnd, and CTempStringEx::m_ZeroAtEnd.
Referenced by CTlsCertCredentials::CTlsCertCredentials(), CRegexp::Set(), CWig2tableApplication::x_GetLine(), CWig2tableApplication::x_GetParamName(), CWig2tableApplication::x_GetParamValue(), CWig2tableApplication::x_GetPos(), CWig2tableApplication::x_GetWord(), CWig2tableApplication::x_SkipWS(), CWig2tableApplication::x_TryGetDouble(), and CWig2tableApplication::x_TryGetDoubleSimple().
|
inlinestatic |
Convert character to integer.
ch | Character to be converted. |
Definition at line 5190 of file ncbistr.hpp.
References int.
Referenced by CExtraDecoder::Decode(), CNcbiEncrypt::IsEncrypted(), and s_SVURLDecode().
|
static |
Decode HTML entities and character references.
str | String to be decoded, which contains characters or numeric HTML entities |
encoding | Encoding of the input string |
Definition at line 4518 of file ncbistr.cpp.
Referenced by CDeflineGenerator::GenerateDefline(), s_CleanCDDFeature(), and s_ConvertMetaData().
|
static |
Encode a string for HTML.
Replace relevant characters by predefined entities.
str | Original string in UTF8 encoding. |
Definition at line 4113 of file ncbistr.cpp.
Referenced by CCSSTableTooltipFormatter::AddRow(), CHtmlTooltipFormatter::AddRow(), CCSSTableTooltipFormatter::AddTagCol(), CHtmlTooltipFormatter::AddTagCol(), CCSSTableTooltipFormatter::CreateLink(), CHtmlTooltipFormatter::CreateLink(), CVcfGlyph::GetTooltip(), CCgiRequestProcessor::OnException(), CNetCacheBlobFetchApp::OnException(), CCgi2RCgiApp::PopulatePage(), and SanitizeInputValue().
|
static |
Returns HTML entity name for this symbol if one exists (without leading ampersand and trailing semicolon); or empty string if suitable HTML entity was not found.
Definition at line 4507 of file ncbistr.cpp.
Referenced by Identifier().
Definition at line 189 of file ncbistr.hpp.
Definition at line 190 of file ncbistr.hpp.
|
inlinestatic |
Convert Int8 to string.
value | Integer value (Int8) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5153 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by BOOST_AUTO_TEST_CASE(), CMemoryFileSegment::CMemoryFileSegment(), CTimeSpan::CTimeSpan(), CTime::DiffTimeSpan(), CReportNode::Export(), CMemoryFile::Extend(), CArchive::ExtractFileToHeap(), IMacroBioDataIter::FindInTable(), CDiscrepancySet::Format(), CIntDataType::GetDefaultString(), CBigIntDataType::GetDefaultString(), CObjectIStream::GetPosition(), CObjectOStream::GetPosition(), CDiagContext::GetProperty(), CBDB_FieldInt8::GetString(), CVariant::GetString(), NMacroUtil::GetStringValue(), CAlnStatGlyph::GetTooltip(), CArgAllow_Int8s::GetUsage(), CArgAllow_Integers::GetUsage(), CAddAssemblyGapsNTreeItemData::GetVariables(), CAddGapsNTreeItemData::GetVariables(), GetVideoId(), CDebugDumpContext::Log(), CMemoryFileMap::Map(), MTByQueries_DBSize_Warning(), CTableFormatPanel::OnListCtrlSelected(), value_slice::CValueConvert< CP, Int8 >::operator string(), CQueryTreePrintFunc::operator()(), PConvertToString< Int8 >::operator()(), CSrvStrStream::operator<<(), CJavaLogHandler::Post(), CDiagContext_Extra::Print(), CAlignFormatUtil::PrintDbReport(), CArgAllow_Int8s::PrintUsageXml(), CSGQueryNodeValue::PromoteTo(), CQueryNodeValue::PromoteTo(), CNCActiveHandler::ProxyRead(), CNCActiveHandler::ProxyReadLast(), CChunkFile::RawRead(), CSeqIdChunkFile::RawRead(), ReadTabDelimitedTable(), RecursiveXML(), CAsnElementPrimitive::RenderValue(), CPrimeNumbersJob::Run(), s_AddToLog(), s_BuildArchiveAll(), s_ConvertValue(), s_FillModuleListPSAPI(), s_TimeDump(), s_ValToString(), CBlastTabularInfo::SetFields(), CFileIO::SetFilePos(), CMacroRep::SetFunctionParameterAsInt(), CPdfObject::StartTris(), CMacroFunction_ApplyCDS::TheFunction(), CMacroFunction_SetPubDateField::TheFunction(), CMacroFunction_SubtreeSum::TheFunction(), CSeqDBVol::TiToOid(), CBDB_FieldInt8::ToString(), CObjectOStreamJson::WriteInt8(), CTL_CursorCmdExpl::x_AssignParams(), CNCMessageHandler::x_DoCmd_GetMeta(), CMacroFunction_EditStringQual::x_EditFields(), CMacroFunction_MakeLocation::x_HandleNegativeCoordinates(), NStr::x_NumericToString(), CMacroParser::x_ParseThreadCount(), CLayoutTrack::x_RenderTitleBar(), CXmlValueItem::x_RenderXml(), CNCActiveHandler::x_SendSyncGetCmd(), and IMacroVar::SValue::x_WriteAsString().
|
static |
Convert Int8 to string.
out_str | Output string variable |
value | Integer value (Int8) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 2026 of file ncbistr.cpp.
|
inlinestatic |
Convert int to string.
value | Integer value to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5078 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by CTabDelimitedValidator::_ReportXML(), CAlnMixSequences::Add(), CReportParams::Add(), CMaskInfoRegistry::Add(), CGffAlignRecord::AddDeletion(), CGffAlignRecord::AddForwardShift(), CTL_BCPInCmd::AddHint(), CPagerView::AddImageString(), CPagerView::AddInactiveImageString(), CGffAlignRecord::AddInsertion(), CExonFromCds::AddIntron(), CBlastUsageReport::AddParam(), CGffAlignRecord::AddReverseShift(), CSAM_CIGAR_Formatter::AddRow(), CTableAnnotDataSource::AddSeqLoc(), CLinkUtils::AddSequenceLinks(), CGBenchVersionInfo::AddVersionString(), CSeq_annot::AddZoomLevel(), AgpRead(), AppendBioseqLabel(), CTaxNRCriteria::Apply(), CApplyFBOL::apply(), CBarcodeTool::ApplyDbxrefs(), CGffRecord::AssignSeqId(), CBlastDBSeqId::AsString(), SSatSatKeyRange::AsString(), CObjectIStreamAsn::BadStringChar(), CDUpdater::blast(), Blast_GetSeqLocInfoVector(), BlastXML_FormatReport(), BOOST_AUTO_TEST_CASE(), CDebugDumpViewer::Bpt(), CAlnMixSegments::Build(), BuildBigGoodNucProtSet(), CAlignFormatUtil::BuildUserUrl(), CPhyTreeCalc::CalcBioTree(), CalculateFormattingParams(), CAlnMapPrinter::CAlnMapPrinter(), CArchive::CArchive(), CBioseq::CBioseq(), CBlastNode::CBlastNode(), CBlastSeqVectorFromCSeq_data::CBlastSeqVectorFromCSeq_data(), CCddBookRefToBrString(), CCddBookRefToBvString(), CClusterDBSource::CClusterDBSource(), CddIdString(), CdsTrnaOverlapStr(), CGeneralToLocalId::CGeneralToLocalId(), CGoTermSortStruct::CGoTermSortStruct(), CheckAutoDefOptions(), CComment_rule::CheckFieldValue(), CComment_rule::CheckGeneralField(), CResultSet::CheckIdx(), CheckMTByQueries_QuerySize(), CCigar::CigarString(), CLocalToGeneralId::CLocalToGeneralId(), CNcbiApplogApp::Cmd_Health(), CMsvcPrjGeneralContext::CMsvcPrjGeneralContext(), CNetScheduleKeyGenerator::CNetScheduleKeyGenerator(), CTraversalMerger::CNodeLabeler::CNodeLabeler(), CNcbiTestApplication::CollectTestUnit(), CRemoveSequencesDlg::CombineLabels(), CRemoveSequencesDlg::CombineLabelsAll(), CMultiAlignerTest::CompareDomainHits(), CCgiStatistics::Compose_Result(), CSeq_id::ComposeOSLT(), DTDParser::ConsumeElementContent(), CPepXML::ConvertModifications(), pub_report::ConvertPMCtoPMID(), CPepXML::ConvertScanID(), CProgressMessage::CProgressMessage(), CRawSeqDBSource::CRawSeqDBSource(), CDB_Object::Create(), CAutodefParamsPanel::CreateControls(), CwxSeqMarkerSetDlg::CreateControls(), CAlnStatGlyph::CreateDisplayOptions(), DTDParser::CreateEmbeddedName(), CTableAnnotDataSource::CreateFeature(), CSetupFactory::CreateLookupTable(), CreateMsvcProjectMakefileName(), CDense_diag::CreateRowSeq_interval(), CStd_seg::CreateRowSeq_loc(), CSetupFactory::CreateScoreBlock(), CSparseAln::CreateSegmentIterator(), CPluginValueConstraint::CreateSeqLenRange(), CSequenceEditingEventHandler::CreateSeqSubmit(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), CPagerBox::CreateSubNodes(), CSmallPagerBox::CreateSubNodes(), CPagerViewButtons::CreateSubNodes(), CPagerViewJavaLess::CreateSubNodes(), XSDParser::CreateTmpEmbeddedName(), CSeq_align::CreateTranslatedDensegFromNADenseg(), CRemoveSeqId::CRemoveSeqId(), CAsnIndex::CurrentLocationAsString(), CValidErrItem::CValidErrItem(), CNewCleanup_imp::DbtagBC(), CBlastQueryInfo::DebugDump(), CBlastEffectiveLengthsOptions::DebugDump(), DebugDumpRangeCRef(), DebugDumpRangeObj(), DebugDumpRangePtr(), CHTML_area::DefineCircle(), CHTML_area::DefinePolygon(), CHTML_area::DefineRect(), CCgi2RCgiApp::DefineRefreshTags(), DeleteBlastDb(), DeltaBlockModelToString(), CCigar::DetailedCigarString(), CSampleJob::Do(), CEJournalSearch::DoOneESummary(), COpenViewManager::DoTransition(), CIDs::Encode(), CEnumParser< TEnum, TParam >::EnumToString(), CTaxon1NodeConvertVisitor< TITaxon4Each, TITaxon1Node, TITreeIterator, TBioTreeContainer >::Execute(), CPhyTreeFormatter::ExpandCollapseSubtree(), CMapperMTArgs::ExtractAlgorithmOptions(), CBlastDBExtractor::ExtractHash(), CBlastDBExtractor::ExtractMembershipInteger(), CBlastDBExtractor::ExtractOid(), CBlastDBExtractor::ExtractPig(), CBlastDBExtractor::ExtractSeqLen(), CDistMethods::FastMeTree(), CGffRecord::FeatIdString(), CGtfReadRecord::FeatureKey(), CGffAlignRecord::FinalizeMatches(), CValidError_imp::FindCollidingSerialNumbers(), CSeq_id_General_Tree::FindMatch(), CNcbiApplicationAPI::FindProgramExecutablePath(), CFindPattern::FindRepeatsOf(), CRemoteAppLauncher::FinishJob(), CFlatIntQVal::Format(), CFlatNomenclatureQVal::Format(), CFlatPubSetQVal::Format(), CFlatXrefQVal::Format(), CHTMLFormatterEx::FormatLocation(), FormatRange(), CBlastMasterNode::FormatResults(), CRegistryFile::FromConfigFile(), CTMgr_IdentityId::FromMyNCBIId(), g_GetManipulatorError(), CValidError_bioseq::GapByGapInst(), CNetScheduleKeyGenerator::Generate(), CBlastAligner::GenerateAlignments(), CNetCacheKey::GenerateBlobKey(), CWsdlTypeStrings::GenerateClassCode(), CSeqIdGenerator::GenerateID(), CTextAlnReader::GenerateID(), GenerateWinItemPrefix(), CPdfDictionary::GenShaderID(), get_accession_from_id(), GetAccessionAndDatabaseSource(), CIntronGlyph::GetAccessoryLabel(), CSparseAln::GetAlnSeqString(), NSnpGui::GetBinTooltip(), GetBiosampleData(), GetBioseqWithFootprintForNthRow(), CTSE_Split_Info::GetChunk(), GetColumnSectionName(), CAddSecondary::GetCommand(), CExonFromCds::GetCommand(), CObjectCoords::GetCoordinates(), CDate_std::GetDate(), CField_type::GetDBLinkFieldFromUserObject(), CPrimeNumbersJob::GetDescr(), CSetTypeStrings::GetDestructionCode(), CListTypeStrings::GetDestructionCode(), CMapTypeStrings::GetDestructionCode(), GetDirectLabel(), CPluginManager_DllResolver::GetDllName(), CPluginManager_DllResolver::GetDllNameMask(), CFileSubpanel::GetFilename(), CPdfFontHandler::GetFontName(), CFormatGuess::GetFormatName(), CObjectStackFrame::GetFrameName(), CGeneticCodeColumn::GetFromFeat(), CApplyAuthorsTreeItemData::GetFunction(), CFastaOstream::GetGapModText(), CLabelRna::GetGenBankId(), CBLASTParams::GetGeneticCodeLabel(), CAlignFormatUtil::GetGnlID(), CObjectIStreamAsn::GetHexChar(), CTranslationGlyph::GetHTMLActiveAreas(), CAlnVecRow::GetHTMLActiveAreas(), CFeatureIdGenerator::GetIdFor(), CReorderSequencesDlg::GetIdLabel(), GetInternalStopErrorMessage(), GetInvalidSeqAlignTypeStr(), CSeq_featHandler::GetLabel(), CPhyloTreeLabel::GetLabel(), GetLabel(), CHitMatrixDataSource::GetLabel(), CRemoveSequencesDlg::GetLabel(), CFeatGlyph::GetLabel(), CDbtag::GetLabel(), CBioseq::GetLabel(), CSeq_id::GetLabel(), CInt_fuzz::GetLabel(), CCit_gen::GetLabelV1(), CBlastQuerySourceOM::GetLength(), CBlastQuerySourceBioseqSet::GetLength(), CSource_qual_choice::GetLimitedSourceQualFromBioSource(), CGuiObjectInfoSeq_align::GetLinks(), CGuiObjectInfoVariant::GetLinks(), CBlastDbDataLoader::GetLoaderNameFromArgs(), CSeqUtils::GetMappingInfo(), CSeq_annot_SplitInfo::GetName(), GetNumberOfContexts(), CBlastDbMetadata::GetNumberOfSequences(), CPager::GetPageInfo(), CDataLoaderFactory::GetPriority(), CNcbiArguments::GetProgramName(), CBuildAlnVecJob::GetProgress(), CBuildSparseAlnJob::GetProgress(), GetProjectID(), CDiagContext::GetProperty(), CTaxon2_data::GetProperty(), CDoiLookup::GetPubFromCrossRef(), CQuerySplitter::GetQueryFactoryForChunk(), CEFetch_Request::GetQueryString(), CEFetch_Sequence_Request::GetQueryString(), CELink_Request::GetQueryString(), CESearch_Request::GetQueryString(), CESummary_Request::GetQueryString(), CSearch_func::GetRegex(), CAlnMap::GetResidueIndexMap(), CAlnVecRow::GetRowStatistics(), CAlignFormatUtil::GetScoreString(), AlignmentUtility::GetSeqIdStringForRow(), GetSeqTableFromSeqEntry(), GetSequenceNucleotideBothStrands(), GetSequenceProtein(), GetSequenceSingleNucleotideStrand(), CSixFramesTransTrackFactory::GetSettings(), CGeneModelFactory::GetSettings(), CObjectStack::GetStackPath(), CObjectStack::GetStackTraceASN(), GetStartCodonErrorMessage(), CAutoOutputFileReset::GetStream(), CBDB_FieldInt4::GetString(), CBDB_FieldInt2::GetString(), CBDB_FieldUint2::GetString(), CVariant::GetString(), CCommentItem::GetStringForRefTrack(), CWriteUtil::GetStringsForGoMarkup(), GetStructureViaHTTPAndAddToCache(), CMacroAdvStringConstraintPanel< T >::GetTextConstraint(), GetTitle(), CLDBlockGlyph::GetTooltip(), CTranslationGlyph::GetTooltip(), CGuiObjectInfoSeq_align::GetToolTip(), CGuiObjectInfoClone::GetToolTip(), CGuiObjectInfoPrimer::GetToolTip(), CGuiObjectInfoVariant::GetToolTip(), CGuiObjectInfoVariation::GetToolTip(), CGen_code_table_imp::GetTransTable(), CWriteUtil::GetTrnaAntiCodon(), CValidError_bioseq::GetTSANStretchErrors(), CResolvedTypeSet::GetType(), CDB_Object::GetTypeName(), CBuildType::GetTypeStr(), IMacroBioDataIter::GetUnMatchedTableEntries(), CAlignFormatUtil::GetURLDefault(), CAlignFormatUtil::GetURLFromRegistry(), CArgAllowMaximumFileNameLength::GetUsage(), CEditingActionBiosourceDbxref::GetValue(), CEditingActionDescUserObject::GetValue(), CEditingActionDescLocalId::GetValue(), CEditingActionFeatDbxref::GetValue(), CEditingActionFeatTranslTable::GetValue(), CAlnSpanVertModel::GetValueAt(), CApplyPubQualTreeItemData::GetVariables(), CApplyAuthorsTreeItemData::GetVariables(), CDiscrepancyAutofixTreeItemData::GetVariables(), CMultAlign::GetVariationAlignList(), CMacroAdvStringConstraintPanel< T >::GetVars(), CBlastDbMetadata::GetVersion(), CBaseClusterer::IdToString(), COMSSABase::Init(), CBlastVdbCmdApp::Init(), CCompartApp::Init(), CAppNWA::Init(), CDbapiDriverSampleApp::Init(), CThreadedApp::Init(), CMultiApplication::Init(), CBlastDbCheckApplication::Init(), SegMaskerApplication::Init(), CSplitCacheApp::Init(), CAlnMixSequences::InitExtraRowsStartIts(), NJ_TreeAlgorithm::initializeNodes(), SLC_TreeAlgorithm::initializeNodes(), SNetCacheAPIImpl::InitiateWriteCmd(), CAlnMixSequences::InitRowsStartIts(), CSingleQualPanel::InsertField(), NStr::IntToString(), CTrackUtils::isInErrorStatus(), CGenBankLoadOptionPanel::IsInputValid(), CStringConstraint::IsInRange(), IsLocalID(), CComment_rule::IsValid(), AbstractLexer::LexerError(), StructureSet::LoadAlignmentsAndStructures(), CTraceDataProxy::LoadData(), CSGTraceGraphDS::LoadData(), StructureSet::LoadMaster(), CDataType::LocationString(), CDataValue::LocationString(), CDebugDumpContext::Log(), CAsn2AsnThread::Main(), CBlastnNode::Main(), CBlastpNode::Main(), CBlastxNode::Main(), CRPSBlastNode::Main(), CRPSTBlastnNode::Main(), CTblastnNode::Main(), RowSourceTable::makeCDRowKey(), CSearch< LEGACY, NHITS >::MakeModString(), CMSHits::MakeModString(), MakePluginManagerParamTree(), CUniqueLabelGenerator::MakeUniqueLabel(), CDiagMatcher::MatchErrCode(), CBDB_Env::MempTrickle(), CTime::MonthNumToName(), CNcbiTestParamTestCaseGenerator< ParamType, ParamIter >::next(), CDistMethods::NjTree(), CDemoApplication::NumAdderHook(), CTracingHandler::OnCommand_Range(), CCgiRequestProcessor::OnException(), CAgpRenumber::OnGapOrComponent(), CAgpToSeqEntry::OnGapOrComponent(), CQueryParsePanel::OnIdle(), CLDBlockGlyph::OnLeftDblClick(), CwxMainFrame::OnPostEventsClick(), CPreviewSetupDlg::OnScroll(), CDataMiningPanel::OnSearchFinished(), CTracingHandler::OnUpdateCommand_Range(), CGenBankUIDataSource::Open(), ctlib::Connection::Open(), value_slice::CValueConvert< CP, Int1 >::operator string(), value_slice::CValueConvert< CP, Int2 >::operator string(), value_slice::CValueConvert< CP, Int4 >::operator string(), CPhyTreeFormatter::CExpander::operator()(), CRepeatToFeat::operator()(), CSegMasker::operator()(), PConvertToString< TBlastDbId >::operator()(), PConvertToString< int >::operator()(), CSrvStrStream::operator<<(), operator<<(), operator>>(), CProjBulderApp::ParseArguments(), CObjectIStreamAsnBinary::PeekLongTag(), CJavaLogHandler::Post(), CValidError_imp::PostErr(), CLocalVDBBlast::PreprocessDBs(), CMacroRep::Print(), CDiagContext_Extra::Print(), CBlastFormatUtil::PrintDbInformation(), CAlignFormatUtil::PrintDbReport(), CBlastFormat::PrintReport(), PrintSAM(), PrintSeqIntUseBestID(), CArgDescMandatory::ProcessArgument(), CSplitCacheApp::ProcessBlob(), CSplitCacheApp::ProcessEntry(), CAltValidator::ProcessQueue(), SequenceDisplay::ProximitySort(), CNCActiveHandler::ProxyGetMeta(), CNCActiveHandler::ProxyGetSize(), CNCActiveHandler::ProxyProlong(), CNCActiveHandler::ProxyRead(), CNCActiveHandler::ProxyRemove(), CNCActiveHandler::ProxySetValid(), CNCActiveHandler::ProxyWrite(), CPsiBlastValidate::Pssm(), CFeatureTableReader_Imp::PutProgress(), CNcbiApplogApp::ReadCgiResponse(), ReadString(), CWriteDB_Impl::RegisterMaskAlgorithm(), RegistrySetInteger(), CStd_seg::RemapToLoc(), CCgiFontTestApp::Render(), CDrawingPanel::Render(), CGridCgiApplication::RenderRefresh(), CReorderStructuredComment::reorder_comment_by_rule(), CDB_RPCEx::ReportExtra(), CDB_SQLEx::ReportExtra(), CValidError_bioseq::ReportModifInconsistentError(), CEditSequence::ReportPos(), CAlignmentAssistant::ReportPos(), CEditSequence::ReportRange(), CAlignmentAssistant::ReportRange(), CPrimeNumbersJob::Run(), CDemoSeqQaApp::Run(), CBlastdbConvertApp::Run(), CIgBlastnApp::Run(), CDbapiTest::Run(), CSdbapiTest::Run(), CCgiApplication::Run(), CAgpValidateApplication::Run(), CDbapiTestSpeedApp::RunSample(), s_AddSeqIntString(), s_AddSeqPackedPointString(), s_AddSeqPointString(), s_AddSitesToAnnot(), s_BuiltInSM(), s_CheckAgainstNullData(), s_CheckDataStatus(), s_CheckMinWordSize(), s_CheckTraceMateAlign(), s_ChrName(), s_ComputeBtopAndIdentity(), s_ConvertValue(), s_CountBlastDbDataLoaders(), s_CreateTreeLeaf(), s_DeleteMakeprofileDb(), python::s_FillDescription(), s_FormatAA(), s_FormatErrors(), s_GetAlignmentTooltip(), s_GetBareId(), s_GetCigarString(), s_GetCodeBreak(), s_GetDeflineIdString(), s_GetFeatureIdLabel(), NSearchFeatPanel::s_GetFeatureLabel(), s_GetGOText(), s_GetLabel(), s_GetLinkoutUrl(), s_GetModelEvidance(), s_GetRandomTipID(), s_GetRoundNumber(), s_GetSeq_intervalLabel(), NSearchFeatPanel::s_GetSeq_TotalRangeLabel(), s_GetSeq_TotalRangeLabel(), s_GetTaxid(), s_GetTempSortedBamFile(), s_GetTempSortedBamFileNew(), s_GetUserObjectType(), s_Init(), s_Initialize(), s_InitProxyConfig(), s_IsGoodDescr(), s_IsMaskAlgoIdValid(), s_KeyVersionSubkeyToBlobID(), s_LOCK_Handler(), s_MakeKeyCondition(), s_MakeNewMasterSeq(), s_MakeOverflowFileName(), s_MakeTwoLeafTree(), s_MapBarTemplate(), s_MapLinkoutGenParam(), s_Render_SeqFeat(), s_ReplaceLocalId(), s_ScanRecursive(), s_SetAirrAlignmentInfo(), s_SetContainerData(), s_SetLeafIds(), s_StackWalker(), s_ToString(), CGvfWriteRecord::s_UniqueId(), s_ValidateSeqLiteral(), s_ValToString(), s_VerbosityText(), SBlastSequence::SBlastSequence(), CBrowserUtils::SendToBrowser(), SeqDB_FileIntegrityAssert(), SeqDB_SimplifySeqid(), CStructuredCommentsReader::SeqIdMatchesCommentId(), C5ColImportData::Serialize(), CBedImportData::Serialize(), CGtfImportData::Serialize(), SSnpFilter::SerializeTo(), CSeq_id::Set(), CTextseq_id::Set(), CTimeout::Set(), CIgBlastTabularInfo::SetAirrFormatData(), COffDiagonalRangeArg::SetArgumentDescriptions(), CLargestIntronSizeArgs::SetArgumentDescriptions(), CGeneticCodeArgs::SetArgumentDescriptions(), CPssmEngineArgs::SetArgumentDescriptions(), CPsiBlastArgs::SetArgumentDescriptions(), CMappingArgs::SetArgumentDescriptions(), CIgBlastArgs::SetArgumentDescriptions(), CFormattingArgs::SetArgumentDescriptions(), CMTArgs::SetArgumentDescriptions(), CRPSBlastMTArgs::SetArgumentDescriptions(), CMapperGenericSearchArgs::SetArgumentDescriptions(), CMapperLargestIntronSizeArgs::SetArgumentDescriptions(), CNCBINode::SetAttribute(), CLengthSubpanel::SetClusters(), CBlastNode::SetDataLoaderPrefix(), CTime::SetDay(), CTrackUtils::SetError(), CSingleQualPanel::SetField(), CFileIO::SetFilePos(), CSeqLocInfo::SetFrame(), CwxAlnStatOptionsDlg::SetGraphHeight(), CPluginValue::SetInteger(), CPdfObject::SetLineDashStyle(), CGffFeatureRecord::SetLocation(), CBedFeatureRecord::SetLocation(), CTar::SetMask(), CArchive::SetMask(), CWriteDB_Impl::SetMaskData(), CTime::SetMonth(), CBedFeatureRecord::SetNoThick(), CConversionResultPanel::SetObjects(), CwxPhyloSettingsDlg::SetParams(), CwxTreeLabelEdit::SetParams(), CAlnPropertiesDlg::SetParams(), CDataMiningPanel::SetRange(), CHTML_font::SetRelativeSize(), CGffAlignmentRecord::SetScore(), CGffBaseRecord::SetScore(), CBedFeatureRecord::SetScore(), CPhyloSelectionSetMgr::SetSelectionSetProperty(), python::CStmtStr::SetStr(), IMacroBioDataIter::STableToApply::SetTableToApply(), CBedFeatureRecord::SetThick(), CCompartOptions::SetupArgDescriptions(), CProSplignScoring::SetupArgDescriptions(), CProSplignOutputOptions::SetupArgDescriptions(), CSQLITE_Connection::SetupNewConnection(), IRWRegistry::SetValue(), CTime::SetYear(), sFormatInt(), sGenerateFields(), CGlBitmapFont::SizeFromInt(), CObjectIStreamAsn::SkipByteBlock(), UpdateViewer::SortByPSSM(), CGffBaseRecord::StrPhase(), CSeqTextPanel::STWH_ReportMouseOverPos(), CDUpdater::submitBlast(), CSuspect_rule::SummarizeEndDistance(), CSuspect_rule::SummarizeSearchFunc(), CPhyloNodeData::Sync(), TestOneStrainNew(), CMacroFunction_SwapRelFeatQual::TheFunction(), CBLASTParams::ToArgVec(), CCompareSeq_locs::SIntervalComparisonResultGroup::ToString(), BlockModel::toString(), CGlRect< TVPUnit >::ToString(), CSeqDB_AliasMask::ToString(), CDUpdateStats::toString(), CCompVal::ToString(), ToString(), CBDB_FieldInt4::ToString(), CBDB_FieldInt2::ToString(), CBDB_FieldUint2::ToString(), CGencollIdMapper::SIdSpec::ToString(), CMemberId::ToString(), CSequencingTechnologyPanel::TransferDataToWindow(), CStructuredCommentPanel::TransferDataToWindow(), CPdfObject::Tri(), IPhyloTreeRender::TTHH_GetTooltip(), CAlnMultiPane::TTHH_GetTooltip(), IPhyloTreeRender::TTHH_NeedTooltip(), CAlnMultiPane::TTHH_NeedTooltip(), CObjectIStreamAsnBinary::UnexpectedByte(), CObjectIStreamAsnBinary::UnexpectedMember(), CIntronValidator::Validate(), CGapFeatValidator::Validate(), CCreateSeqHistForTpa::ValidateAlignments(), CValidError_bioseq::ValidateBioseqContext(), CValidError_bioseq::ValidateDelta(), CValidError_bioseq::ValidateDeltaLoc(), CValidError_graph::ValidateGraphsOnBioseq(), CSubSource::ValidateLatLonCountry(), CValidError_bioseq::ValidateModifDescriptors(), CValidError_bioseq::ValidateMolInfoContext(), CValidError_bioseq::ValidateMoltypeDescriptors(), CValidError_bioseq::ValidateMultipleGeneOverlap(), CValidError_bioseq::ValidateNsAndGaps(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_imp::ValidateOrgName(), CValidError_bioseq::ValidateRawConst(), CValidError_bioseq::ValidateRepr(), CValidError_bioseq::ValidateSegRef(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_bioseq::ValidateSeqGap(), CValidError_bioseq::ValidateSeqId(), CValidError_bioseq::ValidateSeqLen(), CValidError_bioseq::ValidateWGSMaster(), WindowMaskerTaxidToDb(), ILineError::WriteAsXML(), CObjectOStreamJson::WriteEnum(), CId1FetchApp::WriteHistoryTable(), CObjectOStreamJson::WriteInt4(), CObjectOStreamAsn::WriteMemberId(), CTableImportListCtrl::WriteWidths(), CBioseq_Base_Info::x_AddExistingUserObjectTypes(), CFeatureSearchJob::x_AddFeatToResults(), CPhyTreeFormatter::x_AddFeaturesForInnerNodes(), CFeatureItem::x_AddFTableCdregionQuals(), CFeatureItem::x_AddFTableDbxref(), CGuiObjectInfoSeq_feat::x_AddGroupLocationRows(), CPageList::x_AddImageString(), CPageList::x_AddInactiveImageString(), CGuiObjectInfoSeq_feat::x_AddLocationRows(), CGuiObjectInfoSeq_feat::x_AddPositionRows(), CDBSourceItem::x_AddSPBlock(), CCpgSearchJob::x_AddToResults(), CSequenceSearchJob::x_AddToResults(), COrfSearchJob::x_AddToResults(), CAlnTableDS::x_AdjustColumns(), CMultiAligner::x_AlignProfileProfileUsingHit(), CTar::x_Append(), CTraversalMerger::CNodeLabeler::x_AppendDirectNodeLabel(), CGvfWriteRecord::x_AssignAttributeEndRange(), CGvfWriteRecord::x_AssignAttributeStartRange(), CMultiAligner::x_AttachClusterTrees(), CVecscreen::x_BuildHtmlBar(), CAlnGraphic::x_BuildHtmlTable(), CDisplaySeqalign::x_CalcUrlLinksParams(), CMacroFunction_StringConstraints::x_CheckConstraintContainer(), CMacroFunction_StringConstraints::x_CheckConstraintWithinClass(), CSQLITE_Connection::x_CheckFlagsValidity(), CTraversalNode::x_CloneWithoutCallers(), CPhyTreeFormatter::x_CollapseSubtrees(), CEditSeqId::x_CollectChangedIds(), CSequenceDataTester::x_CompareSequenceData(), CQualScoreWriter::x_ComposeHeaderEnding(), CPhyTreeCalc::x_ComputeTree(), CFeaturePanel::x_ConfigureTracks(), CODBC_Connection::x_Connect(), CMacroFunction_SwapQual::x_CopyFields(), CSGAlignmentJob::x_CreateAlignGlyphsForCrossOriginAlign(), CSGFeatureJob::x_CreateCrossOriginGlyphs(), CSGFeatureJob::x_CreateFeatSmear(), CSGFeatureJob::x_CreateFeature1(), CProjectServiceTestJob::x_CreateItems(), CwxMainFrame::x_CreateNextItem(), CPageHandler::x_CreatePrintersMarks(), CBLASTSeqToolJob::x_CreateProjectItems(), CMergeAlignmentsJob::x_CreateProjectItems(), CTaxTreeToolJob::x_CreateProjectItems(), CTreeBuilderJob::x_CreateProjectItems(), CDumpASNIndex::x_CreateRootDir(), CShowBlastDefline::x_DisplayDefline(), CShowBlastDefline::x_DisplayDeflineTableBody(), CAlnGraphic::x_DisplayMaster(), CDisplaySeqalign::x_DisplayRowData(), CDisplaySeqalign::x_DisplaySequenceIDForQueryAnchored(), CDisplaySeqalign::x_DisplaySequenceLine(), CNCMessageHandler::x_DoCmd_GetMeta(), CServer::x_DoRun(), CComponentSearchJob::x_DoSearch(), CDownloadJob::x_DownloadAndExtract(), CBinsGlyph::x_Draw(), CLDBlockGlyph::x_Draw(), CGeneGroup::x_Draw(), CLayoutGroup::x_Draw(), CAlnStatGlyph::x_DrawDensityTable(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CPageHandler::x_DrawPanelLink(), CAlignGlyph::x_DrawTailGlyphs(), CPssmEngine::x_ErrorCodeToString(), CSGSegmentMapJob::x_Execute(), CPhyTreeFormatter::x_Expand(), CAlnMix::x_ExtendDSWithWidths(), CMTArgs::x_ExtractAlgorithmOptions(), CTar::x_ExtractEntry(), CShowBlastDefline::x_FillDeflineAndId(), CAlnMap::x_FindClosestSeqPos(), CMaskInfoRegistry::x_FindNextValidIdWithinRange(), CDrawingPanel::x_FindWidthDrawingArea(), CDisplaySeqalign::x_FormatAlignSortInfo(), CDisplaySeqalign::x_FormatAlnBlastInfo(), CShowBlastDefline::x_FormatClusterMemData(), CShowBlastDefline::x_FormatClusterMemDataTxt(), CDBSourceItem::x_FormatDBSourceID(), CDisplaySeqalign::x_FormatDefLinesHeader(), CShowBlastDefline::x_FormatDeflineTableLine(), CShowBlastDefline::x_FormatDeflineTableLineCSV(), CShowBlastDefline::x_FormatDeflineTableLineText(), CDisplaySeqalign::x_FormatDynamicFeaturesInfo(), CAlnGraphic::x_FormatGraphOverview(), CDisplaySeqalign::x_FormatIdentityInfo(), CFtableFormatter::x_FormatLocation(), CAlnGraphic::x_FormatScale(), CDisplaySeqalign::x_FormatSingleAlign(), CCommentItem::x_GatherDescInfo(), CGsdbComment::x_GatherInfo(), CReferenceItem::x_GatherRemark(), CPhyloTreeLabel::x_GenerateAutoLabel(), CBlastFormat::x_GenerateJSONMasterFile(), CBlastFormat::x_GenerateXML2MasterFile(), CAlnVecRow::x_GetAlignmentTooltip(), CAlnVecRow::x_GetAlignmentTooltip_General(), CAlnVecRow::x_GetAlignmentTooltip_Helper(), CGuiObjectInfoSeq_align::x_GetAlignmentTooltip_Insert(), CAlnVecRow::x_GetAlignmentTooltip_Unaligned(), CPdf::x_GetAlphaGraphicsState(), CPhyTreeFormatter::x_GetBioNode(), CFileDBEngine::x_GetCmdFileName(), CFastaOstreamEx::x_GetCodeBreak(), CCreateGeneModelTask::x_GetCommand(), CAlnVecRow::x_GetDescrTooltip(), CMacroParser::x_GetErrorLocation(), CAsn2FastaApp::x_GetFastaOstream(), CFeatGlyph::x_GetFeatureId(), CHG_Gene::x_GetGeneidLabel(), IImageGrabber::x_GetImageName(), x_GetLabel_Content(), CAlignSeqTableModel::x_GetLength(), CGuiObjectInfoSeq_feat::x_GetLocLengthRow(), CAsnElementItem::x_GetMemberId(), CTracingHandler::x_GetMethodTrace(), CUpdateSeqPanel::x_GetNameAndLength(), CShortReadFastaInputSource::x_GetNextSeqId(), CGuiObjectInfoSeq_feat::x_GetProductLengthRow(), CCachedTaxon3::x_GetReplyForOrgRef(), CAlnMultiRenderer::x_GetRowTooltip(), CDisplaySeqalign::x_GetSegs(), CAlnMap::x_GetSeqLeftSeg(), CAlnMap::x_GetSeqRightSeg(), IOperateOnTwoQuals::x_GetSourceString(), CPrimaryItem::x_GetStrForPrimary(), CAlignGlyph::x_GetTailLabelWidth(), CAlignedFeatureGraph::x_GetTooltip(), CCommonComponentScorer::x_GetUserCompList(), CTime::x_Init(), CShowBlastDefline::x_InitDefline(), CDisplaySeqalign::x_InitDefLinesHeader(), CShowBlastDefline::x_InitDeflineTable(), CShowBlastDefline::x_InitFormattingInfo(), CAsn2FastaApp::x_InitOStreams(), CPhyTreeFormatter::x_InitTreeFeatures(), CConservationScoringMethod::x_IsConserved(), CBlastAppArgs::x_IssueWarningsForIgnoredOptions(), CwxSeqTextViewOptions::x_LoadSettings(), CAgpconvertApplication::x_LoadTemplate(), CHTMLPage::x_LoadTemplateLib(), x_Lock(), x_Log(), NSnpGui::x_MakeClinVarLink(), CVDBGraphSeqIterator::x_MakeGraph(), NSnpGui::x_MakeVarVuLink(), CDisplaySeqalign::x_MapDefLine(), CProjectServiceTestJob::x_ModifyItems(), NStr::x_NumericToString(), CSixFramesTransTrack::x_OnIconClicked(), CSegmentMapTrack::x_OnJobCompleted(), CPhyTreeNodeGroupper::x_OnStepDown(), CPhyTreeNodeAnalyzer::x_OnStepDown(), CPhyTreeNodeGroupper::x_OnStepLeft(), CPhyTreeNodeAnalyzer::x_OnStepLeft(), CPhyTreeNodeGroupper::x_OnStepRight(), CPhyTreeNodeAnalyzer::x_OnStepRight(), CSeqDBVol::x_OpenAllColumns(), SAliasFileData::x_Parse(), CGFFReader::x_ParseAndPlace(), CDisplaySeqalign::x_PrepareRowData(), CBlastDBCmdApp::x_PrintBlastDatabaseInformation(), CDisplaySeqalign::x_PrintDefLine(), CDisplaySeqalign::x_PrintFeatures(), CBlastTabularInfo::x_PrintSeqalignCoverage(), CBlastTabularInfo::x_PrintSubjectCoverage(), CBlastTabularInfo::x_PrintUniqSubjectCoverage(), CXcompareAnnotsApplication::x_ProcessComparison(), CBlastOptionsBuilder::x_ProcessOneOption(), CXcompareAnnotsApplication::x_ProcessSeqAlignSetFromFile(), CObjectStack::x_PushStackPath(), variation::CHgvsParser::x_raw_seq(), x_Reg(), CGlPreviewSetupWidget::x_Render(), CXmlValueItem::x_RenderXml(), CSingleFeatValidator::x_ReportAcceptorSpliceSiteReadErrors(), CHugeFileValidator::x_ReportCollidingSerialNumbers(), CSingleFeatValidator::x_ReportDonorSpliceSiteReadErrors(), CRNAValidator::x_ReportRNATranslationProblems(), CCdregionValidator::x_ReportTranslationMismatches(), CCdregionValidator::x_ReportTranslationProblems(), CMultiAligner::x_Run(), CFeaturePanel::x_SaveSettings(), CAlignmentTrack::x_SaveSettings(), CSixFramesTransTrack::x_SaveSettings(), CFeatureSearchJob::x_SearchFeatures(), CNCActiveHandler::x_SendCopyProlongCmd(), CNCActiveHandler::x_SendCopyPutCmd(), CTSE_Info::x_SetBioseq_setId(), CFeatureGenerator::SImplementation::x_SetExceptText(), CReportEntry::x_SetHgvs(), CDeflineGenerator::x_SetSuffix(), CDeflineGenerator::x_SetTitleFromPatent(), CSubmissionWizard::x_SetTool(), CMakeProfileDBApp::x_SetupArgDescriptions(), CDB_Exception::x_StartOfWhat(), CSequenceDataTester::x_TestSingleNucleotide_Remote(), CSequenceDataTester::x_TestSingleProtein_Remote(), CSequenceDataTester::x_TestSingleSequence_Remote(), CMakeProfileDBApp::x_UpdateCobalt(), CSixFramesTransTrack::x_UpdateData(), CBLAST_DB_Dialog::x_UpdateFilterStatusText(), CSeq_annot_Info::x_UpdateName(), SSNP_Info::x_UpdateSeq_featData(), CAlignSpanView::x_UpdateStatusMessage(), CFeatTableView::x_UpdateStatusMessage(), CSixFramesTransTrack::x_UpdateTitle(), CValidError_bioseq::x_ValidateCDSmRNAmatch(), CCdregionValidator::x_ValidateGeneticCode(), CValidError_graph::x_ValidateGraphOnDeltaBioseq(), CSingleFeatValidator::x_ValidateImpFeatLoc(), CMultiAligner::x_ValidateInputMSAs(), CValidError_graph::x_ValidateMaxValues(), CValidError_graph::x_ValidateMinValues(), CSingleFeatValidator::x_ValidateSeqFeatDataType(), CValidError_align::x_ValidateStrand(), CRNAValidator::x_ValidateTrnaCodons(), CAgpValidateApplication::x_ValidateUsingFiles(), CTar::x_WriteEntryInfo(), CVcfWriter::x_WriteFeatureId(), CVcfWriter::x_WriteFeatureInfo(), CBlastFormat::x_WriteXML2(), CGff3Writer::xAssignAlignmentDensegTarget(), CGff3FlybaseWriter::xAssignAlignmentDensegTarget(), CGff3Writer::xAssignAlignmentSplicedTarget(), CGff3FlybaseWriter::xAssignAlignmentSplicedTarget(), CGff2Writer::xAssignFeatureAttributeTranslationTable(), CGff3Writer::xAssignFeatureEndpoints(), CGff3FlybaseWriter::xAssignTaxid(), CGtfReader::xCreateFeatureId(), CSrcWriter::xGatherDb(), CSrcWriter::xGatherOrgModFeat(), CSrcWriter::xGatherPcrPrimers(), CSrcWriter::xGatherSubtypeFeat(), CSrcWriter::xGatherTaxonId(), CBedTrackRecord::xImportKeyValuePairs(), CBedImportData::xInitializeRgb(), seqsubmit_split::CSeqSubSplitter::xInitOutputStream(), CGff3Reader::xNextGenericId(), CUCSCRegionReader::xParseFeature(), CUCSCRegionReader::xParseFeatureUCSCFormat(), CFeatTableEdit::xPutErrorMissingLocustag(), CFeatTableEdit::xPutErrorMissingProteinId(), CFeatTableEdit::xPutErrorMissingTranscriptId(), CBedReader::xSetFeatureColorFromItemRgb(), CBedReader::xSetFeatureTitle(), seqsubmit_split::CSeqSubSplitter::xTryProcessSeqEntries(), CGff3Writer::xWriteFeatureRecords(), CWiggleWriter::xWriteSingleGraphFixedStep(), and CTime::YearWeekNumber().
|
static |
Convert int to string.
out_str | Output string variable. |
value | Integer value to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 1863 of file ncbistr.cpp.
|
inlinestatic |
Definition at line 5096 of file ncbistr.hpp.
References flags, NStr::IntToString(), and rapidjson::value.
|
inlinestatic |
Definition at line 5087 of file ncbistr.hpp.
References flags, NStr::IntToString(), and rapidjson::value.
|
static |
Check if a string is blank (has no text).
str | String to check. |
pos | starting position (default 0) |
Definition at line 106 of file ncbistr.cpp.
References isspace(), len, and str().
Referenced by CMiscSeqTableColumn::AddApplyObjectValue(), AddAssemblyUserFieldsFromSeqTable(), CExportTableDlg::AddBioSource(), AddBioSourceToAttributes(), CSourceRequirements::AddColumnsToSeqTable(), CPseudoPanel::AddCommand(), CExceptionPanel::AddCommand(), AddContact(), AddException(), AddExon(), CFeatureTableReader_Imp::AddFeatQual(), AddFeatureSeqTableRowToSeqEntry(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), CReadUtil::AddGeneOntologyTerm(), AddMiscRNAFeatures(), AddModToDefline(), AddModVectorToDefline(), AddNamedrRna(), CSeqSearch::AddNucleotidePattern(), CBulkCDSAddPanel::AddOneCmd(), CBulkOtherAddPanel::AddOneCommand(), CBulkRNAAddPanel::AddOneCommand(), CAlignCDSAddPanel::AddOneCommand(), CAlignRNAAddPanel::AddOneCommand(), CAlignOtherAddPanel::AddOneCommand(), AddOrgToDefline(), CCleanup::AddPartialToProteinTitle(), CSpecificHostRequest::AddReply(), CSourceRequirements::AddRequirement(), CPCRSetList::AddRevName(), CPCRSetList::AddRevSeq(), CImportFeatTable::AddSeqAnnotToSeqEntry(), COrgMod::AddStructureToVoucher(), CAutoDefExonListClause::AddSubclause(), CSrcTableSubSourceColumn::AddToBioSource(), CSrcTableOrgModColumn::AddToBioSource(), CSrcTableDbxrefColumn::AddToBioSource(), CSrcTaxnameAfterBinomialColumn::AddToBioSource(), CSrcStructuredVoucherPartColumn::AddToBioSource(), CPartialStartColumn::AddToFeature(), CPartialStopColumn::AddToFeature(), CCommentColumn::AddToFeature(), CExceptionColumn::AddToFeature(), CGbQualColumn::AddToFeature(), CSatelliteColumn::AddToFeature(), CSatelliteTypeNameColumn::AddToFeature(), CProductColumn::AddToFeature(), CProtRefColumn::AddToFeature(), CValidError::AddValidErrItem(), CValidMessageHandler::AddValidErrItem(), IMessageHandler::AddValidErrItem(), AddValueToString(), AdjustBacterialGeneForCodingRegionWithShortIntron(), CAdjustForConsensusSpliceSite::AdjustCDS(), CSrcTableDbxrefColumn::AllowMultipleValues(), AlreadyHasFeature(), CHgvsParser::Apply(), ApplyChimeraValuesTableToSeqEntry(), ApplyDBLinkValuesTableToSeqEntry(), ApplyFeatureSeqTableToSeqEntry(), SrcEditDialog::ApplySrcTableToSeqEntry(), CSpecificHostMapForFix::ApplyToOrg(), AreAllColumnValuesTheSame(), AreAnyColumnValuesMissing(), AreAnyColumnValuesPresent(), CAutoDefFeatureClause_Base::AssignGeneProductNames(), CBioSourceAutoComplete::AutoFill(), CBioSource::AutoFix(), COrgMod::AutoFix(), CSubSource::AutoFix(), CProt_ref::AutoFixEC(), CFieldChoicePanel::AutoMatch(), CFieldChoicePanel::AutoMatchFeat(), CFieldChoicePanel::AutoMatchRNA(), CValidator::BadCharsInAuthorName(), CBioSource::BiosampleDiffsOkForUpdate(), BioSourceFromImpFeat(), BOOST_AUTO_TEST_CASE(), CGb_qual::BuildExperiment(), CachedTaxonomyLookupCommand(), CHugeMacroContext::CacheTaxnames(), CEditObjectSeq_feat::CanClose(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefParsedIntergenicSpacerClause::CAutoDefParsedIntergenicSpacerClause(), CAutoDefParsedRegionClause::CAutoDefParsedRegionClause(), CAutoDefParsedtRNAClause::CAutoDefParsedtRNAClause(), CFlatInferenceQVal::CFlatInferenceQVal(), CGoTermSortStruct::CGoTermSortStruct(), CGridRPCBaseClient< CAsnBinCompressed >::CGridRPCBaseClient(), CheckAutoDefOptions(), CSubSource::CheckCellLine(), CheckDate(), CValidError_bioseq::CheckForMultipleStructuredComments(), CComment_rule::CheckGeneralFieldName(), CheckInfluenzaDefline(), CSeq_id::CheckLocalID(), COrgMod::CheckMultipleVouchers(), CTaxValidationAndCleanup::CheckOneOrg(), CSeqTechDlg::CheckSequencingTechnology(), CSourceRequirements::CheckSourceQuals(), CheckStrainReply(), CLatLonCountryId::Classify(), CPubCleaner::CleanImprint(), CCleanup::CleanupAuthor(), CGb_qual::CleanupRptUnitRange(), CleanVisStringContainer(), CleanVisStringContainerJunk(), CSrcStructuredVoucherPartColumn::ClearInBioSource(), CMiscSeqTableColumn::ClearValCmd(), ConfigureParamsForPrefixCombo(), CConvertCDSToRNA::Convert(), CConvertBioSrcToRptRegion::Convert(), CConvertImpToProt::Convert(), CConvertProtToImp::Convert(), CConvertImpToCDS::Convert(), CConvertImpToGene::Convert(), CConvertToBond::Convert(), CConvertToSite::Convert(), CAuth_list::ConvertMlToStandard(), CAuthor::ConvertMlToStandard(), ConvertProteinToImp(), CCleanup::ConvertPubFeatsToPubDescs(), ConvertRegulatoryFeature(), ConvertTableColumns(), ConvertToMiscFeature(), CopyTableColumns(), SrcEditDialog::CountColumnRowConflicts(), CountColumnRowConflicts(), CountColumnValueConflicts(), CMiscSeqTableColumn::CountConflicts(), CountDefLineConflicts(), CountInternalStopCodons(), CStructuredCommentTableColumnBaseFactory::Create(), IActionPanel::CreateAction1(), IActionPanel::CreateAction2_imp(), CBiosampleChkApp::CreateBiosampleUpdateWebService(), CSeqIdFixDlg::CreateControls(), CGBQualPanel::CreateControls(), CCitationsPanel::CreateControls(), CFeatureGenePanel::CreateControls(), CGenericPropsPanel::CreateControls(), CImportFeaturePanel::CreateControls(), CQualChoicePanel::CreateEditingAction(), CreateEntryBioseq(), CSpecificHostRequest::CSpecificHostRequest(), CStrainRequest::CStrainRequest(), CSubSource::DateFromCollectionDate(), CNewCleanup_imp::DbtagBC(), CAutoDefFeatureClause_Base::DisplayAlleleName(), CLatLonMap_Base::DoCountryBoxesOverlap(), DoDiffsContainConflicts(), DoesApplyObjectMatchFieldConstraint(), DoesObjectMatchFieldConstraint(), IEditingAction::DoParseFrom(), CTaxValidationAndCleanup::DoTaxonomyUpdate(), CAliasTest::DoTest(), CName_std::ExtractSuffixFromLastName(), FeatureClauseFactory(), SrcEditDialog::FindBadColumns(), SrcEditDialog::FindBadRows(), FindBadRows(), CAutoDefFeatureClause::FindBestParentClause(), CLatLonMap_Base::FindClosestToLatLon(), CAutoDefFeatureClause_Base::FindGeneProductName(), FindInstCodeAndSpecID(), FindMatchInOrgRef(), FindModifierOnBioseq(), FindOrgNames(), CValidError_align::FindSegmentGaps(), CSubSource::FixAltitude(), COrgMod::FixCapitalization(), CSubSource::FixCapitalization(), FixCapitalizationInString(), CSubSource::FixDateFormat(), FixInitials(), CGb_qual::FixMobileElementValue(), CTaxValidationAndCleanup::FixOneSpecificHost(), CCleanup::FixRNAEditingCodingRegion(), FixStateAbbreviationsInAffil(), COrgMod::FixStructuredVoucher(), SrcEditDialog::FixTableAfterImport(), FixTableAfterImport(), FixupMouseStrain(), CFlatNumberQVal::Format(), CFlatXrefQVal::Format(), CFlatModelEvQVal::Format(), CFlatProductNamesQVal::Format(), CGenbankFormatter::FormatAccession(), CValidErrorFormat::FormatCategoryForSubmitterReport(), CValidErrorFormat::FormatCompleteSubmitterReport(), CValidErrorFormat::FormatForSubmitterReport(), fta_if_wgs_acc(), g_ApplyMods(), g_InstantiateMissingProteins(), CNewCleanup_imp::GBQualSeqFeatBC(), GenBankIndex(), GenerateInitials(), GetAccessionFromObjects(), CValidError_feat::GetAccessionsFromInferenceString(), CIdResolver::GetAccessionVersion(), IEditingAction::GetActionCommand(), GetAlternateEmailAddress(), GetAuthorString(), IActionPanel::GetAutopopulateValue(), GetBiosampleStatus(), CValidErrorFormat::GetBioseqSetLabel(), CSubmitBlockDlg::GetBlockProblems(), CSourceFieldNamePanel::GetChoices(), CSubmitBlockDlg::GetCitGen(), CSubmitBlockDlg::GetCitGenProblems(), CAutoDefFeatureClause::GetClauseType(), CAddDefLineDlg::GetCommand(), CBulkOtherAddPanel::GetCommand(), CBulkRNAAddPanel::GetCommand(), CBulkCDSAddPanel::GetCommand(), CCdsFromGeneMrnaExon::GetCommand(), CConvertCdsToMiscFeat::GetCommand(), CConvertFeatDlg::GetCommand(), CCorrectGenesDialog::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CFuseFeaturesDlg::GetCommand(), CGeneFeatFromOtherFeatDlg::GetCommand(), CIGSPanel::GetCommand(), CmRNAFromGeneCdsExon::GetCommand(), CPrefixDeflinedlg::GetCommand(), CRemoveTextInsideStrDlg::GetCommand(), CRNANamePanel::GetCommand(), CSeqTechDlg::GetCommand(), CtRNAFromGene::GetCommand(), CVirusNonCodingFeaturesPanel::GetCommand(), CAlignRNAAddPanel::GetCommand(), CAlignOtherAddPanel::GetCommand(), CReplaceSingleFieldPanel::GetCommand(), CStructuredCommentCommandConverter::GetCommandFromValuesTable(), CValidErrorFormat::GetDescriptorContent(), GetDocSumLabel(), CBulkOtherAddPanel::GetErrorMessage(), CBulkRNAAddPanel::GetErrorMessage(), CBulkCDSAddPanel::GetErrorMessage(), CIGSPanel::GetErrorMessage(), CSeqTechDlg::GetErrorMessage(), CSubmitBlockDlg::GetErrors(), GetExistingTextInstruction(), NMacroUtil::GetFeatSubtype(), CValidErrorFormat::GetFeatureIdLabel(), CValidErrorFormat::GetFeatureLabel(), CStructCommentFieldPanel::GetFieldName(), CFieldChoicePanel::GetFieldName(), CFeatureFieldNamePanel::GetFieldName(), CRNAFieldNamePanel::GetFieldName(), CDualRNAFieldNamePanel::GetFieldName(), CDualRNAFieldNamePanel::GetFieldName2(), GetFieldsByName(), GetFieldValueAsString(), CIGSFlankPanel::GetFlankLabel(), CSrcTableDbxrefColumn::GetFromBioSource(), CSrcTableAllPrimersColumn::GetFromBioSource(), CGbQualColumn::GetFromFeat(), CSatelliteTypeNameColumn::GetFromFeat(), GetGoTermErrors(), CIGSFlankPanel::GetIGSLabel(), CTableDataBioTreeContainer::GetIntValue(), CPubField::GetJournal(), CInfluenzaSet::GetKey(), CBulkLocationPanel::GetLocForBioseq(), NMacroUtil::GetLocusTagFromGene(), CAutoDef::GetOneDefLine(), CAutoDef::GetOneFeatureClauseList(), GetPrimerSetSeqValues(), CCDSTranslationPanel::GetProductId(), CCleanup::GetPubdescLabels(), GetPubdescLabels(), CDoiLookup::GetPubFromCrossRef(), CPubField::GetPubTitle(), GetPubTitleAndAuthors(), SrcEditDialog::GetQualChoices(), CTableDataBioTreeContainer::GetRealValue(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), GetSeqIdProblems(), CAlnWriter::GetSeqString(), GetSeqTableFromSeqEntry(), CAutoDefModifierCombo::GetSourceDescriptionString(), CCommentItem::GetStringForTLS(), CCommentItem::GetStringForTSA(), CCommentItem::GetStringForWGS(), CSubmitBlockDlg::GetSubmitBlock(), GetTargetedLocusName(), GetTargetedLocusNameConsensus(), CMolInfoFieldType::GetTechFromLabel(), GetTextObjectDescription(), CDiscrepancyObject::GetTextObjectDescription(), CAuthorizedAccessPanel::GetUser_object(), CRefGeneTrackingPanel::GetUser_object(), CGeneralIDField::GetVal(), GetValidatorLocationLabel(), CPubField::GetVals(), CSrcTableDbxrefColumn::GetValsFromBioSource(), CSrcTableSubSourceColumn::GetValsFromBioSource(), CSrcTableColumnBase::GetValsFromBioSource(), CSrcStructuredVoucherPartColumn::GetValsFromBioSource(), CAltitudePanel::GetValue(), CInferencePanel::GetValue(), CLatLonPanel::GetValue(), CMultipleAssemblyProgramPanel::GetValue(), CSingleAssemblyProgramPanel::GetValue(), CVoucherPanel::GetValue(), CRptTypePanel::GetValue(), CRptUnitRangePanel::GetValue(), CTwoPartQualPanel::GetValue(), CAutoDefFeatureClause_Base::GroupSegmentedCDSs(), HasAuthor(), HasCultureCollectionForATCCStrain(), HasECnumberPattern(), CValidError_imp::HasName(), HasNoAffiliation(), HasStrainForATCCCultureCollection(), CValidError_imp::HasTitle(), HasUnpubWithoutTitle(), COrg_ref::HasValidVariety(), CNewCleanup_imp::ImpFeatBC(), CImportFeatTable::ImportFeaturesFromClipboard(), CImportFeatTable::ImportFeaturesFromFile(), CTaxValidationAndCleanup::IncrementalSpecificHostMapUpdate(), CAutoDefIntergenicSpacerClause::InitWithString(), InterpretSpecificHostResult(), CSubSource::IsAltitudeValid(), CAuthorNamesPanel::IsAuthorEmpty(), IsBlankStringList(), CSubSource::IsChromosomeNameValid(), CLatLonMap_Base::IsClosestToLatLon(), CLinePreBuffer::IsCommentLine(), CSubSource::IsCorrectLatLonFormat(), IsCrossKingdom(), CCleanup::IsEmpty(), CCommentDescField::IsEmpty(), CDefinitionLineField::IsEmpty(), CFileIDField::IsEmpty(), CLocalIDField::IsEmpty(), CAutoDefFeatureClause::IsExonWithNumber(), CAttribTableColumnIdPanel::IsInputValid(), COrgMod::IsINSDCValidTypeMaterial(), CAutoDefFeatureClause::IsInsertionSequence(), CGoTermSortStruct::IsLegalGoTermType(), CGb_qual::IsLegalMobileElementValue(), CSubSource::IsLinkageGroupNameValid(), IsMappablePair(), IsMatchingIdMissing(), CLatLonMap_Base::IsNearLatLon(), CTaxValidationAndCleanup::IsOneSpecificHostValid(), CSingleAuthorPanel::IsPlaceholder(), CSubSource::IsPlasmidNameValid(), CGenericPropsPanel::IsPseudo(), CAutoDefFeatureClause::IsSatellite(), CEditingActionGeneralIdTag::IsSetValue(), COrgMod::IsStructuredVoucherValid(), COrg_ref::IsSubspeciesValid(), IsSynonymForFalse(), CComment_rule::IsValid(), CPCRPrimerSeq::IsValid(), CRptUnitRangeColumn::IsValid(), CSatelliteTypeNameColumn::IsValid(), CSrcTableGenomeColumn::IsValid(), CSrcTableOriginColumn::IsValid(), CProt_ref::IsValidECNumberFormat(), IsValidEmail(), COrg_ref::IsVarietyValid(), CLatLonPanel::IsWellFormatted(), CSrcModCheckboxPanel::IsWellFormatted(), CAutoDefExonListClause::Label(), CAutoDefFeatureClause_Base::ListClauses(), CSpecificHostRequest::ListErrors(), CTaxValidationAndCleanup::ListTaxLookupErrors(), CTbl2AsnApp::LoadAdditionalFiles(), LoadFeat(), CTextAlignObjectLoader::LoadFromStream(), CTableImportDataSource::LoadTable(), CFieldChoicePanel::LooksLikeHeader(), CDoiLookup::LookupIsojta(), CUser_object::CRefGeneTrackingAccession::MakeAccessionField(), MakeOriginalIdField(), MakeRegulatoryFeatureTest(), CCleanup::MakeSmallGenomeSet(), COrgMod::MakeStructuredVoucher(), CAutoDefOptions::MakeUserObject(), CStructuredCommentField::MakeUserObject(), CExpectedError::Match(), CReferenceItem::Matches(), MergeStringVectors(), CGenericPropsPanel::ModifyPseudo(), CCleanup::MoveFeatToProtein(), CNewCleanup_imp::MoveStandardName(), fix_pub::MULooksLikeISSN(), CSingleSequencePanel::NeedsRow(), CCleanup::NormalizeGeneQuals(), CComment_rule::NormalizePrefix(), CSelectFeatures::OnAccept(), COkCancelPanel::OnAcceptBtnClick(), CSingleRefGeneTrackLocPanel::OnAccessionTxtTextUpdated(), CBulkRNAAddPanel::OnAdd16StoComment(), CAlignRNAAddPanel::OnAdd16StoComment(), CBulkRNAAddPanel::OnAdd18SToComment(), CAlignRNAAddPanel::OnAdd18SToComment(), SrcEditDialog::OnAddQual(), CBulkFeatureAddDlgStd::OnApplyClick(), CCorrectRNAStrandDlg::OnAutocorrectStrandBtnClick(), CRemarksAndSerialNumberPanel::OnButtonClick(), CSingleCDSExceptionPanel::OnChoice14Selected(), CAppendModToOrgDlg::OnChoiceChanged(), CCompareWithBiosample::OnClickOk(), CSingleRefGeneTrackLocPanel::OnCommentTxtTextUpdated(), CSrcModPanel::OnEditorChange(), CSubmitBlockDlg::OnExportBtnClick(), CGenericPanel::OnGenericReportFindClick(), CGenericPanel::OnGenericReportFindClick2(), CSingleRefGeneTrackLocPanel::OnGiTxtTextUpdated(), CApplyRNAITSDlg::OnGoClick(), CTblEditDlg::OnImportTableClick(), CJournalPanel::OnJournalLookupIsojtaClick(), CAECRFrame::OnKeyDown(), CEditMacroDlg::OnListItemSelected(), SrcEditDialog::OnLoadqualsClick(), SrcEditDialog::OnQualchoiceSelected(), CSubPrepFieldEditor::OnRegisterHyperlinkClicked(), CCDSTranslationPanel::OnRetranslateOnOkChanged(), CTextSubpanel::OnSelectButton(), CSelectTargetDlg::OnSelTargetAcceptClick(), CSingleRefGeneTrackLocPanel::OnStartTxtTextUpdated(), CSingleRefGeneTrackLocPanel::OnStopTxtTextUpdated(), CTwoPartQualPanel::OnTextctrl28TextUpdated(), CSingleDbxref_SubPanel::OnTextctrl32TextUpdated(), CMultipleAssemblyProgramPanel::OnVersionEntered(), CApplyMods::operator()(), LessThan::operator()(), SAuthorEmpty::operator()(), SRemovableOldname::operator()(), CNewCleanup_imp::OrgnameBC(), CFastaDeflineReader::ParseDefline(), CGb_qual::ParseInferenceString(), CAutoDefParsedtRNAClause::ParseString(), COrgMod::ParseStructuredVoucher(), PiiOk(), CAutoDefFeatureClause_Base::PluralizeDescription(), CAutoDefFeatureClause_Base::PluralizeInterval(), CGBQualPanel::PopulateGBQuals(), CExperimentListPanel::PopulateGBQuals(), CInferenceListPanel::PopulateGBQuals(), CValidError_imp::PostErr(), CNewCleanup_imp::PostProtFeatfBC(), CSourceRequirements::PreferentiallyAddRequirement(), CCountryExtreme::PreferTo(), CBiosampleFieldDiff::Print(), PrintBioseqXML(), CAutoDefFeatureClause_Base::PrintClause(), ProcessBiosampleStatusNode(), CTLSContigHandler::ProcessBioseq(), CBiosampleChkApp::ProcessFileList(), CPsgPerfApplication::ProcessLine(), CBiosampleChkApp::ProcessList(), CHgvsReader::ReadSeqAnnot(), CFeatureTableReader_Imp::ReadSequinFeatureTable(), CUpdateSeq_Input::ReadSingleAccession(), CGene_ref::RefersToSameGene(), CSubPrepIntroPanel::RefreshSubmitterInfoStatus(), CBioSource::RemoveCultureNotes(), CSubSource::RemoveCultureNotes(), RemoveDbxref(), RemoveFieldNameFromString(), CCleanup::RemovePseudoProduct(), CTaxValidationAndCleanup::ReportSpecificHostErrors(), RescueProtProductQual(), ResolveSuppliedBioSampleAccession(), CNewCleanup_imp::RnarefBC(), CNewCleanup_imp::RnarefGenBC(), CBiosampleChkApp::Run(), CMacroFunction_FixFormat::s_AddAltitudeToSubSourceNote(), s_AddPrimers(), s_AddToTerms(), s_AuthListEmpty(), s_AuthorNameBlank(), CMacroFunction_AuthorFix::s_BuildName(), s_CalculateMatchingColumns(), s_CheckForSegments(), s_CheckQuals_bind(), s_CheckQuals_conflict(), s_CheckQuals_mod_base(), s_CheckQuals_ncRNA(), s_CitMatches(), CCleanup::s_CleanupGenomeAssembly(), CCleanup::s_CleanupNameStdBC(), s_CollectNumberAndUnits(), s_CopyRow(), s_CopyToStringColumn(), SGeneCdsmRnaFeats::s_CreateDBXref(), CSingleAssemblyTrackingPanel::s_CreateTPAAssemblyField(), s_DbtagIsBad(), s_DoSup(), s_FailsGenusOrSpeciesTest(), s_FieldHasNonBlankValue(), ApplyCDSFrame::s_FindMatchingFrame(), CMacroFunction_ApplyCDSFrame::s_FindMatchingFrame(), s_FindWholeName(), s_FindWholeWord(), CMacroFunction_FixPubCaps::s_FixCapitalizationInCountryString(), CMacroFunction_FixPubCaps::s_FixCapitalizationInTitle(), CCleanup::s_FixEtAl(), IAuthorEditor::s_FixInitials(), CMacroFunction_FixFormat::s_FixLatLonFormat(), s_FixncRNA(), CMacroFunction_FixProteinFormat::s_FixProteinNameFormat(), s_FixStrainForPrefix(), s_FormatCitBook(), s_FormatCitBookArt(), s_FormatCitGen(), s_FormatErrors(), s_FormatJournal(), s_FormatPatent(), s_FormatThesis(), s_GetAuthorNames(), s_GetCdregionContentLabel(), s_GetCDSLoc(), s_GetEncodeValues(), s_GetInfluenzaLabel(), s_GetInstCodeFromBioSource(), s_GetKeywordForStructuredComment(), CSrcModPanel::s_GetModifierList(), s_GetMrnaProteinLink(), CMacroFunction_PubFields::s_GetObjectsFromAffil(), CMacroFunction_PubFields::s_GetObjectsFromDate(), CMacroFunction_PubFields::s_GetObjectsFromImprint(), s_GetProductIdOrLocusTag(), s_GetSequenceRegionId(), s_GetSpecificHostFromBioSource(), s_GetSpecimenVoucherText(), s_GetTaxIDList(), CFixTitleCap::s_GetTitle(), s_GetTitleSuggestion(), s_GetTranscriptIdFromMrna(), s_GetValFromChildren(), s_HasCompareOrCitation(), s_HasTag(), s_IsAllDigitsOrPeriods(), s_IsAllDigitsOrSpaces(), s_IsAllNumbers(), s_IsCompoundRptTypeValue(), s_IsReportableStructuredComment(), s_IsRNASpacer(), s_IsrRNA(), s_ListChanges(), s_MatchInfoMatches(), s_Name_stdsSame(), s_OutputFeature(), s_ParseParentQual(), s_ParseTRnaFromAnticodonString(), s_ProcessInstitutionCollectionCodeLine(), s_ProcessOrgRefMapLine(), CCleanup::s_RemoveEmptyFields(), s_ReplaceListFromQuals(), s_ReportableCollision(), s_ResolveFieldsOfChoice(), s_ResolveFieldsOfClass(), s_RetrieveMessage(), s_RnaPosition(), s_SetFieldsOfChoice(), s_SetFieldsOfClass(), s_SetPrimerNames(), s_SetPrimerSeqs(), CCleanup::s_SetProductOnFeat(), s_SetProtRef(), s_SetTrnaProduct(), s_SettRNAProduct(), s_Start_GetFields(), s_StringHasPMID(), s_TitleEndsInOrganism(), s_TitleMatch(), s_TransferPubData(), s_UnbalancedParentheses(), CSequenceUpdater::s_UpdateSeqInst(), CRelaxedLookupDlg::SendQuery(), SeqTableFromAssemblyFields(), CCleanup::SetCDSPartialsByFrameAndTranslation(), SetChromosome(), CTextSubpanel::SetClusters(), SetCommon(), CStructuredCommentField::SetConstraint(), CApplyAuthorsTreeItemData::SetData(), CBioSource::SetDisableStrainForwarding(), SetDiv(), CSourceRequirements::SetExamples(), SetExceptFromGbqual(), SetFieldsByName(), CFtglFontManager::SetFontPath(), CIdentifiersPanel::SetIdXrefs(), SetLineage(), CAutoDefParsedClause::SetMiscRNAWord(), CSrcModPanel::SetModifierData(), SetOrgMod(), CSubmitBlockDlg::SetPageForError(), CAutodefFeatClausePanel::SetParams(), CCleanup::SetProteinName(), CRelaxedLookupDlg::SetPubdesc(), CRNA_ref::SetRnaProductName(), SetRnaProductName(), CRNAFieldNamePanel::SetRnaType(), CDualRNAFieldNamePanel::SetRnaType(), CSubmissionPrepMainPanel::SetSourceType(), CSubPrep_panel::SetSubmissionNotReady(), SetSubSource(), SetTaxname(), SetTitle(), SetTranslExcept(), CValidError_imp::Setup(), CGBBlockField::SetVal(), CGenbankKeywordField::SetVal(), CLatLonPanel::SetValue(), CEditingActionFeatTranslExcept::SetValue(), CEditingActionFeatProduct::SetValue(), CSingleSequencePanel::SetValue(), CSingleExperimentPanel::SetValue(), CTwoPartQualPanel::SetValue(), CSubPrepIntroPanel::SetWizardTypeCtrl(), sGetModInfo(), CBioSource::ShouldIgnoreConflict(), CNewCleanup_imp::SiteFeatBC(), SortGBQuals(), SpecificHostCleanupCommand(), SpecificHostValueToCheck(), SplitQuery_GetChunkSize(), SplitQuery_GetOverlapChunkSize(), sRunTest(), CAlnScannerNexus::sStripCommentsOutsideCommand(), sStripNexusComments(), CStrainRequest::StrainContainsTaxonInfo(), CDiscrepancyVisitorImpl< _Name >::Summarize(), SummarizeAffiliation(), sUpdateCase(), TaxonomyLookupCommand(), CExpectedError::Test(), CFormatGuess::TestFormatCLUSTAL(), CFormatGuess::TestFormatJson(), TestOneReplicon(), CMacroFunction_EditStringQual::TheFunction(), CMacroFunction_EditRelFeatQual::TheFunction(), CMacroFunction_FixFormat::TheFunction(), CMacroFunction_FixPubCaps::TheFunction(), CMacroFunction_IsPresent::TheFunction(), CAuthorAffiliationPanel::TransferDataFromWindow(), CGBQualPanel::TransferDataFromWindow(), CSequencingTechnologyPanel::TransferDataFromWindow(), CSingleRefGeneTrackLocPanel::TransferDataFromWindow(), CFeatureGenePanel::TransferDataFromWindow(), CGenericPropsPanel::TransferDataFromWindow(), CJournalPanel::TransferDataFromWindow(), CncRNASubPanel::TransferDataFromWindow(), CRemarksAndSerialNumberPanel::TransferDataFromWindow(), CRNAPanel::TransferDataFromWindow(), CSingleCDSExceptionPanel::TransferDataFromWindow(), CSingleDbxref_SubPanel::TransferDataFromWindow(), CSingleGbQualSubPanel::TransferDataFromWindow(), CSrcModListPanel::TransferDataFromWindow(), CSubmitRemarksPanel::TransferDataFromWindow(), CTitlePanel::TransferDataFromWindow(), CtmRNASubPanel::TransferDataFromWindow(), CtRNAProductPanel::TransferDataFromWindow(), COrgAdvancedPanel::TransferDataToWindow(), CSequencingTechnologyPanel::TransferDataToWindow(), CCDSTranslationPanel::TransferDataToWindow(), CSerialTitleValidator::TransferFromWindow(), CSourceOtherPanel::TransferToOrgRef(), CCleanup::UpdateECNumbers(), CConvertFeatDlg::UpdateEditor(), COrg_ref::UpdateFromTable(), CSrcDescEditorPanel::UpdateSeqdesc(), CSubmissionPrepMainPanel::UpdateSeqTechCtrls(), UpdateTitle(), CClickableSortUniqueCount::UpdateTree(), CSubPrepFieldEditor::UpdateValues(), CBioSource::UpdateWithBioSample(), CGeneValidator::Validate(), CProtValidator::Validate(), CRNAValidator::Validate(), CMiscFeatValidator::Validate(), CImpFeatValidator::Validate(), CSerialStringListValidator::Validate(), ValidateAccessionString(), CValidError_imp::ValidateAffil(), CValidError_imp::ValidateAuthorList(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_imp::ValidateCitSub(), CValidError_bioseq::ValidateCollidingGenes(), CValidError_desc::ValidateComment(), CValidError_bioseq::ValidateCompleteGenome(), CValidError_imp::ValidateDbxref(), CValidError_feat::ValidateInference(), CValidError_feat::ValidateInferenceAccession(), CSubSource::ValidateLatLonCountry(), CValidError_imp::ValidateLatLonCountry(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_imp::ValidateOrgModVoucher(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidatePubArticleNoPMID(), CValidError_imp::ValidatePubdesc(), CValidError_bioseq::ValidateRawConst(), CValidError_desc::ValidateSeqDesc(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqId(), CValidError_bioseq::ValidateSeqIds(), CValidError_imp::ValidateSourceQualTags(), CValidError_imp::ValidateSpecificHost(), CValidError_imp::ValidateStrain(), CValidError_imp::ValidateSubAffil(), CValidError_imp::ValidateSubSource(), CValidError_desc::ValidateTitle(), CCleanup::WGSCleanup(), CReferenceItem::x_AddAuthors(), CFastaOstreamEx::x_AddDeflineAttribute(), CFeatureItem::x_AddFTableCdregionQuals(), CFeatureItem::x_AddFTableRnaQuals(), CFastaOstreamEx::x_AddGBkeyAttribute(), CConvertGeneToRNA::x_AddGeneFieldsToComment(), CCleanup::x_AddLowQualityException(), CAlnReader::x_AddMods(), CFeatureTableReader_Imp::x_AddNoteToFeature(), CConvertGeneToRNA::x_AddOneGeneField(), CSourceRequirements::x_AddOneOfProblems(), CAutoDefFeatureClause_Base::x_AddOnetRNAIntergenicSpacerElement(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CFeatureItem::x_AddQualsBond(), CFeatureItem::x_AddQualsGene(), CFeatureItem::x_AddQualsProt(), CFeatureItem::x_AddQualsVariation(), CFeatureItem::x_AddQualTranslation(), CAutoDefModifierCombo::x_AddSubsourceString(), CSrcModListPanel::x_AddTextSrcMods(), CAlnReader::x_AddTitle(), CConvertFeatureBase::x_AddToComment(), CConvertCDSToPseudoGene::x_AddToGeneDescr(), CConvertCDSToPseudoGene::x_AddToGeneLocus(), CFeatGapInfo::x_AdjustOrigLabel(), x_AdjustOrigLabel(), COrgAdvancedPanel::x_ApplyChangesToSource(), CTaxValidationAndCleanup::x_ApplySpecificHostMap(), CSrcTablePrimerColumn::x_ApplyStringToPrimerSet(), CFixOrgModInst::x_ApplyToBioSource(), CFixCountryCap::x_ApplyToCAffil(), CFixAffilCap::x_ApplyToCAffil(), CStripAuthorSuffix::x_ApplyToCAuth(), CFixTitleCap::x_ApplyToPubdesc(), CCreateGeneModelTask::x_AssignIDsAndUpdateGenes(), CFlatGatherer::x_AuthorizedAccessComment(), CGenbankFormatter::x_Authors(), CFlatGatherer::x_BasemodComment(), CMacroFunction_StringConstraints::x_BuildStringConstraint(), CSubSource::x_CalculateLatLonId(), CMiscSeqTable::x_CheckDuplicateIds(), CSubPrep_panel::x_CheckSourceQuals(), CFormatGuess::x_CheckStripJsonNumbers(), CSourceFieldNamePanel::x_ChooseTextQualifier(), CNewCleanup_imp::x_CleanEmptyFeature(), CNewCleanup_imp::x_CleanEmptyGene(), CNewCleanup_imp::x_CleanEmptyProt(), CFeatureItem::x_CleanQuals(), CNewCleanup_imp::x_CleanupGenbankBlock(), CGb_qual::x_CleanupRptAndReplaceSeq(), CCDSTranslationPanel::x_CollectData(), CIdentifiersPanel::x_CollectFeatId(), CSrcModListPanel::x_CollectTextMods(), CValidError_bioseq::x_CompareStrings(), CQualScoreWriter::x_ComposeHeaderEnding(), CGenbankFormatter::x_Consortium(), CSubmitBlockDlg::x_CopyAuthors(), CSeq_id_Resolver__LRG::x_Create(), CFeatureTableReader_Imp::x_CreateGenesFromCDSs(), CBulkFeatureAddDlgStd::x_CreateImportFeatures(), CCleanupHugeAsnReader::x_CreateSmallGenomeSets(), CReferenceItem::x_CreateUniqueStr(), CConvertFeatureBase::x_ExtractQuals(), CCleanupApp::x_FeatureOptionsValid(), CSrcModListPanel::x_FillDataList(), CTblEditDlg::x_FindBadImportColumns(), CLatLonMap_Base::x_FindCountryExtreme(), CAutoDefFeatureClause::x_FindNoncodingFeatureKeywordProduct(), CStructuredCommentPanel::x_FindRow(), CCleanupApp::x_FixCDS(), CNewCleanup_imp::x_FixMiscRNA(), CValidErrorFormat::x_FormatBadInstCodeForSubmitterReport(), CValidErrorFormat::x_FormatBadSpecificHostForSubmitterReport(), CValidErrorFormat::x_FormatConsensusSpliceForSubmitterReport(), CValidErrorFormat::x_FormatECNumberForSubmitterReport(), CFlatItemFormatter::x_FormatRefJournal(), CCommentItem::x_GatherDescInfo(), CCommentItem::x_GatherFeatInfo(), CDBSourceItem::x_GatherInfo(), CNewCleanup_imp::x_GeneGBQualBC(), CSubSource::x_GenericRepliconNameValid(), CGenomeAssemblyComment::x_GetAssemblyMethodFromProgramAndVersion(), CMacroEditorContext::x_GetBsrcTextFieldnames(), CFastaOstreamEx::x_GetCDSIdString(), CCorrectGenesDialog::x_GetConstrainedList(), CAttribTableColumnIdPanel::x_GetConstraintField(), CSubSource::x_GetDateTokens(), CAutoDefFeatureClause::x_GetDescription(), CExperimentListPanel::x_GetExperiments(), CAutoDef::x_GetFeatureClauseProductEnding(), CAutoDef::x_GetFeatureClauses(), CAutoDefFeatureClause::x_GetFeatureTypeWord(), CStructuredCommentPanel::x_GetFields(), CAutoDefFeatureClause::x_GetGeneName(), CPubField::x_GetImprintField(), CInferenceListPanel::x_GetInferences(), CAltitudePanel::x_GetNumber(), CMacroFunction_PubFields::x_GetObjectsForPubField_VolIssuePage(), CAutoDef::x_GetOneNonFeatureClause(), CAutoDefModifierCombo::x_GetOrgModLabel(), CAutoDefFeatureClause::x_GetProductName(), CAutoDefNcRNAClause::x_GetProductName(), CFastaOstreamEx::x_GetRNAIdString(), CRelaxedLookupDlg::x_GetSearchTerms(), SrcEditDialog::x_GetSourceTableChoices(), CAutoDefModifierCombo::x_GetSubSourceLabel(), CBioSource::x_GetSubtypeNameValPairs(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CNewCleanup_imp::x_HandleTrnaProductGBQual(), CRefGeneTrackFieldManager::x_HasPopulatedFields(), CFlatGatherer::x_HTGSComments(), CFlatGatherer::x_IdComments(), CValidError_bioseq::x_IdXrefsNotReciprocal(), CFeatureItem::x_ImportQuals(), CReferenceItem::x_Init(), CLatLonMap_Base::x_InitFromFile(), CFeatureTableReader_Imp::x_InitId(), CFormatGuess::x_IsBlankOrNumbers(), CNewCleanup_imp::x_IsGenbankBlockEmpty(), CNewCleanup_imp::x_IsPubContentBad(), CSeqTechDlg::x_IsSpecialTech(), CGenbankFormatter::x_Journal(), CCleanupApp::x_KOptionsValid(), CSubPrepIntroPanel::x_LaunchSubmitEditor(), CFlatGatherer::x_MapComment(), CTableDataValidate::x_MatchFilter(), CAutoDefFeatureClause_Base::x_MeetAltSpliceRules(), CSubPrep_panel::x_NeedUniqueMicrosatelliteNames(), CmRNACDSLinker::x_OkForLinking(), CCleanupApp::x_OpenOStream(), CSubSource::x_ParseDateRangeWithDelimiter(), CSrcStructuredVoucherPartColumn::x_ParsePartsFromStructuredVoucher(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), CNewCleanup_imp::x_PostBiosource(), CDisplaySeqalign::x_PrintFeatures(), CCleanupApp::x_ProcessFeatureOptions(), CFastaDeflineReader::x_ProcessIDs(), CMemorySrcFileMap::x_ProcessLine(), CCleanupApp::x_ProcessOneFile(), CFeatureTableReader_Imp::x_ProcessQualifier(), CNewCleanup_imp::x_ProtGBQualBC(), CGenbankFormatter::x_Remark(), CSrcTablePrimerColumn::x_RemoveEmptyValues(), CBioSource::x_RemoveNameElementDiffs(), CDescrModApply::x_ReportInvalidValue(), CValidError_bioseq::x_ReportOverlappingPeptidePair(), CMacroEngine::x_ResolveRTVar(), CMacroResolver::x_ResolveRTVar(), CNewCleanup_imp::x_SeqFeatCDSGBQualBC(), CNewCleanup_imp::x_SeqFeatRnaGBQualBC(), CCommentItem::x_SetCommentWithURLlinks(), CSubPrepFieldEditor::x_SetEditorControls(), CExperimentListPanel::x_SetExperiments(), CInferenceListPanel::x_SetInferences(), CMacroFunction_StringConstraints::x_SetModifierFlag(), CLocusItem::x_SetName(), x_SetNameFromName(), CSubPrepFieldEditor::x_SetOneValue(), CBioSourcePanel::x_SetOrganismInfo(), CValidError_bioseq::x_SetupCommonFlags(), CNewCleanup_imp::x_ShouldRemoveEmptyFeature(), CValidError_bioseq::x_ShowBioProjectWarning(), CConvertFeatureBase::x_SimpleConversion(), CGenbankFormatter::x_Title(), CMatchFeatureTableDlg::x_TokenMatch(), CIdResolver::x_TryProcessGenomicLRG(), CIdResolver::x_TryProcessLRG(), CSubPrep_panel::x_UpdateFeatureStatus(), CCDSTranslationPanel::x_UpdateForceNear(), CSrcModListPanel::x_UpdateList(), CAutodefFeatClausePanel::x_UpdateSuppressedFeatureTypeList(), CIdentifiersPanel::x_UpdateXrefDescriptions(), CMacroFunction_StringConstraints::x_ValidArguments(), CValidError_align::x_ValidateAlignPercentIdentity(), CValidError_bioseq::x_ValidateCompletness(), CProtValidator::x_ValidateECNumbers(), CSingleFeatValidator::x_ValidateExcept(), CSingleFeatValidator::x_ValidateExceptText(), CGeneValidator::x_ValidateExceptText(), CSingleFeatValidator::x_ValidateGbQual(), CSingleFeatValidator::x_ValidateGbquals(), CSingleFeatValidator::x_ValidateGeneXRef(), CValidError_graph::x_ValidateGraphLocation(), CSingleFeatValidator::x_ValidateImpFeatQuals(), CSingleFeatValidator::x_ValidateLocusTagGeneralMatch(), CSingleFeatValidator::x_ValidateNonGene(), CSingleFeatValidator::x_ValidateNonImpFeat(), CSingleFeatValidator::x_ValidateOldLocusTag(), CCdregionValidator::x_ValidateProductId(), CValidError_bioseq::x_ValidatePubFeatures(), CValidError_desc::x_ValidateStructuredComment(), CValidError_desc::x_ValidateStructuredCommentSuffix(), CRNAValidator::x_ValidateTrnaCodons(), CCleanupApp::x_XOptionsValid(), CFeatTableEdit::xAddTranscriptAndProteinIdsToCdsAndParentMrna(), CFeatTableEdit::xAddTranscriptAndProteinIdsToMrna(), CFeatTableEdit::xAddTranscriptAndProteinIdsToUnmatchedMrna(), CFeatTableEdit::xConvertToGeneralIds(), CSrcWriter::xGatherLocalId(), CGffDeconcatApp::xProcessFile(), CBedAutoSql::xProcessLine(), CGffDeconcatApp::xReadFile(), CGffDeconcatApp::xSetExtension(), and CGffDeconcatApp::xWriteFile().
|
inline |
Check if the string is empty.
Definition at line 4836 of file ncbistr.hpp.
References CEncodedString::m_Original.
|
inline |
Check if the original string was encoded.
Definition at line 4828 of file ncbistr.hpp.
References CEncodedString::m_Encoded.
Referenced by CEncodedString::GetEncodedString().
|
static |
Check if the string contains a valid IP address.
Definition at line 6387 of file ncbistr.cpp.
Referenced by CRequestContext::SetClientIP(), and x_FirstWord().
|
static |
Checks if all letters in the given string have a lower case.
str | String to be checked. |
Definition at line 433 of file ncbistr.cpp.
|
static |
Checks if all letters in the given string have a upper case.
str | String to be checked. |
Definition at line 445 of file ncbistr.cpp.
References i, isalpha(), isupper(), len, and str().
Referenced by FixAuthorCap(), CWGSDb_Impl::Lookup(), CSeq_id_PDB_Info::Normalize(), s_SplitMLAuthorName(), and CRemoveName::x_GetReplacementIds().
|
static |
Determines if a symbol is whitespace per http://unicode.org/charts/uca/chart_Whitespace.html.
sym | Unicode code point (symbol) |
Definition at line 7179 of file ncbistr.cpp.
|
static |
Encode a string for JavaScript.
Replace relevant characters by predefined entities. Like to PrintableString(), but process some symbols in different way.
Definition at line 3950 of file ncbistr.cpp.
References eLanguage_C, s_PrintableString(), and str().
Referenced by CAlignFormatUtil::GetFullIDLink(), CHTMLHelper::HTMLJavaScriptEncode(), and CAlnGraphic::x_BuildHtmlTable().
|
inlinestatic |
Definition at line 2705 of file ncbistr.hpp.
References arr, and NStr::x_Join().
|
inlinestatic |
Join strings using the specified delimiter.
arr | Array of strings to be joined. |
delim | Delimiter used to join the string. |
Definition at line 2699 of file ncbistr.hpp.
References arr, and NStr::x_Join().
Referenced by CTabDelimitedValidator::_OperateRows(), CFlatFileConfig::AddArgumentDescriptions(), CMsvcPrjProjectContext::AdditionalIncludeDirectories(), CMsvcPrjProjectContext::AdditionalLibraryDirectories(), CMsvcPrjProjectContext::AdditionalLinkerOptions(), CSymResolver::Append(), CConvertBadInference::apply(), CLabelRna::apply(), CECitMatch_Request::BuildSearchTerm(), CEditObjectSeq_feat::CanClose(), CCountries::CapitalizeFirstLetterOfEveryWord(), CheckForFreqRatioFile(), CProjectsLstFileFilter::CheckProject(), CollectAttributes(), CSequenceEditingEventHandler::CombineSelectedGenesIntoPseudogenes(), CAddFluComments::ConcatIds(), CGraphTrack::CreateOverlay(), CVDBAliasNode::CVDBAliasNode(), CHTML_area::DefineCircle(), CHTML_area::DefineRect(), SAppProjectT::DoCreate(), SLibProjectT::DoCreate(), SDllProjectT::DoCreate(), SMsvcProjectT::DoCreate(), CEUtilsUpdater::DoPubSearch(), SMakeProjectT::DoResolveDefs(), Section::DumpText(), CGBSeqFormatter::EndSection(), CNewCleanup_imp::Except_textBC(), CSequenceEditingEventHandler::ExportStructuredCommentsTable(), FixCapitalizationInString(), CGb_qual::FixRptTypeValue(), COrgMod::FixStrain(), CFlatGeneSynonymsQVal::Format(), CGBSeqFormatter::FormatComment(), CGBSeqFormatter::FormatContig(), CGBSeqFormatter::FormatFeature(), CGBSeqFormatter::FormatGap(), CGBSeqFormatter::FormatSequence(), CNewCleanup_imp::GBblockBC(), CCassandraFullscanPlan::Generate(), CWsdlTypeStrings::GenerateClassCode(), CProjBulderApp::GenerateUnixProjects(), CAuthListValidator::get_lastnames(), CFeatGlyph::GetAdditionalInfo(), CVcfGlyph::GetAdditionalInfo(), CVcfVariant::GetAllAlleles_display(), CVcfVariant::GetAltAlleles_orig(), CBulkCDSAddPanel::GetCommand(), CBulkCDS::GetCommandFromValuesTable(), CBulkGene::GetCommandFromValuesTable(), CCommentItem::GetComment(), CSeqDB::GetDBMetaData(), CAdvStringConstraintPanel< T >::GetDescription(), CMacroFeatsOnSeqPanel::GetDescription(), CMacroAdvStringConstraintPanel< T >::GetDescription(), CWordSubstitutionDlg::GetDescription(), CGCClient_GetAssemblyBySequenceRequest::GetFilterDisplayName(), CSnpBitfield::GetGenePropertyString(), CTableDataSUC::GetHtmlValue(), CTableDataValidate::GetHtmlValue(), CEditSequenceEnds::GetLabel(), CSeq_featHandler::GetLabel(), CRemoveSequencesDlg::GetLabel(), CRBSubpanel::GetLabel(), CMsvcSite::GetLibInclude(), CMacroLocationConstraintPanel::GetLocationConstraint(), CMacroFeatsOnSeqPanel::GetLocationConstraint(), CMacroEditingActionPanel::GetMacro(), CMacroAdvStringConstraintPanel< T >::GetMatcher(), CMsvc7RegSettings::GetMsvcSection(), GetPrimerSetNameValues(), GetSeqTableFromSeqEntry(), CWriteUtil::GetStringForGoMarkup(), CEUtilsParser::GetText(), CGuiObjectInfoVariant::GetToolTip(), CGuiObjectInfoVariation::GetToolTip(), CEditingActionFeatAnticodon::GetValue(), CBulkCDS::GetValuesTableFromSeqEntry(), CBulkGene::GetValuesTableFromSeqEntry(), CCompareWithBiosample::GetValuesTableFromSeqEntry(), CMacroCompoundConstraintPanel::GetVariables(), CProjBulderApp::Gui_ConfirmProjects(), CGapStatsApplication::Init(), CProjBulderApp::InsertDep(), JoinValues(), CBamUILoadManager::LoadSettings(), NMFncParse::LookupFncArguments(), CDoiLookup::LookupIsojta(), CCompareWithBiosample::MakeReport(), NcbiMessageBox(), CDirEntry::NormalizePath(), CCompareWithBiosample::OnAddToSample(), CCompareWithBiosample::OnAddToSource(), CGenBankLoadOptionPanel::OnRecentAccClicked(), PIsExcludedByTag::operator()(), OwnerFromAffil(), JSDParser::ParseAllOf(), JSDParser::ParseArrayContent(), JSDParser::ParseDependencies(), JSDParser::ParseMemberDefinition(), JSDParser::ParseNode(), JSDParser::ParseOneOf(), JSDParser::ParseRequired(), CLocalVDBBlast::PreprocessDBs(), CArgs::Print(), CBlastFormatterVdbApp::PrintFormattedOutput(), CNCStat::PrintToSocket(), CArgDependencyGroup::PrintUsage(), CArgDescriptions::PrintUsage(), CCommandArgDescriptions::PrintUsage(), CCgiContext::ProcessCORSRequest(), AlnUtil::ProcessDataLine(), RepairSingleDigitMonth(), ReplaceWellknownSeqs(), CAlignmentAssistant::ReportUnresolvedBioseqs(), CMsvcSite::ResolveDefine(), s_CleanupOrgModAndSubSourceOther_helper(), s_ComposeCodonRecognizedStr(), s_GBSeqStringCleanup(), s_GetAuthorsString(), CVCFVariantsBase::s_GetCurrentVersion(), s_NormalizeTokens(), s_PrintContainer(), fix_pub::s_ProcessConsortia(), s_ReadSpecificParams(), CMacroFunction_RemoveOrgName::s_RemoveOrgName(), s_RenderAccList(), s_ResolveSubTracks(), s_SplitMLAuthorName(), C5ColImportData::Serialize(), CBedImportData::Serialize(), CBedFeatureRecord::SetBlocks(), CTextSubpanel::SetClusters(), CFieldSubpanel::SetClusters(), CStructCommentSubpanel::SetClusters(), CUser_object::SetFieldRef(), CBedFeatureRecord::SetRgb(), CBarcodeTool::ShowReport(), AlnUtil::StripBlanks(), CDiscrepancyVisitorImpl< _Name >::Summarize(), fix_pub::TenAuthorsProcess(), CBlobStatusHistoryRecord::ToString(), CTraversalSpecFileParser::CDescFileNode::ToString(), CGAssemblyPanel::TransferDataFromWindow(), CFeatureSearchForm::Update(), CGraphOverlay::UpdateSource(), SMakeProjectT::VerifyLibDepends(), CCassNAnnotTaskFetch::Wait1(), CMakeProject::Write(), CFastaOstream::SGapModText::WriteAllModsAsFasta(), CNCServer::WriteAppSetup(), CBlastDBCmdApp::x_AddCmdOptions(), CDBSourceItem::x_AddPIRBlock(), CFeatureItem::x_AddQualExceptions(), CDBSourceItem::x_AddSPBlock(), CConsolidateLikeMods::x_ApplyToBioSource(), CMacroInterpreter::x_AutodefCompleteValidateArgs(), CMacroInterpreter::x_AutodefValidateArgs(), CMacroInterpreter::x_CaseConstraintValidateArgs(), CMiscSeqTable::x_CheckDuplicateIds(), NSNPVariationHelper::x_CommonConvertFeat(), CArgDependencyGroup::x_Evaluate(), CGBSeqFormatter::x_FormatAltSeq(), CReferenceItem::x_GatherRemark(), CVcfGlyph::x_GetClinVarToolTip(), CTL_LangCmd::x_GetDynamicID(), CBlastVdbCmdApp::x_GetFullPaths(), CVDBBlastnApp::x_GetFullVDBPaths(), CVDBTblastnApp::x_GetFullVDBPaths(), CFlatItemFormatter::x_GetKeywords(), CTableReaderMacro::x_GetMacro(), CAgpconvertApplication::x_HandleTaxArgs(), CSeq_id::x_Init(), CBlastVdbCmdApp::x_InitApplicationData(), CMacroInterpreter::x_IsPresentValidateArgs(), CRegexpUtil::x_Join(), CIntronTrack::x_LoadFeatures(), CDBConnectionFactory::x_LogConnection(), CTraversalSpecFileParser::x_ParseMemberClause(), CEutilsClient::x_ParseSearchResults(), CMacroInterpreter::x_PostProcessDiscrAutofix(), CNCMessageHandler::x_ReadCommand(), COrgName::x_ResetAttribFlag(), CGraphTrack::x_SaveSettings(), CFeatureGenerator::SImplementation::x_SetExceptText(), CTraversalPatternMatchCallback::x_TranslateArgToNode(), CTraversalPatternMatchCallback::x_TryToDeprecatePatternMatchers(), CGeneralPanel::x_UpdateDescControls(), CVcfWriter::x_WriteFeatureFilter(), CVcfWriter::x_WriteFeatureGenotypeData(), CVcfWriter::x_WriteFeatureId(), CVcfWriter::x_WriteFeatureInfo(), CAlnScannerPhylip::xImportAlignmentData(), CVcfReader::xProcessInfo(), CAlnScannerNexus::xProcessMatrix(), CGtfReader::xProcessQualifierSpecialCase(), CBedLineReader::xProcessTrackLine(), CAlnFormatGuesser::xSampleIsMultAlign(), CBedReader::xSetFeatureColorFromScore(), C5ColLineReader::xSplitLine(), CGff3LineReader::xSplitLine(), and CGtfLineReader::xSplitLine().
void CTempStringList::Join | ( | CTempString * | s | ) | const |
Definition at line 7347 of file ncbistr.cpp.
void CTempStringList::Join | ( | CTempStringEx * | s | ) | const |
Definition at line 7355 of file ncbistr.cpp.
void CTempStringList::Join | ( | string * | s | ) | const |
Definition at line 7336 of file ncbistr.cpp.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
|
inlinestatic |
Definition at line 2711 of file ncbistr.hpp.
References NStr::x_Join().
|
inline |
Definition at line 102 of file text_joiner.hpp.
References data, i, ITERATE, NULL, result, and ncbi::grid::netcache::search::fields::size.
Referenced by CDefLineJoiner::Join(), CDeflineGenerator::x_SetTitleFromNM(), CDeflineGenerator::x_SetTitleFromPatent(), and CDeflineGenerator::x_SetTitleFromPDB().
|
inlinestatic |
Definition at line 2717 of file ncbistr.hpp.
References NStr::x_Join().
Referenced by CPslData::Dump(), CDiagContext_Extra::PrintNcbiAppInfoOnRequest(), CPslFormatter::xFieldBlockSizes(), CPslFormatter::xFieldStartsQ(), and CPslFormatter::xFieldStartsT().
|
static |
Decode a string encoded by JsonEncode.
str | The string to encode. It must be in double quotes. | |
[out] | n_read | How many symbols the quoted string occupied in the original string. |
Definition at line 4986 of file ncbistr.cpp.
Referenced by CJsonParser::ParseString().
|
static |
Encode a string for JSON.
str | The string to encode. |
encoding | Specifies how to encode string. There are 2 approaches, with representing whole string as UTF-8 encoded string, or leave all Unicode symbols "as is", but the resulting string will be put in double quotes. |
Definition at line 4625 of file ncbistr.cpp.
Referenced by CTimerPerfLogGuard::AddParameter(), CTrackContainer::GetHTMLActiveAreas(), operator<<(), CHTMLPlainText::PrintBegin(), CVersionAPI::PrintJson(), SBuildInfo::PrintJson(), CVersionInfo::PrintJson(), CComponentVersionInfoAPI::PrintJson(), s_Repr_Value(), CSynRegistry::TGet(), and ToJsonString().
|
static |
Justify the specified string into a series of lines of the same width.
Split string "str" into a series of lines, all of which (except for the final one) are to be exactly "width" characters wide (by adding extra inner spaces between words when necessary), and store the resultant lines in the list "par". Normally, all lines in "par" will begin with "pfx" (counted against "width"), but the first line can instead begin with "pfx1" if provided.
str | String to be split into justified lines. |
width | Width of every line (except for the last one). |
par | Resultant list of justified lines. |
pfx | The prefix string added to each line, except for the first line if non-NULL "pfx1" is also set. Empty(or NULL) "pfx" causes no additions. |
pfx1 | The prefix string for the first line, if non-NULL. |
Definition at line 5409 of file ncbistr.cpp.
Referenced by NStr::Justify(), CConnTest::PostCheck(), and CConnTest::PreCheck().
|
inlinestatic |
Definition at line 5620 of file ncbistr.hpp.
References NStr::Justify(), and str().
|
inlinestatic |
Definition at line 5628 of file ncbistr.hpp.
References NStr::Justify(), and str().
|
inline |
Definition at line 132 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::m_Length, NPOS, and CTempXStr< _TChar >::x_length().
Referenced by CTempXStr< _TChar >::CompareCase(), CTempXStr< _TChar >::CompareNocase(), CTempXStr< _TChar >::empty(), CTempXStr< _TChar >::operator basic_string< _TChar >(), and CTempXStr< _TChar >::operator[]().
|
inline |
Return the length of the represented array.
Definition at line 320 of file tempstr.hpp.
References CTempString::m_Length.
Referenced by CDelta_ext::AddLiteral(), CWriteDB_Impl::AddSequence(), CWriteDB::AddSequence(), NStr::CWrapDestStringList::Append(), CRawSeqToDeltaSeqByLoc::apply_impl(), CFastaReader::AssembleSeq(), CPrintJobInfo::BeginJobEvent(), BOOST_AUTO_TEST_CASE(), BrFcgiBookTermToEutilsTerm(), CRawSeqToDeltaSeqByLoc::ByAssemblyGapFeatures_impl(), CFastaReader::CanonicalizeString(), CFastaReader::CheckDataLine(), CSeq_id::CheckLocalID(), NStr::CommonPrefixSize(), NStr::CommonSuffixSize(), CTempString::compare(), NStr::CompareCase(), NStr::CompareNocase(), CGapsEditor::ConvertNs2Gaps(), CTempString::Copy(), CFastaReader::CreateWarningsForSeqDataInTitle(), CDiff::Diff(), CDiffText::Diff(), CExtraEncoder::Encode(), CSourceModParser::EqualKeys(), NStr::EqualNocase(), CTempString::find(), CTempString::find_first_not_of(), CTempString::find_first_of(), CTempString::find_last_not_of(), CTempString::find_last_of(), NStr::FindCase(), CFlatXrefQVal::Format(), g_FixMisplacedPID(), g_GenericStatToJson(), CCommentItem::GetStringForRefSeqGenome(), SCaseInsensitiveQuickLess::operator()(), operator+(), CTempString::operator==(), CFastaReader::ParseDataLine(), CFastaDeflineReader::ParseDefline(), CFastaMapper::ParseDefLine(), CFastaReader::ParseGapLine(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CFastaDeflineReader::ParseRange(), CPrintJobInfo::PrintXput(), CPrintJobInfo::ProcessJobEventField(), CPrintJobInfo::ProcessJobInfoField(), CRegexpUtil::Replace(), CTempString::rfind(), s_ContainsWholeWord(), s_ExtractKey(), s_GetrRNAProductsSuspectRuleSet(), s_LineIndicatesOrder(), CAgpToSeqEntry::s_LocalSeqIdFromStr(), s_SetTrnaProduct(), s_TitleEndsInOrganism(), SeqDB_UnpackAmbiguities(), CPDB_seq_id::SetChainIdentifiers(), CFormatGuess::TestFormatFasta(), TrimSpacesAndJunkFromEnds(), CDeflineGenerator::x_AdjustProteinTitleSuffix(), CDeflineGenerator::x_AdjustProteinTitleSuffixIdx(), CDiffList::x_CleanupAndMerge_Equities(), CDiffList::x_CleanupAndMerge_SingleEdits(), CDiff::x_Diff(), CDiff::x_DiffBisect(), CDiff::x_DiffHalfMatch(), CDiff::x_DiffHalfMatchI(), CVariantDescriptors::x_GetMaxFeatLengthForClinVar(), CLatLonMap_Base::x_InitFromFile(), CFeatureTableReader_Imp::x_IsWebComment(), CVCFVariantsBase::x_NullOrFilterClinVar(), CSubSource::x_ParseDateRangeWithDelimiter(), CShortReadFastaInputSource::x_ReadFastaOneSeq(), CShortReadFastaInputSource::x_ReadFastc(), CShortReadFastaInputSource::x_ReadFastqOneSeq(), CSraInputSource::x_ReadOneSeq(), CValidError_bioseq::x_ReportDuplicatePubLabels(), CDeflineGenerator::x_SetTitleFromPDB(), CRegexpTemplateTester::x_SubstituteVars(), CFeatureTableReader_Imp::x_TokenizeStrict(), CFeatureTableReader_Imp::x_TryToParseOffset(), CGff2Record::xNormalizedAttributeValue(), and CUCSCRegionReader::xSmartFieldSplit().
Return TRUE if s1 < s2.
Definition at line 5820 of file ncbistr.hpp.
References Compare().
Referenced by IDictionary::SAlternatesByScore::operator()().
|
inline |
|
inline |
Templatized initialization from a string literal.
This version is optimized to deal specifically with constant-sized built-in arrays.
Definition at line 441 of file tempstr.hpp.
References str().
Referenced by CRawSeqToDeltaSeqByLoc::apply_impl(), AssemblyGapsToDelta(), variation_ref::AttachAssertedSequence(), variation::CVariationUtil::AttachSeq(), CBlobSplitterImpl::AttachToSkeleton(), CRawSeqToDeltaSeqByLoc::ByAssemblyGapFeatures_impl(), variation::CVariationUtil::ChangeToDelins(), variation_ref::CVariationUtil::ChangeToDelins(), find_text_end(), variation::CVariationUtil::CCdregionIndex::GetCachedLiteralAtLoc(), CPostProcessUtils::GetLiteralAtLoc(), CCSraRefSeqIterator::GetRefLiterals(), CWGSScaffoldIterator::GetSeq_inst(), CTSE_Default_Assigner::LoadSequence(), CBlobSplitterImpl::MakeID2Chunk(), variation_ref::CVariationUtil::PrecursorToProt(), s_ValidateSeqLiteral(), variation_ref::CVariationUtil::SetReferenceSequence(), CSeqMap::SetRegionInChunk(), Split_Qscore_SeqGraph_By_DeltaSeq(), sx_MakeGapLiteral(), variation::CVariationUtil::TranslateNAtoAA(), variation_ref::CHgvsParser::CContext::Validate(), CValidError_bioseq::ValidateCompleteGenome(), CValidateVariant::ValidateIdentityInst(), variation::CHgvsParser::x_AsHgvsInstExpression(), variation_ref::CHgvsParser::x_deletion(), variation::CHgvsParser::x_deletion(), variation_ref::CHgvsParser::x_delins(), variation::CVariationUtil::x_FindOrCreateLiteral(), CVariationUtilities::x_FixAlleles(), variation_ref::CVariationUtil::x_GetLiteralAtLoc(), variation::CVariationUtil::x_GetLiteralAtLoc(), CSeqMap::x_GetSeq_data(), variation_ref::CHgvsParser::x_raw_seq(), variation::CHgvsParser::x_raw_seq(), variation::CHgvsParser::x_raw_seq_or_len(), variation::CHgvsParser::x_seq_ref(), variation_ref::CHgvsParser::x_SeqLiteralToStr(), variation::CHgvsParser::x_SeqLiteralToStr(), CWGSSeqIterator::x_SetDeltaOrData(), variation_ref::CHgvsParser::x_ssr(), and variation::CHgvsParser::x_ssr().
|
inlinestatic |
Convert Int to string.
value | Integer value (long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5135 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by CReportParams::Add(), CEditSelectedGaps::apply_impl(), CLinkedFeatsGroup::GetTooltip(), CDebugDumpContext::Log(), CMacroStat::LogStop(), value_slice::CValueConvert< CP, long >::operator string(), CDiagContext_Extra::Print(), CTableQueryExec::ResolveIdentifier(), variation::CHgvsParser::s_IntWithFuzzToStr(), CFeatureFilterDlg::TransferDataToWindow(), CTimeSpan::x_AsSmartString_Precision(), CTimeSpan::x_AsSmartString_Smart_Big(), CTimeSpan::x_AsSmartString_Smart_Small(), and NStr::x_NumericToString().
|
static |
Convert Int to string.
out_str | Output string variable. |
value | Integer value (long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 1880 of file ncbistr.cpp.
|
static |
Check the encoding of the C/C++ string.
Check that the encoding of the source is the same, or is compatible with the specified one
src | Source string |
encoding | Character encoding form to check against |
Definition at line 6743 of file ncbistr.cpp.
|
static |
Match "str" against the "mask".
This function does not use regular expressions. Very similar to fnmatch(3), but there are differences (see also glob(7)). There's no special treatment for a slash character '/' in this call.
str | String to match. |
mask | Mask used to match string "str". This is a text pattern, which, along ordinary characters that must match literally corresponding symbols in the string "str", can contains also mext wildcard characters: ? - matches to any single character in the string. * - matches to any number of characters in the string (including none). Mask also support POSIX character classes in the forms of "[...]" or "[!...]" that must MATCH or NOT MATCH, respectively, a single character in "str". To cancel the special meaning of '*', '?' or '[', they can be prepended with a backslash '\' (the backslash in front of other characters does not change their meaning, so "\\\\" matches one graphical backslash in the "str"). Within a character class, to have its literal meaning a closing square bracket ']' must be used at the first position, whereas '?', '*', '[, and '\' stand just for themselves. Two characters separated by a minus sign '-' denote a range that can be used for contraction to include all characters in between: "[A-F]" is equivalent to "[ABCDEF]". For its literal meaning, the minus sign '-' can be used either at the very first position, or the last position before the closing bracket ']'. To have a range that begins with an exclamation point, one has to use a dummy empty range followed by that range with '!'. |
Examples: "!" matches a single '!' (note that just "[!]" is invalid); "[!!]" matches any character, which is not an exclamation point '!'; "[][!]" matches ']', '[', and '!'; "[!][-]" matches any character except for ']', '[', and '-'; "[-]" matches a minus sign '-' (same as '-' just by itself); "[?*\\]" matches either '?', or '*', or a backslash '\'; "[]-\\]" matches nothing as it defines an empty range (from ']' to '\'); "\\[a]\\*" matches a literal substring "[a]*"; "[![a-]" matches any char but '[', 'a' or '-' (same as "[!-[a]"; but not "[![-a]", which defines an empty range, thus matches any char!); "[]A]" matches either ']' or 'A' (NB: "[A]]" matches a substring "A]"); "[0-9-]" matches any decimal digit or a minus sign '-' (same: "[-0-9]"); "[9-0!-$]" matches '!', '"', '#', and '$' (as first range matches nothing).
use_case | Whether to do a case sensitive compare for letters (eCase – default), or a case-insensitive compare (eNocase). |
Definition at line 389 of file ncbistr.cpp.
References eMatch, NStr::eNocase, mask, s_MatchesMask(), and str().
Referenced by BOOST_AUTO_TEST_CASE(), SInputValidator::CheckAffinity(), SInputValidator::CheckCancel(), CSGQueryFunctionCompare::Evaluate(), CMQueryFunctionOps_Like::Evaluate(), CQueryFuncLike::Evaluate(), SAccGuide::Find(), CMaskFileName::Match(), CDirEntry::MatchesMask(), CStringMatching::MatchString(), CObjFingerprint::ParseSignature(), CRepeatLibrary::Read(), CGridCommandLineInterfaceApp::SetUp_NetCacheCmd(), CNcbiLogFields::x_Match(), CFeatureSearchJob::x_Match(), CCgiUserAgent::x_Parse(), CGFFReader::x_ParseV3Attributes(), and CRemoteBlast::x_SearchErrors().
|
inlinestatic |
Merge name-value pairs from the provided container, separators and encoder.
Delete the encoder if the ownership flag allows.
pairs | Container with the name/value pairs to be merged. |
arg_sep | Separator to be inserted between pairs. |
val_sep | Separator to be inserted between name and value. |
encoder | String encoder (Url, Xml etc.) |
own | Flag indicating if the encoder must be deleted by the function. |
Definition at line 4766 of file ncbistr.hpp.
|
inline |
Merge name-value pairs into a single string using the currently set separators and the provided encoder if any.
Definition at line 4747 of file ncbistr.hpp.
Referenced by SDiagMessage::FormatExtraMessage(), CStringPairs< TExtraValuesMap >::Merge(), CNcbiResourceInfo::x_GetEncoded(), and CRequestContext_PassThrough::x_SerializeUrlEncoded().
|
inline |
Assumes that we already have a delimiter on the previous position, so just skip all subsequent, depending on flags.
Definition at line 168 of file ncbistr_util.hpp.
References CStrTokenizeBase::x_SkipDelims().
CStringException::NCBI_EXCEPTION_DEFAULT2 | ( | CStringException | , |
CParseTemplException< CCoreException > | , | ||
std::string::size_type | |||
) |
|
static |
Check if the string needs the requested URL-encoding.
Definition at line 6219 of file ncbistr.cpp.
References s_URLDecode(), and str().
Referenced by CSrvDiagMsg::PrintParam(), and CCgiCookie::x_EncodeCookie().
|
inlinestatic |
Convert numeric value to string.
out_str | Output string variable. |
value | Numeric value to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. If value is float or double type, the parameter is ignored. |
Definition at line 704 of file ncbistr.hpp.
References flags, rapidjson::value, and NStr::x_NumericToString().
|
inlinestatic |
Convert numeric value to string.
value | Numeric value to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. If value is float or double type, the parameter is ignored. |
Definition at line 673 of file ncbistr.hpp.
References flags, rapidjson::value, and NStr::x_NumericToString().
Referenced by AccessionToKey(), CAlnMix::Add(), CLinkUtils::AddDbxrefLinksForSNP(), AddFeatureSeqTableRowToSeqEntry(), AddFeatureToSeqTable(), CPdf::AddJSTooltip(), CTableAnnotDataSource::AddSeqLoc(), CLinkUtils::AddSequenceLinks(), CTableAnnotDataSource::AddSnpSeqLoc(), AddToFeatureIdColumn(), CPdf::AddTooltip(), CRtProfiler::AddUserKV(), CRtProfiler::AddUserKVMT(), CSplitCDSwithTooManyXs::AdjustSingleCDS(), AgpRead(), SNetCacheAPIImpl::AppendClientIPSessionIDPasswordAgeHitID(), CTaxNRCriteria::Apply(), CGroupExplode::apply(), CCassPrm::AsInt16(), CCassPrm::AsInt32(), CCassPrm::AsInt64(), CCassPrm::AsInt8(), CMQueryNodeValue::AssignFromObjectInfo(), CTimeSpan::AssignFromSmartString(), CFastaReader::AssignMolType(), CBlastDBSeqId::AsString(), CSeq_align::SIndel::AsString(), CRtProfiler::AsString(), CCassPrm::AsString(), CStackTrace::SStackFrameInfo::AsString(), variation_ref::CHgvsParser::AsVariationFeat(), BlastKmerGetKmerSetStats(), BlastXML_FormatReport(), BOOST_AUTO_TEST_CASE(), BuildGFF3Gap(), BuildSmallGenomeSet(), CAlignFormatUtil::BuildUserUrl(), CNetCacheKey::CalculateChecksum(), CAlignShadow::CAlignShadow(), Convert::CassValueConvert(), Convert::CassValueConvert< bool >(), Convert::CassValueConvert< int16_t >(), Convert::CassValueConvert< int32_t >(), Convert::CassValueConvert< int64_t >(), Convert::CassValueConvert< int8_t >(), Convert::CassValueConvert< string >(), CAutoTrans::CAutoTrans(), CBedCoverageGraph::CBedCoverageGraph(), CDbapiSampleApp::CDbapiSampleApp(), CDDSplashDialog::CDDSplashDialog(), CGI2GRID_ComposeHtmlPage(), impl::CConnection::CheckCanOpen(), CheckFeatureAnnotation(), CFastaIdValidate::CheckForExcessiveNucData(), CFastaIdValidate::CheckForExcessiveProtData(), CSnpTrack::CheckRange(), CVcfTrack::CheckRange(), CheckTags(), CWAM_Donor< 2 >::class_id(), CWAM_Acceptor< 2 >::class_id(), CMC3_CodingRegion< 5 >::class_id(), CMC_NonCodingRegion< 5 >::class_id(), CMessageDumperSender::CMessageDumperSender(), CollectAttributes(), CSeq_id::ComposeOSLT(), SNetServerImpl::ConnectAndExec(), CHttpResponse::ContentStream(), CFeatureGenerator::ConvertLocToAnnot(), CTableImportDataSource::ConvertToSeqAnnot(), CNamedPipeHandle::Create(), ColumnarVcfCache::CreateBlob(), CTableAnnotDataSource::CreateFeature(), CreateMimeFromBiostruc(), CAddFluComments::CreateNewComment(), CDense_seg::CreateRowSeq_interval(), CFileIO::CreateTemporary(), CGraphOverlayFactory::CreateTracks(), CSeqIdGuesser::CSeqIdGuesser(), CSraValue::CSraValue(), CVcfHeatmap::CVcfHeatmap(), CVcfHistogram::CVcfHistogram(), CTaxFormat::DisplayOrgReport(), CTaxFormat::DisplayTaxonomyReport(), CTableImportListCtrl::DivideColumn(), CRtProfiler::DoReport(), CNetScheduleAdmin::DumpQueue(), DumpText(), CBulkInsertImpl::EndRow(), CHttpResponse::ErrorStream(), CUpwardTreeFiller::Execute(), C5ColObjectLoader::Execute(), CPslObjectLoader::Execute(), SBuildInfo::Extra(), CBlastDBExtractor::ExtractGi(), CBlastDBExtractor::ExtractLeafTaxIds(), CBlastDBExtractor::ExtractLinksInteger(), CDense_seg::ExtractRows(), CDense_seg::ExtractSlice(), ExtractSupportModels(), CBlastDBExtractor::ExtractTaxId(), CEntrez2Client::FilterIds(), C64MaskOut::Final64(), SrcEditDialog::FindBadColumns(), SrcEditDialog::FindBadRows(), FindBadRows(), IMacroBioDataIter::FindInTable(), CSeq_id_Local_Tree::FindMatch(), CEnumeratedTypeValues::FindName(), CValidError_imp::FindNonAsciiText(), CSNPDb_Impl::FindSeq(), sequpd::FixCollidingIDs_Bioseq(), CSubSource::FixDateFormat(), SrcEditDialog::FixTableAfterImport(), FixTableAfterImport(), CFlatPubSetQVal::Format(), CwxIntWithFlagsFormat::Format(), CGenbankFormatter::FormatCache(), CHTMLFormatterEx::FormatModelEvidence(), CHTMLFormatterEx::FormatNucId(), CHTMLFormatterEx::FormatProteinId(), CGBSeqFormatter::FormatReference(), CGBSeqFormatter::FormatSegment(), CStringUtil::FormatStringsOccurrences(), CHTMLFormatterEx::FormatTaxid(), CHTMLFormatterEx::FormatTranscriptId(), g_FormatValStats(), g_GetWorkerNodeInfo(), g_SuspendWorkerNode(), g_ToSmartStr(), g_ValidateVariationSeqfeat(), CNetCacheKey::GenerateBlobKey(), CSeqFastaReader::GenerateID(), CTextAlnReader::GenerateID(), GetAccessionAndDatabaseSource(), CObjFingerprint::GetAlignSignature(), CGlTextureFont::GetAllSizes(), CPSGDataLoader_Impl::GetAnnotRecordsNAOnce(), CNetStorageGCDatabase::GetAppLock(), CGencollSvc::GetAssmAccs(), CGenbankIdResolve::GetBestId(), CSeqDBVol::GetBioseq(), CShowBlastDefline::GetBioseqHandleDeflineAndId(), CPSGDataLoader::GetBlobIdFromSatSatKey(), CBlobRecord::GetChunk(), CPSGS_SNPProcessor::GetChunk(), CPSGS_WGSProcessor::GetChunk(), CCassQuery::GetColumnDef(), CTableAnnotDataSource::STableLocation::GetColumnInfo(), CTableDataSeq_table::GetColumnLabel(), CAlnVecRow::GetColumnText(), CGBObjectLoader::GetDescription(), CDesktopBioseqItem::GetDescription(), CEnumeratedTypeValues::GetDisplayName(), GetDocSumLabel(), CDBConnectionFactory::CServiceInfo::GetExcluded(), CWGSDataLoader_Impl::GetFileInfoByGeneral(), CGCClient_GetAssemblyBySequenceRequest::GetFilterDisplayName(), CSrcTableTaxonIdColumn::GetFromBioSource(), GetGeneralOrLocal(), CGffIdGenerator::GetGffId(), CGffIdGenerator::GetGffSourceId(), CSeqUtils::GetGiPlacements(), CUnixFeature::GetGroupGIDByName(), CUnixFeature::GetGroupNameByGID(), CAlnStatGlyph::GetHTMLActiveAreas(), GetIdHash(), GetIdHashOrValue(), SCacheInfo::GetIdKey(), CSeqIdGuesser::GetIdStrings(), CIdentifiersPanel::GetIdXrefs(), CTL_RowResult::GetItemInternal(), CSeq_featHandler::GetLabel(), CVcfVariant::GetLabel(), CFeatGlyph::GetLabel(), CPub::GetLabel(), CCit_gen::GetLabelV1(), CMedline_entry::GetLabelV1(), CHistogramGlyph::GetLegend(), CAlignFormatUtil::GetLinkoutUrl(), CGuiObjectInfoVariant::GetLinks(), CGuiObjectInfoVariation::GetLinks(), AbstractParser::GetLocation(), CSeqUtils::GetLocPlacements(), CSeqGraphicPane::GetMarkers(), CBioSource::GetNameValPairs(), GetNewGeneralProtId(), GetNewLocalProtId(), CSeqGraphicPane::GetNewMarkerName(), CGffIdGenerator::GetNextGffExonId(), CCachedTaxon3_impl::GetOrgReply(), CDirEntry::GetOwner(), SNetCacheAPIImpl::GetPartReader(), CNCPeerControl::GetPeerNameOrEmpty(), CSnpPtisClient::GetPrimarySnpTrackForId(), GetPrimitiveValue(), CPepXML::GetProteinName(), CPsgBlobId::GetPsgBlobId(), CNCBlobAccessor::GetPurgeData(), CSUCRefreshCntrl::GetRefreshedText(), CTemplate1TypeStrings::GetRefTemplate(), GetReplacementSeqIds(), CChecksumBase::GetResultHex(), CSeqTableGrid::GetRowLabelValue(), CSNPDbFeatIterator::GetSeq_feat(), CVDBGraphDb_Impl::GetSeqInfo(), CSraRun::GetSpotEntry(), CSeqSummary::GetStats(), CExprValue::GetString(), CTableDataAlnSummary::GetStringValue(), CTableDataVcf::GetStringValue(), CTableDataSUC::GetStringValue(), CTableDataSeq_table::GetStringValue(), CImage::GetSubImage(), CQuery::GetTheOnlyRow(), Sequence::GetTitle(), CVcfGlyph::GetTooltip(), CGuiObjectInfoSeq_align::GetToolTip(), CGuiObjectInfoClone::GetToolTip(), CGuiObjectInfoVariant::GetToolTip(), CGuiObjectInfoVariation::GetToolTip(), CTrackContainer::GetUniqueTrackName(), CUnixFeature::GetUserNameByUID(), CUnixFeature::GetUserUIDByName(), CGenomeProjectField::GetVal(), CPubField::GetVals(), CSeqTableGrid::GetValue(), CEditingActionDescGenomeProjectId::GetValue(), CEditingActionDescPubPmid::GetValue(), CEditingActionFeatTranslExcept::GetValue(), IMacroBioDataIter::GetValueFromTable(), CHttpRetryContext::GetValues(), CIdHandler::GnomonMRNA(), CIdHandler::GnomonProtein(), CAlignGroup::GroupByLikeTaxIds(), CAlignGroup::GroupByTaxIds(), CMsvc7RegSettings::IdentifyPlatform(), CMakeBlastDBApp::Init(), CVecScreenApp::Init(), SNetScheduleAPIImpl::Init(), CImage::Init(), CGapStatsApplication::Init(), CNetStorageGCApp::Init(), CBlastSearchTask::Init_Monitoring(), CBlastSearchTask::Init_RetrieveRID(), CBlastSearchTask::Init_SubmitSearch(), CNCDistributionConf::InitMirrorConfig(), CValidator::IsValidDbxref(), CNetScheduleExecutor::JobDelayExpiration(), XPrintTotalsItem::line(), CTaxValidationAndCleanup::ListTaxLookupErrors(), CTaxon1::LoadSubtreeEx(), CMakeCdrProds::MakeCdrProds(), MakeCommonBioSource(), impl::CDriverContext::MakeConnection(), MakeOriginalLabelForId(), SFlattenIterator::SFrame::MakePath(), CNetStorageObjectLoc::MakeShortUniqueKey(), MakeSmallGenomeSetNucId(), CDBConnectionFactory::MakeValidConnection(), CAlignFormatUtil::MapTemplate(), CRsitesGlyph::NeedTooltip(), CGtfIdGenerator::NextId(), CNormalizeVariant::NormalizeIdentityInstance(), NSTOutOfLimitMessage(), NSTValidateServerSection(), NStr::NumericToString(), CProcessor::OffsetId(), CDDRefDialog::OnButton(), CRemarksAndSerialNumberPanel::OnButtonClick(), CApplyRNAITSDlg::OnCtrlFromKillFocus(), CApplyRNAITSDlg::OnCtrlToKillFocus(), CPSGS_SNPProcessor::OnGotChunk(), CPSGS_WGSProcessor::OnGotChunk(), CQueryParsePanel::OnIdle(), CSmartFileTextToolbar::OnJobNotification(), CRelaxedLookupDlg::OnPubTextDClick(), IServer_MessageHandler::OnRead(), CTaxTreeTestDlg::OnRelatedClick(), CwxExportVectorImageDlg::OnSaveClick(), CDataMiningPanel::OnSearchFinished(), CSeqGraphicWidget::OnSeqGoto(), CAlnMultiWidget::OnUpdateUnhideSelected(), CBDB_Cache::Open(), CSeqIdChunkFile::OpenForRead(), CChunkFile::OpenForRead(), CChunkFile::OpenForWrite(), CSeqIdChunkFile::OpenForWrite(), CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::operator()(), CRR_Row< TTraits >::operator[](), C64MaskOut::Out64(), JSDParser::ParseDependencies(), CGridCommandLineInterfaceApp::ParseLoginToken(), JSDParser::ParseOneOf(), CwxLogDiagHandler::Post(), CValidError_imp::PostErr(), COpentelemetryTracerSpan::PostEvent(), CDataType::PrintASNTag(), printGFF3(), CDiagContext_Extra::PrintNcbiAppInfoOnRequest(), CDiagContext_Extra::PrintNcbiAppInfoOnStart(), CArgDependencyGroup::PrintUsage(), ProduceCassandraFutureErrorMessage(), CNetCacheAPI::ProlongBlobLifetime(), CNetICacheClientExt::ProlongBlobLifetime(), CNCActiveHandler::ProxyBList(), CNetScheduleExecutor::PutFailure(), CNetScheduleExecutor::PutResult(), CBlastAsyncFormatThread::QueueResults(), QuoteBinary(), QuoteBinaryHex(), CChunkFile::RawRead(), CSeqIdChunkFile::RawRead(), SNetStorageServerParameters::Read(), CObjectIStreamAsnBinary::ReadDouble(), CFastaReader::ReadOneSeq(), CTableImportDataSource::RecomputeHeaders(), CNCDistributionConf::ReConfig(), CBioTreeFeatureDictionary::Register(), CDense_seg::RemapToLoc(), CSubPrep_panel::RemoveAllFeatures(), CUser_object::RemoveNamedField(), RemoveTableRowsThatDoNotMatchStringConstraint(), CSeqGraphicPane::RenameMarker(), CLinearSelHandler::Render(), CAsnElementPrimitive::RenderValue(), CSeqGraphicPane::RenderVectorGraphics(), CChainer::CChainerImpl::ReplacePseudoGeneSeeds(), ReplaceVisibleChar(), CNetScheduleNotificationHandler::RequestJobWatching(), CQueryImpl::RequireRowCount(), CWGSClient::ResolveGeneral(), CTbl2AsnApp::Run(), SGridWorkerNodeImpl::Run(), CTestCompartApplication::Run(), CPrimeCacheApplication::Run(), CNetStorageGCApp::Run(), CAdvancedAlignCleanup::RunSplignOnCompartment(), CTestProtProd_EntrezNeighbors::RunTest(), s_AddCDS(), s_AddLocusSuffix(), s_AddOtherRelatedInfoLinks(), s_AddReciprocityScore(), s_AddTopLevelGenomicLinks(), s_AgpWrite(), s_BitmapFrom7x4(), s_BlastKmerVerifyVolume(), s_CheckTraceMateAlign(), s_CodonVariation(), s_CombineStrings(), s_ConvertToHexString(), s_ConvertValue(), s_CopyToStringColumn(), s_Count(), s_CreateListeningSocket(), s_DescribeSegment(), s_Dump(), s_DumpHeader(), s_DumpSparse(), s_DumpSparseMap(), s_DumpZero(), s_ErrnoToString(), s_fromatstr(), s_GeneralTagsMatch(), s_GetAccVer(), s_GetBigBedFeats(), s_GetBigBedSummary(), s_GetCIGARForSort(), s_GetCtgTime(), s_GetData(), s_GetDBFileTry(), s_GetEnumValue(), NSearchFeatPanel::s_GetFeatureLabel(), s_GetFullLinkoutUrl(), s_GetGeneWeight(), s_GetIDLengthErrorString(), s_GetLinkoutUrl(), s_GetNextLogPrefix(), s_GetSeqIdListString(), s_GetSeqLabel(), s_GetTypeString(), s_GetUserObjectContent(), s_GetVariationDbtagLabel(), s_IsIpgAccession(), s_MakeUidtoGiCacheKey(), s_MakeUniqueLocalId(), s_ModifySeqAlnWithFilteredSeqIDs(), s_NumGiToStringGiList(), s_ObjectIdToStr(), s_PositionAsString(), CCassandraException::s_ProduceException(), s_RecordMatch(), s_Repr_Value(), CAlignShadow::s_RunLengthEncode(), s_SizeOrMajorMinor(), s_SocketConnectorBuilder(), s_TableRowHook(), s_TaxidLinageToString(), s_WriteToSocket(), CWGSDb_Impl::SAmbiguityInfo::SAmbiguityInfo(), CViewGraphic::SaveSettingsAtProject(), SaveTableFile(), SaveTableRowAsListFile(), CCachedTaxon3_impl::SendOrgRefList(), CAgpwriteProcess::SeqEntryProcess(), CStructuredCommentsReader::SeqIdMatchesCommentId(), SeqTableFromAssemblyFields(), SequenceIdToString(), CRR_Context::Serialize(), SERV_GetServers(), CBDB_FieldLString::Set(), CSeq_id::Set(), CFormattingArgs::SetArgumentDescriptions(), CObject_id::SetAsMatchingTo(), CLocalBlast::SetBatchNumber(), CBedFeatureRecord::SetBlocks(), CBedGraphRecord::SetChromEnd(), CBedGraphRecord::SetChromStart(), CBedGraphRecord::SetChromValue(), CImage::SetDepth(), CGtfRecord::SetExonNumber(), CFileIO::SetFileSize(), CFilterColumnsDlg::SetGridAdapter(), CCgiRequestProcessor::SetHTTPStatus(), CIdHandler::SetId(), CObject_id::SetId8(), CUser_field::SetInt8(), CwxSeqMarkerSetDlg::SetMarkerPos(), CwxSeqMarkerSetDlg::SetMarkerRange(), CRawSeqToDeltaByNPanel::SetMinMax(), CwxPhyloSettingsDlg::SetParams(), CwxTreeLabelEdit::SetParams(), CAutodefOrgPanel::SetParams(), CGtfRecord::SetPartNumber(), CRelaxedLookupDlg::SetPubdesc(), CwxExportVectorImageDlg::SetSeqRange(), CBDB_FieldLString::SetStdString(), CBlobStoreBase::SetTextSizeServerSide(), CGridCommandLineInterfaceApp::SetUp_NetScheduleCmd(), CSplignArgUtil::SetupArgDescriptions(), CDiagContext::SetupDiag(), CGenomeProjectField::SetVal(), CLatLonPanel::SetValue(), CSingleSequencePanel::SetValue(), sGenerateFields(), sGetFeatMapKey(), CAlignSort::SortAlignments(), CAlnMixSegment::StartItsConsistencyCheck(), CConnTest::StatefulOkay(), StrippedAccVer(), CCgi2RCgiApp::SubmitJob(), SummarizeIdProblems(), sx_MakeUniqueId(), CObjectIStreamAsnBinary::TagToString(), CMacroFunction_SetColor::TheFunction(), CMacroFunction_SetSize::TheFunction(), CMacroFunction_SetMarker::TheFunction(), CMacroFunction_SetProperty::TheFunction(), CMacroFunction_SubtreeSum::TheFunction(), CMacroFunction_AddToSelectionSet::TheFunction(), CMacroFunction_IsNull::TheFunction(), CMacroFunction_Date::TheFunction(), CRowReaderStream_IANA_TSV::Tokenize(), CGlTextureFont::ToString(), CBioseqInfoRecord::ToString(), CSI2CSIRecord::ToString(), CCassQuery::ToString(), CProSplignPanel::TransferDataToWindow(), CCrossRefFeatsDlg::TransferDataToWindow(), CPublishedRefPanel::TransferDataToWindow(), CSingleAssemblyTrackingPanel::TransferDataToWindow(), CSingleRefGeneTrackLocPanel::TransferDataToWindow(), CCDSTranslationPanel::TransferDataToWindow(), CIdentifiersPanel::TransferDataToWindow(), CSingleCDSExceptionPanel::TransferDataToWindow(), CSingleDbxref_SubPanel::TransferDataToWindow(), CFeatureGenerator::SImplementation::TransformProteinAlignToTranscript(), CObjectIStreamAsnBinary::UnexpectedTagValue(), CTableImportListCtrl::UpdateColumnNames(), CSDBAPI::UpdateMirror(), CDense_seg::Validate(), CSerialFacetLength::Validate(), CSerialFacetMultipleOf< TValue >::Validate(), CSerialFacetValue< TValue >::Validate(), CSerialFacetContainer::Validate(), CValidError_imp::Validate(), CValidError_bioseq::ValidateBioseqContext(), CValidError_imp::ValidateCitations(), CValidError_imp::ValidateDbxref(), CValidError_bioseq::ValidateDelta(), CValidError_bioseq::ValidateHistory(), CValidateVariant::ValidateIdentityInst(), CValidError_bioseq::ValidateIDSetAgainstDb(), CValidError_imp::ValidatePubdesc(), CValidError_bioseq::ValidateRawConst(), CValidError_desc::ValidateSeqDesc(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_bioseq::ValidateSeqId(), CTable2AsnValidator::ValReportErrorStats(), DTDParser::Value(), CBlobRecord::VerifyBlobSize(), CCassBlobTaskLoadBlob::Wait1(), CConversionApp::Write(), CVdbFastaExtractor::Write(), CNCServer::WriteAppSetup(), CNCBlobStorage::WriteBlobList(), CObjectOStreamAsn::WriteDouble2(), CId1FetchApp::WriteHistoryTable(), TNCBufferType::WriteNumber(), CSrvSocketTask::WriteNumber(), IPhyloTreeRender::x_AddCollapsedGeomNode(), CGuiObjectInfoSeq_feat::x_AddExtraInfo(), CPdfFontHandler::x_AddFont(), CFeatureItem::x_AddFTableCdregionQuals(), CSeqGraphicPane::x_AddNewMarker(), CFeatureItem::x_AddProductIdQuals(), CFeatureItem::x_AddQualsRna(), CSourceRequirements::x_AddUniquenessProblems(), CGuiObjectInfoSeq_align::x_AddUserObject(), impl::CDriverContext::x_AdjustCounts(), CFeatGapInfo::x_AdjustOrigLabel(), x_AdjustOrigLabel(), CMiscSeqTable::x_ApplyMiscSeqTableToSeqEntry(), variation::CHgvsParser::x_AsHgvsExpression(), variation::CHgvsParser::x_AsHgvsInstExpression(), CRPCClient_Base::x_Ask(), IEditMacroFunction::x_AssignReturnValueFromContainer(), CAlnGraphic::x_BuildHtmlTable(), IMacroBioDataIter::STableToApply::x_CacheColFromTable(), CWGSDb_Impl::SAmbiguityInfo::x_Calculate4na(), CWGSDb_Impl::SAmbiguityInfo::x_CalculateAmbiguityMask(), CBulkInsertImpl::x_CheckCanWrite(), CQuery::CRow::x_CheckColumnNumber(), CMacroFunction_StringConstraints::x_CheckConstraintWithinClass(), CMiscSeqTable::x_CheckDuplicateIds(), CValidError_bioseq::x_CheckForMultiplemRNAs(), CSingleFeatValidator::x_CheckForNonAsciiCharacters(), CQueryImpl::x_CheckRowCount(), CSubPrep_panel::x_CheckSourceQuals(), CNSTDatabase::x_CheckStatus(), CMacroFunction_StringConstraints::x_CheckStringConstraint(), CAlignCleanup::x_Cleanup_AnchoredAln(), CSVGRenderer::x_ClippingRect(), CWriteDB_TaxID::x_CommitTransaction(), CFastaDeflineReader::x_ConvertNumericToLocal(), CVcfLoadingJob::x_CreateColumnarVCFProjectItem(), CSGFeatureJob::x_CreateFeature_Recursive(), CFeatureGenerator::SImplementation::x_CreateGeneFeature(), CWigGraph::x_CreateNetCacheKey(), CRemoteAppRequest::x_CreateWDir(), CDeflineGenerator::x_DescribeClones(), CShowBlastDefline::x_DisplayDefline(), CShowBlastDefline::x_DisplayDeflineTableBody(), CValidatePanel::x_DisplayList(), CDisplaySeqalign::x_DisplaySequenceIDForQueryAnchored(), CGeneGroup::x_Draw(), CLayoutGroup::x_Draw(), CAlnStatGlyph::x_DrawBarGraph(), CLinkedFeatsGroup::x_DrawLabels(), CMacroFunction_EditStringQual::x_EditFields(), CSGAlignStatJob::x_Execute(), CSFTranslationJob::x_Execute(), CTar::x_ExtractSparseFile(), CShowBlastDefline::x_FillDeflineAndId(), CDisplaySeqalign::x_FillSeqid(), CTblEditDlg::x_FindBadImportColumns(), CDense_seg::x_FindSegment(), CGencollIdMapper::x_FixImperfectId(), CGuiObjectInfoClone::x_FormatAccessionLinks(), CShowBlastDefline::x_FormatClusterMemData(), CValidErrorFormat::x_FormatConsensusSpliceForSubmitterReport(), CDBSourceItem::x_FormatDBSourceID(), CShowBlastDefline::x_FormatDeflineTableLine(), CAlnGraphic::x_FormatGraphOverview(), CCdregionValidator::x_FormatIntronInterval(), CShowBlastDefline::x_FormatPsi(), CAlignFilter::x_FuncCall(), CNetStorageServer::x_GenerateGUID(), CID2SNPProcessor_Impl::x_GetAccVer(), CAlnVecRow::x_GetAlignmentTooltip_Gap(), CAlnVecRow::x_GetAlignmentTooltip_General(), CWigGraph::x_GetBigWigData(), CWigGraph::x_GetBigWigSummary(), CAsnSubCacheCreateApplication::x_GetBioseqHandle(), x_GetCDDIds(), CVcfGlyph::x_GetClinVarToolTip(), CNetStorageHandler::x_GetConnRef(), CTL_LangCmd::x_GetDynamicID(), CBulkCmdDlg::x_GetExistingTextHandling(), CGuiObjectInfoSeq_feat::x_GetFeatureToolTip(), CImportFeatTable::x_GetFixedId(), x_GetHandleName(), CPdfObject::x_GetHex(), CAutoDef::x_GetHumanSTRFeatureClauses(), x_GetLabel_Content(), CNAUtils::x_GetNAMetaData(), CBasicManifest_CI< TString >::x_GetNextValue(), CNSTServiceProperties::x_GetProlongAsString(), CEUtilsUpdater::x_GetPubmedEntry(), CAlignFilter::x_GetRegionMap(), CRelaxedLookupDlg::x_GetSearchTerms(), CAltValidator::x_GetTaxonSpecies(), CLinkedFeatsGroup::x_GetUniqueLabel(), CAgpconvertApplication::x_HandleTaxArgs(), IMacroBioDataIter::STableToApply::x_InitAndCheck(), CElementaryMatching::x_InitBasic(), CTaxFormat::x_InitBlastDBTaxInfo(), CBedCoverageGraph::x_InitData(), CVcfHeatmap::x_InitData(), CDisplaySeqalign::x_InitDefLinesHeader(), CShowBlastDefline::x_InitFormattingInfo(), CAgpConverter::x_InitializeAndCheckCopyOfTemplate(), CIdMapperNumAssembly::x_InitializeMapping(), CFeatureCheckPanel::x_InitTree(), variation_ref::CHgvsParser::x_InstToString(), variation_ref::CHgvsParser::x_IntWithFuzzToStr(), CMacroFunction_IsPresent::x_IsContainerElementPresent(), NStr::x_Join(), CWNJobWatcher::x_KillNode(), CSVGRenderer::x_LinearGradient(), CEutilsClient::x_LinkOnceT(), CIntronTrack::x_LoadFeatures(), CHTMLPage::x_LoadTemplateLib(), x_LocalCDDEntryIdToBioId(), CNCMessageHandler::x_LogCmdEvent(), CDB_Numeric::x_MakeFromString(), CDisplaySeqalign::x_MapDefLine(), CSeq_loc_Mapper_Base::x_MapNextRange(), CUpdateAlign::x_MapNonPresentIDs(), CTaxFormat::x_MapSeqTemplate(), CGenbankFormatter::x_Medline(), CSeqGraphicPane::x_ModifyMarker(), CNetStorageHandler::x_OnData(), CNetStorageHandler::x_OnSocketWriteError(), CRegexpTemplateTester::x_Op_Skip(), CFastCgiThreadedRequest::x_ParseEnv(), CTar::x_ParsePAXData(), Stroke::x_ParseStipplePattern(), CStrainSerotypeInfluenza::x_ParseStrainSerotype(), CSVGRenderer::x_PolygonStippleToPattern(), CArgDescriptions::x_PostCheck(), CBlastDB_SeqFormatter::x_Print(), CDisplaySeqalign::x_PrintDefLine(), CDisplaySeqalign::x_PrintDynamicFeatures(), CNetStorageGCApp::x_PrintFinishCounters(), CGapStatsApplication::x_PrintHistogram(), CAgpValidateReader::x_PrintPatterns(), CGapStatsApplication::x_PrintSeqsForGapLengths(), CGapStatsApplication::x_PrintSummaryView(), CDownwardTreeFiller::x_PrintTaxInfo(), CTaxFormat::x_PrintTaxInfo(), CPrimeCacheApplication::x_Process_Fasta(), CNetStorageHandler::x_ProcessHello(), CFastaDeflineReader::x_ProcessIDs(), CFastCgiApplicationMT::x_ProcessThreadedRequest(), CPSGS_WGSProcessor::x_ProcessTSEChunkRequest(), CGenbankFormatter::x_Pubmed(), variation_ref::CHgvsParser::x_raw_seq(), CAgpConverter::x_ReadAgpEntries(), CSeqDBAliasSets::x_ReadAliasSetFile(), CTar::x_ReadArchive(), CTar::x_ReadEntryInfo(), CShortReadFastaInputSource::x_ReadFastc(), CShortReadFastaInputSource::x_ReadFastqOneSeq(), CTableImportDataSource::x_RecomputeRowFields(), CBlastSearchTask::x_ReportErrors(), CMacroFunction_RemoveOutside::x_RmvOutsideFields(), CWigGraph::x_RunBigWigScript(), CGraphOverlay::x_SaveSettings(), CTraceGraphTrack::x_SaveSettings(), CEutilsClient::x_Search(), CEutilsClient::x_SearchOnce(), CNetStorageHandler::x_SendOutputBuffer(), CNetStorageHandler::x_SendOverUTTP(), CPSGS_SNPProcessor::x_SendSplitInfo(), variation_ref::CHgvsParser::x_SeqPntToStr(), CFeatureGenerator::SImplementation::x_SetComment(), CNetStorageHandler::x_SetObjectInfoReply(), CId1Reader::x_SetParams(), CDeflineGenerator::x_SetTitleFromWGS(), CMakeProfileDBApp::x_SetupArgDescriptions(), CDataLoadersUtil::x_SetupLDS2DataLoader(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CFormatGuess::x_TestFormat(), CPublishedRefPanel::x_UpdateDOIPmidControls(), CHistogramGlyph::x_UpdateLegend(), CSeqGraphicWidget::x_UpdateMarkerInfo(), CwxMarkerInfoPanel::x_UpdateMarkerLabel(), CSubPrep_panel::x_UpdateSequenceCountLabel(), CRequestContext::x_UpdateSubHitID(), CValidError_align::x_ValidateAlignPercentIdentity(), CValidError_bioseq::x_ValidateCDSmRNAmatch(), CProjectStorage::x_ValidateCompressionFormat(), CSingleFeatValidator::x_ValidateSeqFeatLoc(), CCdregionValidator::x_ValidateSeqFeatLoc(), CProjectStorage::x_ValidateSerialFormat(), CAgpConverter::x_VerifyComponents(), CCgiStreamWrapperWriter::x_WriteChunk(), CElementaryMatching::x_WriteIndexFile(), CGff2Reader::xAlignmentSetDenseg(), CGff2Reader::xAlignmentSetSpliced_seg(), CGtfWriter::xAssignFeaturesCds(), CGffIdGenerator::xDisambiguate(), CGffIdGenerator::xExtractFeatureLocation(), CFeatTableEdit::xNextFeatId(), CFeatTableEdit::xNextLocusTag(), CMultiReaderApp::xProcessAgp(), CFeatTableEdit::xRenameFeatureId(), CGff3Writer::xWriteFeatureCds(), CGff3Writer::xWriteFeatureRna(), CGff3Writer::xWriteFeatureTrna(), CGff3Writer::xWriteNucleotideFeatureTransSpliced(), CGff3Writer::xWriteProteinFeature(), CGff3Writer::xWriteSequenceHeader(), CWiggleWriter::xWriteSingleGraphFixedStep(), and CWGSDb_Impl::SAmbiguityInfo::~SAmbiguityInfo().
|
inlinestatic |
Definition at line 681 of file ncbistr.hpp.
References flags, NStr::NumericToString(), and rapidjson::value.
|
inline |
Definition at line 121 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::data(), and CTempXStr< _TChar >::length().
|
inline |
Definition at line 790 of file tempstr.hpp.
|
inline |
Definition at line 874 of file tempstr.hpp.
|
inline |
Definition at line 842 of file tempstr.hpp.
References str().
|
inline |
Definition at line 880 of file tempstr.hpp.
|
inline |
Definition at line 5015 of file ncbistr.hpp.
References CTempString::data(), and CTempString::size().
|
inline |
Return TRUE if s1 < s2.
Definition at line 5799 of file ncbistr.hpp.
|
inline |
Return TRUE if s1 < s2 ignoring case.
Definition at line 5834 of file ncbistr.hpp.
|
inline |
Return TRUE if s1 < s2 ignoring case.
Definition at line 5872 of file ncbistr.hpp.
|
inline |
Return TRUE if s1 < s2 ignoring case.
Definition at line 4963 of file ncbistr.hpp.
References PNocase_Generic< T >::Equals().
|
inline |
Return TRUE if s1 < s2 ignoring case.
Definition at line 4995 of file ncbistr.hpp.
References PNocase_Conditional_Generic< T >::Equals().
|
inline |
Definition at line 239 of file tempstr.hpp.
References CTempString::data(), g_CTempString_plus(), and CTempString::length().
|
inline |
Definition at line 246 of file tempstr.hpp.
References CTempString::data(), g_CTempString_plus(), and CTempString::length().
|
inline |
Definition at line 267 of file tempstr.hpp.
References CTempString::data(), g_CTempString_plus(), and CTempString::length().
|
inline |
Definition at line 260 of file tempstr.hpp.
References CTempString::data(), g_CTempString_plus(), and CTempString::length().
|
inline |
Definition at line 253 of file tempstr.hpp.
References CTempString::data(), g_CTempString_plus(), and CTempString::length().
|
inline |
Definition at line 886 of file tempstr.hpp.
|
inline |
Definition at line 848 of file tempstr.hpp.
References CTempString::compare(), and str().
|
inline |
Definition at line 892 of file tempstr.hpp.
|
inline |
Operator for writing TStringUCS2 to stream.
Operator is needed for using in SDBAPI.
Definition at line 3848 of file ncbistr.hpp.
References str().
|
inline |
Definition at line 276 of file tempstr.hpp.
|
inline |
Definition at line 769 of file tempstr.hpp.
References CTempString::assign().
|
inline |
Definition at line 862 of file tempstr.hpp.
|
inline |
Definition at line 836 of file tempstr.hpp.
References CTempString::data(), CTempString::length(), and str().
|
inline |
Definition at line 868 of file tempstr.hpp.
|
inline |
Definition at line 898 of file tempstr.hpp.
|
inline |
Definition at line 854 of file tempstr.hpp.
References CTempString::compare(), and str().
|
inline |
Definition at line 904 of file tempstr.hpp.
|
inline |
Definition at line 140 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::length(), and CTempXStr< _TChar >::m_Data.
Referenced by CTempXStr< _TChar >::CompareCase().
|
inline |
Index into the current string and provide its character in a read- only fashion.
If the index is beyond the length of the string, a '\0' character is returned.
Definition at line 341 of file tempstr.hpp.
References CTempString::m_Length, and CTempString::m_String.
|
inline |
Parse the string.
str | String to parse. The parser assumes the string is formatted like "name1<valsep>value1<argsep>name2<valsep>value2...". Each name and value is passed to the decoder (if not NULL) before storing the pair. |
merge_argsep | Flag for merging separators between pairs. By default the separators are merged to prevent pairs where both name and value are empty. |
Definition at line 4692 of file ncbistr.hpp.
Referenced by CNcbiResourceInfo::CNcbiResourceInfo(), CStringPairs< TExtraValuesMap >::Parse(), CRequestContext_PassThrough::x_DeserializeUrlEncoded(), SDiagMessage::x_ParseExtraArgs(), and NSnpGui::x_ProcessDbgaptext().
|
inlinestatic |
Parse the string using the provided decoder, put data into the container.
pairs | Container to be filled with the parsed name/value pairs |
str | String to parse. The parser assumes the string is formatted like "name1<valsep>value1<argsep>name2<valsep>value2...". Each name and value is passed to the decoder (if not NULL) before storing the pair. |
decoder | String decoder (Url, Xml etc.) |
own | Flag indicating if the decoder must be deleted by the function. |
merge_argsep | Flag for merging separators between pairs. By default the separators are merged to prevent pairs where both name and value are empty. |
Definition at line 4715 of file ncbistr.hpp.
|
static |
Parse C-style escape sequences in the specified string.
Parse escape sequences including all those produced by PrintableString.
str | The string to be parsed. |
mode | Parsing mode. By default all escape sequences with a value outside the range of [0-255] will be converted to the least significant byte, with no warning. |
user_char | If 'mode' have eEscSeqRange_User, replace all out of range escape sequences with this char. |
Definition at line 4784 of file ncbistr.cpp.
Referenced by SNSCommandArguments::AssignValues(), CSubSource::FixLatLonFormat(), CNetScheduleAPI::GetProgressMsg(), CAttrListParser::NextAttribute(), SNetServerConnectionImpl::ReadCmdOutputLine(), CNetCacheWriter::TransmitImpl(), CNSClientId::Update(), CWriteDB_Impl::x_GetFastaReaderDeflines(), CGFFReader::x_ParseV2Attributes(), IRWRegistry::x_Read(), and CCompoundIDDumpParser::x_ReadString().
|
static |
Discard C-style backslash escapes and extract a quoted string.
[in] | str | The original string to extract a quoted string from. It must start with a double quote. |
[out] | n_read | How many symbols the quoted string occupied in the original string. |
Definition at line 4918 of file ncbistr.cpp.
Referenced by g_ProcessJobInfo(), g_UnquoteIfQuoted(), CJsonNode::GuessType(), CAttrListParser::NextAttribute(), and CJsonParser::ParseString().
|
inline |
Construction.
Definition at line 4989 of file ncbistr.hpp.
|
inline |
Construction.
Definition at line 5845 of file ncbistr.hpp.
|
static |
Get a printable version of the specified string.
All non-printable characters will be represented as "\a", "\b", "\f", "\n", "\r", "\t", "\v", "\'", "\"", "\\", etc. or "\ooo" where 'ooo' is an octal code of the character. The resultant string is a well- formed C string literal, which, without alterations, can be compiled by a C/C++ compiler. Potential tri-graphs are taken care of, too. In many instances, octal representations of non-printable characters can be reduced to take less than all 3 digits, if there is no ambiguity in the interpretation. fPrintable_Full cancels the reduction, and forces to produce the full 3-digit octal codes throughout.
str | The string whose printable version is wanted. |
mode | How to display the string. The default setting of fNewLine_Quote displays the new lines as "\n", and uses the octal code reduction. When set to fNewLine_Passthru, the line breaks are actually produced after each "\n" but preceded with trailing backslashes. |
Definition at line 3944 of file ncbistr.cpp.
Referenced by CCgiCookies::Add(), AddParameterToDiff(), SNetCacheAPIImpl::AppendClientIPSessionIDPasswordAgeHitID(), CNetCacheKey::Assign(), CGridCommandLineInterfaceApp::Cmd_Replay(), CNetScheduleNotificationHandler::CmdAppendTimeoutGroupAndClientInfo(), CNetScheduleKey::CNetScheduleKey(), SQueueParameters::ConfigSection(), SQueueParameters::Diff(), CLDS2_Database::Dump(), IRegistry::EnumerateEntries(), IRegistry::EnumerateInSectionComments(), SNetScheduleSubmitterImpl::FinalizeRead(), CClientPseudoTypeStrings::GenerateClassCode(), IRegistry::Get(), IRegistry::GetComment(), CDB_Object::GetLogString(), CSpectrumSet::GetMGFBlock(), SQueueParameters::GetPrintableParameters(), CJobEvent::GetQuotedErrorMsg(), CJob::GetQuotedInput(), CJob::GetQuotedOutput(), IRegistry::HasEntry(), CTLibContext::InitApplicationName(), SNetICacheClientImpl::InitiateWriteCmd(), CSpectrumSet::LoadMultDTA(), SNetServiceImpl::MakeAuthString(), SNetICacheClientImpl::MakeStdCmd(), CS2N_Guard::Message(), CPubseqGatewayApp::OnBadURL(), CNetScheduleHandler::OnMessage(), CFastaReader::ParseDefLine(), CWNJobWatcher::Print(), SDebugPrintout::Print(), CNSClient::Print(), CGridCommandLineInterfaceApp::PrintJobAttrsAndDumpInput(), PrintJSONNode(), CGridCommandLineInterfaceApp::PrintNetScheduleStats(), CNetCacheAdmin::PrintStat(), CRegexpTemplateTester::PrintVar(), CRegexpTemplateTester::PrintVars(), CPrintJobInfo::PrintXput(), CNetICacheClientExt::ProlongBlobLifetime(), CNetCacheAdmin::Purge(), CNetScheduleExecutor::PutFailure(), CNetScheduleExecutor::PutProgressMsg(), CNetScheduleExecutor::PutResult(), CBamIndex::Read(), CJsonOverUTTPReader::ReadMessage(), CNetScheduleExecutor::Reschedule(), CDemoApp::Run(), CSampleObjmgrApplication::Run(), s_CheckKeySubkey(), s_DumpCompoundID(), s_DumpHeader(), s_DumpSparseMap(), s_GetUsageSymbol(), s_HandleError(), s_Printable(), s_ReadMagic(), s_Repr_Value(), s_SerializeJob(), s_WriteToSocket(), CNetScheduleJobSerializer::SaveJobInput(), CNetScheduleJobSerializer::SaveJobOutput(), CNetICacheClient::Search(), SNSAlertAttributes::Serialize(), IRWRegistry::Set(), SNetScheduleAPIImpl::SetAuthParam(), IRWRegistry::SetComment(), CCgiResponse::SetFilename(), CNetCacheAPIParameters::SetPassword(), grid::netschedule::limits::ThrowIllegalChar(), SNetStorage::SLimits::ThrowIllegalChars(), IRWRegistry::Unset(), CCgiCookie::Write(), CIdMapperGCAssembly::x_AddAliasMappings(), CJob::x_AppendAffinity(), CJob::x_AppendGroup(), CJob::x_AppendInput(), CJob::x_AppendNcbiPhid(), CJob::x_AppendOutput(), CJob::x_AppendRemoteClientIP(), CJob::x_AppendRemoteClientSID(), CCgiCookie::x_CheckField(), CVDBValue::x_Get(), CNetStorageHandler::x_OnSocketWriteError(), CRegexpTemplateTester::x_Op_Skip(), CRegexpTemplateTester::x_Op_Test(), CNetScheduleHandler::x_PrintGetJobResponse(), CNSGroupsRegistry::x_PrintOne(), CNSScopeRegistry::x_PrintOne(), CNSAffinityRegistry::x_PrintOne(), CNetScheduleHandler::x_ProcessGetMessage(), CNetScheduleHandler::x_ProcessQueueInfo(), CNetScheduleHandler::x_ProcessStatus(), CTar::x_ReadEntryInfo(), CCgiEntryReaderContext::x_ReadURLEncodedEntry(), CSharedHitId::x_SetHitId(), and CSrcChkApp::xTryProcessIdFile().
Convert pointer to string.
str | Pointer to be converted. |
Definition at line 2752 of file ncbistr.cpp.
Convert pointer to string.
out_str | Output string variable. |
str | Pointer to be converted. |
Definition at line 2762 of file ncbistr.cpp.
Referenced by CStackTrace::SStackFrameInfo::AsString(), CDataLoader::CDataLoader(), CONNECT_Init(), DebugDumpPairsCRefCRef(), DebugDumpPairsPtrCRef(), DebugDumpPairsPtrPtr(), CTSE_Info::GetDescription(), CProjectViewBase::GetFingerprint(), CDebugDumpContext::Log(), MT_LOCK_cxx2c(), PConvertToString< const void * >::operator()(), CSrvDiagMsg::operator<<(), CObjectIStream::ReadExternalObject(), REG_cxx2c(), CWriteObjectList::RegisterObject(), s_Init(), s_LOCK_Cleanup(), s_LOCK_Handler(), s_REG_Cleanup(), s_REG_Get(), s_REG_Set(), CPluginObject::SetObject(), CPluginObject::SetProject(), CObjectOStream::WriteExternalObject(), and CObjectOStream::WritePointer().
|
inline |
Definition at line 380 of file ncbistr_util.hpp.
References CStrTokenPosAdapter< TPosContainer >::m_TokenPos.
|
inline |
Definition at line 57 of file ncbistr_util.hpp.
|
static |
Quote string (generic version).
Prepend and append a specified quote character, but escaping any occurrence of the quote character using either a specified escape character (default '\') or as option, by doubling the quoting character if escape character is the same (e.g. like the single quote in SQL, double-quote in CSV).
str | The string to be quoted. |
quote_char | Character used for quoting, default to double quote '"'. |
escape_char | Character used for escaping other quote characters inside string (default '\'). Each <quote_char> in the string will be replaced with pair "escape_char + quote_char". Each <escape_char> in the string will be replaced with pair "escape_char + escape_char". |
Definition at line 3888 of file ncbistr.cpp.
Referenced by CCassPrm::AsStringForDebug(), CCassConnection::Prepare(), ProduceCassandraFutureErrorMessage(), ProduceCassandraQueryErrorMessage(), CCassQuery::Restart(), NMacroUtil::TransformForCSV(), and CCassQuery::Wait().
|
static |
Replace occurrences of a substring within a string and returns the result as a new string.
src | Source string from which specified substring occurrences are replaced. |
search | Substring value in "src" that is replaced. |
replace | Replace "search" substring with this value. |
start_pos | Position to start search from. |
max_replace | Replace no more than "max_replace" occurrences of substring "search" If "max_replace" is zero(default), then replace all occurrences with "replace". |
num_replace | Optional pointer to a value which receives number of replacements occurred. |
Definition at line 3385 of file ncbistr.cpp.
|
static |
Replace occurrences of a substring within a string.
src | Source string from which specified substring occurrences are replaced. |
search | Substring value in "src" that is replaced. |
replace | Replace "search" substring with this value. |
dst | Result of replacing the "search" string with "replace" in "src". This value is also returned by the function. |
start_pos | Position to start search from. |
max_replace | Replace no more than "max_replace" occurrences of substring "search" If "max_replace" is zero(default), then replace all occurrences with "replace". |
num_replace | Optional pointer to a value which receives number of replacements occurred. |
Definition at line 3305 of file ncbistr.cpp.
Referenced by CSimpleMakeFileContents::SParser::AcceptLine(), CCgiCookies::Add(), CTrackContainer::AddNewTrack(), CLinkUtils::AddSequenceLinks(), CMsvcConfigure::AnalyzeDefines(), CExpansionRule::ApplyRule(), CEditSubpanel::ApplyToAll(), CEditSubpanel::ApplyToSelected(), BioSourceFromImpFeat(), BOOST_AUTO_TEST_CASE(), BrFcgiBookTermToEutilsTerm(), CCddBookRefToEsearchTerm(), CProjectsLstFileFilter::CheckProject(), CInterProcessLock::CInterProcessLock(), CCleanup::CleanupAffil(), CFixForTransSplicing::CollectProteinNames(), CMsvcPrjFilesCollector::CollectSources(), CProjectsLstFileFilter::ConvertToMask(), SBDB_CacheUnitStatistics::ConvertToRegistry(), COperationTiming::COperationTiming(), CreateConfigurableFile(), CHtmlTooltipFormatter::CreateGenomicLink(), CTrackConfigManager::CreateTrackConfig(), CreateUtilityProjectItem(), CMSResponse::CSVString(), CTraversalNode::CTraversalNode(), SAppProjectT::DoCreate(), SLibProjectT::DoCreate(), CSimpleMakeFileContents::Dump(), CMapperFormattingArgs::ExtractAlgorithmOptions(), CVDBBlastUtil::FillVDBInfo(), CSymResolver::FilterDefine(), CFlatSubSourcePrimer::Format(), CCodeGenerator::GenerateFileList(), CNcbiApplogApp::GenerateToken(), CProjBulderApp::GenerateUnixProjects(), CNCBlobStorage::GetBList(), CAlignFormatUtil::GetCustomLinksList(), CAdvStringConstraintPanel< T >::GetDescription(), CTypeStrings::GetDoxygenModuleName(), CMsvcProjectMakefile::GetExtraFiles(), CAlignFormatUtil::GetFASTALinkURL(), CBlastDbMetadata::GetFileName(), CBlastDbFinder::GetFileName(), CGC_Assembly::GetFileSafeName(), CGC_AssemblyUnit::GetFileSafeName(), CHistParamsManager::GetHistParams(), CFeatGlyph::GetHTMLActiveAreas(), CHistogramGlyph::GetHTMLActiveAreas(), CVcfGlyph::GetHTMLActiveAreas(), CAffil::GetLabelV2(), CStringConstraintPanel::GetMacroStringConstraint(), CProjBulderApp::GetRegSettings(), GetStdPath(), CStringConstraintPanel::GetStringConstraint(), CMacroStringConstraintPanel::GetStringConstraint(), CSuspectAddConstraint::GetStringConstraint(), CAdvStringConstraintPanel< T >::GetStringConstraint(), CSubSource::GetSubtypeName(), COrgMod::GetSubtypeName(), GetTitle(), CAlignFormatUtil::GetURLFromRegistry(), CSimpleMakeFileContents::GetValue(), CTextUtil::GetWordFrequencies(), CProjBulderApp::Gui_ConfirmProjects(), CHistParamsManager::HasSettings(), IdentifyLocalId(), CProjectsLstFileFilter::InitFromString(), CHistParamsManager::IsTempSettings(), CAgpErrEx::LineDone(), CDoiLookup::LookupIsojta(), CAlignFormatUtil::MapTemplate(), DTDParser::Modules(), CDiscrepancyPanel::OnClick(), CDiscrepancyPanel::OpenCdsTrnaOverlapDlg(), CStreamLineReaderConverter::operator++(), ParseAttributes(), XSDParser::ParseElementContent(), CFormattingArgs::ParseFormattingString(), CTrackData::ParseLine(), WSDLParser::ParsePart(), CPythonDiagHandler::Post(), CAgpValidateReader::CIdsNotInAgp::Print(), CAgpErrEx::PrintAllMessages(), printGFF3(), CProjBulderApp::ProcessLocationMacros(), CMsvcSite::ProcessMacros(), CObjectIStreamJson::ReadFileHeader(), CAsnvalThreadState::ReportReadFailure(), s_CollectRelPathes(), CISOJTALookupWithCache::s_DoLookup(), s_EscapeColon(), s_GBSeqStringCleanup(), s_GenerateWeblinks(), s_GetBlastScore(), s_GetGermlineTranslation(), s_GetLinkoutUrl(), s_GetSpecimenVoucherText(), s_HtmlizeStructuredCommentData(), s_LoadTempTrackRecursive(), s_ReplaceArg(), s_RestoreColon(), s_StringsAreEquivalent(), s_TitleFromChromosome(), s_UseThisSeqToTextSeqID(), SDubiousShortSequence::SDubiousShortSequence(), CBrowserUtils::SendToBrowser(), CNetCacheAPIParameters::SetMirroringMode(), NStr::strftime(), CRequestContext::sx_NormalizeContextPropertyName(), CMsvcMetaMakefile::TranslateCommand(), CDllResolver::TryCandidate(), CAsnvalThreadState::ValidateInput(), CAsnvalApp::ValidateOneDirectory(), CAsnvalThreadState::ValidateWorker(), CFileCode::WriteSpecRefs(), CFileCode::WriteUserCopyright(), CDllResolver::x_AddExtraDllPath(), CLinkedFeatsGroup::x_AddFeatHTMLActiveArea(), CLinkUtils::x_AddLink(), CHistParamsManager::x_AddSettings(), SGridWorkerNodeImpl::x_AreMastersBusy(), CTraversalNode::x_CloneWithoutCallers(), CCgiCookie::x_EncodeCookie(), CFtableFormatter::x_FormatQuals(), CNewCleanup_imp::x_GBQualToOrgRef(), CVcfGlyph::x_GetClinVarToolTip(), CWriteDB_Impl::x_GetFastaReaderDeflines(), CMsvcProjectMakefile::x_GetHeaders(), CGencollIdMapper::x_GetIdFromSeqAndSpec(), CFastCgiThreadedRequest::x_ParseEnv(), CNAUtils::x_ParseNAMetaData(), CBedColumnData::xCleanColumnValues(), CBedReader::xCleanColumnValues(), CMicroArrayReader::xCleanColumnValues(), CSrcWriter::xDequotedValue(), CBedAutoSql::xParseAutoSqlColumnDef(), and CBedLineReader::xProcessTrackLine().
|
static |
Replace occurrences of a substring within a string.
On some platforms this function is much faster than Replace() if sizes of "search" and "replace" strings are equal. Otherwise, the performance is mainly the same.
src | String where the specified substring occurrences are replaced. This value is also returned by the function. |
search | Substring value in "src" that is replaced. |
replace | Replace "search" substring with this value. |
start_pos | Position to start search from. |
max_replace | Replace no more than "max_replace" occurrences of substring "search" If "max_replace" is zero(default), then replace all occurrences with "replace". |
num_replace | Optional pointer to a value which receives number of replacements occurred. |
Definition at line 3396 of file ncbistr.cpp.
Referenced by AdjustSpecificHostForTaxServer(), CTrackConfigManager::AdjustTrackOrder(), CMsvcConfigure::AnalyzeDefines(), CSamplePhoneHomePolicy::Apply(), CExpansionRule::ApplyRule(), CConvertComment::ApplyToComment(), AssignFuzzySimpleNtSite(), AssignIntronSite(), CGRPCServerCallbacks::BeginRequest(), NMItemData::CheckTableNameAndColumns(), CPCRPrimerSeq::Clean(), CGb_qual::CleanupAndRepairInference(), CGb_qual::CleanupRptUnitRange(), CMemoryFileMap::CMemoryFileMap(), CNcbiLogFields::CNcbiLogFields(), CTraversalSpecFileParser::CDescFileNode::ConvertToMemberMacro(), CCulturedTool::CorrectBioSource(), CReportItemFactory::Create(), CreateActionBiosource(), CreateActionDesc(), CCompareWithBiosample::CreateBiosampleUpdateWebService(), CSingleGbQualSubPanel::CreateControls(), CSQLITE3_BlobCacheCF::CreateInstance(), CReportItem::CreateReportItem(), pub_report::CPubData::CreateTitleWords(), SAppProjectT::DoCreate(), CDependent_field_rule::DoesStringMatchRuleExpression(), CField_rule::DoesStringMatchRuleExpression(), CStringConstraint::DoesTextMatch(), SMakeProjectT::DoResolveDefs(), CGBSeqFormatter::EndSection(), CRemoteAppLauncher::ExecRemoteApp(), CReportNode::Export(), SBuildInfo::ExtraNameXml(), CObjectIStreamJson::FindDeep(), CFixProductNames::FixCaps(), FixHumanHost(), CSubSource::FixLatLonFormat(), FixOrgNames(), CName_std::FixSuffix(), SrcEditDialog::FixTableAfterImport(), FixTableAfterImport(), FixTextInObject(), FixUSAAbbreviationInAffil(), CDiscrepancySet::Format(), CFlatSubSourcePrimer::Format(), CGBSeqFormatter::FormatAccession(), CGBSeqFormatter::FormatContig(), CGBSeqFormatter::FormatDefline(), CGBSeqFormatter::FormatFeature(), CGenbankFormatter::FormatFeature(), CGBSeqFormatter::FormatGap(), CGBSeqFormatter::FormatGenomeProject(), CGBSeqFormatter::FormatKeywords(), CGBSeqFormatter::FormatLocus(), CGBSeqFormatter::FormatPrimary(), CGBSeqFormatter::FormatReference(), CGBSeqFormatter::FormatSegment(), CGBSeqFormatter::FormatSequence(), CGBSeqFormatter::FormatSource(), CGBSeqFormatter::FormatVersion(), g_ServerInfoToJson(), CTraversalNode::GenerateCode(), CProjBulderApp::GenerateMsvcProjects(), CProjectsLstFileFilter::GetAllowedTagsInfo(), GetBarcodeId(), GetCanadaStateAbbreviation(), CTempTrackProxy::GetChildTempTrack(), CAddDefLineDlg::GetCommand(), CAddSecondary::GetCommand(), CUpdateTLSNameDlg::GetCommand(), CStructuredCommentCommandConverter::GetCommandFromValuesTable(), CGetDOIFromCitGen::GetDOI(), CGetDOIFromCitArt::GetDOI(), NMItemData::GetEditableFieldForPair(), CGeneFieldPanel::GetFieldName(), CProteinFieldPanel::GetFieldName(), NMItemData::GetFuncFromTable_Depr(), CApplyFeatQualTreeItemData::GetFunction(), CConvertLocTypeTreeItemData::GetFunction(), CRemoveDbXrefTreeItemData::GetFunction(), CMacroEditorContext::GetGUIFieldName(), CFeatGlyph::GetLabel(), CCit_let::GetLabelV2(), GetLowTrace(), CMTreeItemDataBuilder::GetMActionType(), CSpectrumSet::GetMGFBlock(), CMsvc7RegSettings::GetMsvcSection(), CSimpleMakeFileContents::GetPathValue(), CFeatureFieldNamePanel::GetQualifierName(), CConvertFeatDlg::GetQualList(), NMItemData::GetResolveFuncForApplyAuthors(), NMItemData::GetResolveFuncForDBLink(), NMItemData::GetResolveFuncForDbXref(), NMItemData::GetResolveFuncForGeneQuals(), NMItemData::GetResolveFuncForMultiValuedQual(), NMItemData::GetResolveFuncForPubQual(), NMItemData::GetResolveFuncForPubQualConst(), NMItemData::GetResolveFuncForQual(), NMItemData::GetResolveFuncForStrCommQual(), NMItemData::GetResolveFuncForSVPart(), CRemoteBlast::GetResultSet(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), GetRuleMatch(), CCgiContext::GetSelfURL(), GetSequenceStringFromLoc(), CAllOtherFeaturesTrackFactory::GetSettings(), GetStateAbbreviation(), CCommentItem::GetStringForBaseMod(), CCommentItem::GetStringForTPA(), IMacroBioDataIter::GetUnMatchedTableEntries(), GetValidatorLocationLabel(), CInferencePanel::GetValue(), CEditingActionDescAuthorNameList::GetValue(), CSwapCdsGeneProtTreeItemData::GetVariables(), CSwapFeatQualTreeItemData::GetVariables(), HarmonizeAttributeName(), CAuthorNamesContainer::ImportAuthorsFromFile(), CSimpleBlobStore::Init(), CFeatureFilter::Init(), CProjectsLstFileFilter::InitFromFile(), CProjectsLstFileFilter::InitFromString(), CStringConstraint::IsInRange(), CMsvcSite::IsLibOk(), CAssemblyInfo::IsSameAssembly(), ITreeMacroFunction::JSFilter(), CLoadStructComments::LoadSingle(), CCgiApplication::LogRequest(), CDoiLookup::LookupIsojta(), fix_pub::MUIsJournalIndexed(), CMacroInterpreter::NormalizeFieldForFeatPanel(), NMItemData::NormalizeFieldForFeatPanel(), CDirEntry::NormalizePath(), CMacroWordSubstitutionDlg::OnAdd(), CWordSubstitutionDlg::OnAdd(), CSeqTableGridPanel::OnCellDoubleLeftClick(), CSeqTableGridPanel::OnCellDoubleLeftClick2(), CJobResultsDlg::OnExportClick(), CMacroParamsPanel::OnPropertyChanged(), CFindASN1Dlg::OnReplaceButton(), CNewCleanup_imp::OrgmodBC(), CGb_qual::ParseInferenceString(), variation_ref::CVariationUtil::PrecursorToProt(), PrintBioseqXML(), CBlastFormatterVdbApp::PrintFormattedOutput(), CHttpRequest::PrintLogFields(), CDiagContext::PrintStart(), CDataTool::ProcessData(), CNewCleanup_imp::ProtNameBC(), CFieldHandler::QualifierNamesAreEquivalent(), QualifierNamesAreEquivalent(), CHgvsReader::ReadSeqAnnot(), CProjBulderApp::RegisterProjectWatcher(), CNcbiEnvRegMapper::RegToEnv(), RemoveFieldNameFromString(), RemoveStrain(), ReplaceIfNotFound(), CProjBulderApp::ReportGeneratedFiles(), CEditingActionBiosourceTaxnameAfterBinomial::ResetValue(), CSymResolver::Resolve(), CCgiContext::RetrieveTrackingId(), CExplodeRNAFeats::RNAWordsFromString(), CHydraServer::RunHydraSearch(), s_BaseDir(), s_CalculateMatchingColumns(), CCleanup::s_CleanupNameStdBC(), s_CorrectTildes(), s_EscapeDash(), CFeatureFieldNamePanel::s_FillFeatQualList(), s_FindPathToWM(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Affil(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_City(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Country(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Div(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Street(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Sub(), IAuthorEditor::s_FixInitialsNew(), CMacroFunction_FixProteinFormat::s_FixProteinNameFormat(), s_GenerateWeblinks(), CApplyFeatTableTreeItemData::s_GetFunction(), s_GetModifierName(), s_GetRadioBoxLabelForItem(), s_HarmonizeString(), s_HeaderToHttp(), variation::CHgvsParser::s_hgvs_iupacaa2ncbieaa(), variation_ref::CHgvsParser::s_hgvsaa2ncbieaa(), variation_ref::CHgvsParser::s_hgvsUCaa2hgvsUL(), CSeqFeatData::s_InitSubtypesTable(), s_IsTokenDouble(), s_MakeOstream(), s_MatchesFieldName(), s_PreprocessNoteMods(), s_RemoveSpacesWithinNumbers(), s_ReplaceCtrlAsInTitle(), s_SaveDbMap(), s_SetTrnaProduct(), s_SplitKV(), s_StringsAreEquivalent(), s_ToArchiveName(), variation_ref::CVariationUtil::s_UntranslateProt(), variation::CVariationUtil::s_UntranslateProt(), s_VT_Descr(), NSnpGui::SelectClinSigTerm(), SeqIdToIdentifier(), SSnpFilter::SerializeFrom(), CArchive::SetBaseDir(), CBioSource::SetDisableStrainForwarding(), SetEnvSampleFixAmplifiedPrimers(), SetExceptFromGbqual(), CFeatureFieldNamePanel::SetFieldName(), CSubPrep_panel::SetSubmissionNotReady(), CEditingActionBiosourceTaxnameAfterBinomial::SetValue(), CBioSource::ShouldIgnoreConflict(), sParseRange(), SPPostProcVarSeq(), sPrepareDBDescr(), CUnculTaxTool::StandardFixes(), CGBSeqFormatter::StartSection(), NStr::strftime(), NMacroUtil::StringsAreEquivalent(), StripSpaces(), CSymResolver::StripSuffix(), CDiscrepancyVisitorImpl< _Name >::Summarize(), sx_MakeUniqueId(), CLocationListCtrl::TransferDataFromWindow(), CSequencingTechnologyPanel::TransferDataFromWindow(), CTitlePanel::TransferDataFromWindow(), CSerialAsciiTextValidator::TransferFromWindow(), CRowReaderStream_Excel_CSV::Translate(), CRowReaderStream_IANA_CSV::Translate(), CCodeGenerator::UndoGenerateCode(), NMItemData::UpdateConstraintsForFeatures(), CwxMarkerInfoPanel::UpdateMarker(), CValidError_imp::ValidateAuthorList(), CValidError_imp::ValidateOrgRef(), CValidError_imp::ValidateSubSource(), CMsvcConfigure::WriteBuildVer(), CMsvcConfigure::WriteExtraDefines(), CCgiResponse::WriteHeader(), CObjectOStreamJson::WriteKey(), CMsvcConfigure::WriteNcbiconfMsvcSite(), CLinkUtils::x_AddDbxrefFeatureLinks(), CSourceModParser::x_ApplyMods(), CGencollIdMapper::x_ApplyPatternToId(), CAppendModToOrg::x_ApplyToBioSource(), CFixCountryCap::x_ApplyToCAffil(), CFixAffilCap::x_ApplyToCAffil(), x_CleanAndCompress(), CGb_qual::x_CleanupRptAndReplaceSeq(), CNewCleanup_imp::x_CleanupRptUnit(), CFeatureGenerator::SImplementation::x_ConstructRnaName(), CMacroInterpreter::x_ConvertLocTypeValidateArgs(), CHgvsProtIrepReader::x_ConvertToNcbieaa(), CHgvsNaIrepReader::x_CreateIUPACna(), CTraversalNode::x_ExtractIncludePathFromFileName(), CMacroInterpreter::x_FindFeatureType(), CMacroFunction_FixPubCaps::x_FixCapsInPubAffilCountry(), CPubseqGatewayApp::x_FixIntrospectionVersion(), CStrainSerotypeInfluenza::x_FixupOrganismNames(), CGBSeqFormatter::x_FormatAltSeq(), CValidErrorFormat::x_FormatGenericForSubmitterReport(), CPSGS_IPGResolveProcessor::x_FormSeqId(), CGapStatsApplication::x_GapNameToGapXMLNodeName(), CCommentItem::x_GatherDescInfo(), CReferenceItem::x_GatherRemark(), CMacroEditorContext::x_GetAsnPathToCdsGeneProt(), CMacroEditorContext::x_GetAsnPathToFeatQuals(), CRelaxedLookupDlg::x_GetCitMatchSearchTerms(), CVcfGlyph::x_GetClinVarToolTip(), CWriteDB_Impl::x_GetFastaReaderDeflines(), CStructuredCommentPanel::x_GetFields(), CMacroEditorContext::x_GetGUIFieldForCdsGeneProtRna(), CAuthor::x_GetLabelV2(), CLocAndGCodePanel::x_GetLocation(), CMacroAdvStringConstraintPanel< T >::x_GetMatchText(), CFastaOstreamEx::x_GetOtherIdString(), CAutoDefNcRNAClause::x_GetProductName(), CPrimaryItem::x_GetStrForPrimary(), CFeatureItem::x_ImportQuals(), CMacroInterpreter::x_InsertFeatureType(), CGenbankFormatter::x_Medline(), SDiagMessage::x_OldWrite(), CPSGS_IPGResolveProcessor::x_PrepareRequestOnResolvedlValues(), CAgpValidateReader::x_PrintTotals(), variation_ref::CHgvsParser::x_raw_seq(), variation::CHgvsParser::x_raw_seq(), CTrackContainer::x_ReinitNATrack(), CLocAndGCodePanel::x_SetLocation(), CBioSourcePanel::x_SetOrganismInfo(), CDeflineGenerator::x_SetTitleFromNC(), CDeflineGenerator::x_SetTitleFromNM(), CUnorderedSplitter::x_SplitDeltaExt(), CUnorderedSplitter::x_SplitSeqData(), CUnculturedTool::x_StandardFixes(), CFormatGuess::x_StripJsonKeywords(), CFormatGuess::x_StripJsonPunctuation(), CGBSeqFormatter::x_StrOStreamToTextOStream(), CTraversalNode::x_TemplatizeType(), CRemoveGeneXrefTreeItemData::x_TranslateType(), CValidError_imp::x_ValidatePages(), CRNAValidator::x_ValidateTrnaCodons(), CQualCleanup::xCleanStripBlanks(), CSrcWriter::xCompressFieldName(), and CUCSCRegionReader::xParseFeatureUCSCFormat().
|
inlineoverridevirtual |
Report error position.
Definition at line 4436 of file ncbistr.hpp.
|
inlinestatic |
Definition at line 82 of file ncbistr_util.hpp.
|
inlinestatic |
Definition at line 351 of file ncbistr_util.hpp.
|
inline |
Definition at line 384 of file ncbistr_util.hpp.
References CStrTokenPosAdapter< TPosContainer >::m_TokenPos.
|
inline |
Definition at line 58 of file ncbistr_util.hpp.
|
inline |
Definition at line 392 of file ncbistr_util.hpp.
References CStrTokenPosAdapter< TPosContainer >::m_TokenPos.
|
inline |
Find the last instance of a given character string within the current string, beginning at an optional offset.
Definition at line 683 of file tempstr.hpp.
References i, CTempString::length(), CTempString::m_String, match(), and CTempString::npos.
|
inline |
Find the first instance of the entire matching string within the current string in a backward direction, beginning at an optional offset.
Definition at line 705 of file tempstr.hpp.
References CTempString::begin(), CTempString::CTempString(), CTempString::find_last_of(), CTempString::length(), match(), min(), and CTempString::npos.
Referenced by CGRPCServerCallbacks::BeginRequest(), operator<<(), and CTextseq_id::Set().
|
static |
Sanitize a string, allowing only specified characters or character classes.
More customizable version of Sanitize():
All coalescent leading/trailing spaces also will be merged by default if fSS_NoMerge has not specified.
str | String to sanitize. |
allow_chars | Additional list of allowed characters, in addition to character classes in <flags>. Have priority over character classes. Use NStr::Join() if you have it in list<>, vector<> or set<>. |
reject_chars | Additional list of rejected characters, in addition to character classes in <flags>. Have priority over character classes and <allow_chars>. Use NStr::Join() if you have it in list<>, vector<> or set<>. |
reject_replacement | Replacement character for all rejected characters. |
flags | Alternative sanitation options. If no custom <allow_chars> or <reject_chars>, and no character classes are set, then use fSS_print by default. If <reject_chars>, no class, and no fSS_Reject flag, then all characters allowed except <reject_chars>. If <allow_chars>, no class, and fSS_Reject flag, then no any character allowed except <allow_chars>. |
Definition at line 3600 of file ncbistr.cpp.
References CTempString::empty(), CTempString::find(), flags, NStr::fSS_alnum, NStr::fSS_alpha, NStr::fSS_cntrl, NStr::fSS_digit, NStr::fSS_NoMerge, NStr::fSS_NoTruncate_Begin, NStr::fSS_NoTruncate_End, NStr::fSS_print, NStr::fSS_punct, NStr::fSS_Reject, NStr::fSS_Remove, isalnum(), isalpha(), iscntrl(), isdigit(), isprint(), ispunct(), last(), NPOS, out(), SS_ADD_CHAR, and str().
|
inlinestatic |
Sanitize a string, allowing only specified classes of characters.
By default:
All coalescent leading/trailing spaces also will be merged by default if fSS_NoMerge has not specified.
str | String to sanitize |
flags | Alternative sanitation options |
Definition at line 2878 of file ncbistr.hpp.
Referenced by CGridCgiContext::AddTagMap(), CpTheQualValue(), CpTheQualValueNext(), pub_report::CPubData::CreateFullTitle(), pub_report::CPubData::CreateTitleWords(), embl_refs(), CSubSource::FixLatLonFormat(), gb_refs_common(), CRemoteAppVersion::Get(), get_art(), get_book(), get_error(), get_pat(), get_sub(), get_sub_gsdb(), get_thesis(), get_unpub(), get_whole_book(), GetCitBookOld(), GetCitSubmit(), fix_pub::MUIsJournalIndexed(), CBlastAppDiagHandler::Post(), CNcbiApplogApp::Redirect(), RemoveAffilStreetEnd(), s_RetrieveMessage(), SPFeatGeneral(), SprotRefString(), CRelaxedLookupDlg::x_GetCitMatchSearchTerms(), CSharedHitId::x_SetHitId(), and XMLRefs().
|
inline |
Set comparison type.
Definition at line 4927 of file ncbistr.hpp.
References PNocase_Conditional_Generic< T >::m_CaseSensitive.
|
inline |
Set string decoder.
decoder | String decoder (Url, Xml etc.) |
own | Decoder ownership flag |
Definition at line 4667 of file ncbistr.hpp.
Referenced by CNcbiResourceInfo::CNcbiResourceInfo().
|
inline |
Definition at line 199 of file ncbistr_util.hpp.
References CTempStringEx::assign(), NStr::fSplit_ByPattern, NStr::fSplit_CanEscape, NStr::fSplit_CanQuote, CStrTokenizeBase::m_Delim, CStrTokenizeBase::m_Flags, CStrTokenizeBase::m_InternalDelim, and CStrTokenizeBase::x_ExtendInternalDelim().
Referenced by CStrTokenizeBase::CStrTokenizeBase().
|
inline |
Set string encoder.
encoder | String encoder (Url, Xml etc.) |
own | Encoder ownership flag |
Definition at line 4678 of file ncbistr.hpp.
Referenced by CNcbiResourceInfo::CNcbiResourceInfo().
void CEncodedString::SetString | ( | const CTempString | s, |
NStr::EUrlEncode | flag = NStr::eUrlEnc_SkipMarkChars |
||
) |
Set new original string.
Definition at line 7298 of file ncbistr.cpp.
Referenced by CRequestContext::Clone(), CRequestContext::SetSessionID(), and CRequestContext::UnsetSessionID().
Quotes a string in Bourne Again Shell (BASH) syntax, in a way that disallows non-printable characters in the result.
This function does NOT implement aesthetically optimal quoting, but does try to avoid redundant quoting in simpler cases. Also, since it implements BASH syntax, the result may be incompatible with Bourne syntax, and may be non-obvious to people who are not familiar with the extended quoting syntax.
Definition at line 4671 of file ncbistr.cpp.
Referenced by CNcbiApplicationAPI::AppStart().
|
inline |
Definition at line 388 of file ncbistr_util.hpp.
References CStrTokenPosAdapter< TPosContainer >::m_TokenPos.
|
inline |
Return the length of the represented array.
Definition at line 327 of file tempstr.hpp.
References CTempString::m_Length.
Referenced by CSeqTableLocColumns::AddColumn(), CDelta_ext::AddLiteral(), SAccGuide::AddRule(), CBuildDatabase::AddSequences(), CGenbankFormatterWrapDest::Append(), CTitleParser::Apply(), CNCBlobKey::Assign(), CTempString::assign(), CTL_Cmd::AssignCmdParam(), CEndpointKey::CEndpointKey(), variation::CVariationUtil::ChangeToDelins(), variation_ref::CVariationUtil::ChangeToDelins(), CleanAndCompress(), CEntropyCalculator::ComputeEntropy(), ComputeNormalizedEntropy(), ComputeNormalizedProteinEntropy(), CEntropyCalculator::ComputeSlidingWindowEntropy(), CDirEntry::ConcatPathEx(), CWGSDb_Impl::DetermineFeatLocIdType(), CExtraEncoder::Encode(), NStr::EndsWith(), FindNextEntryBuf(), ICitationBase::FixPages(), CGb_qual::FixRecombinationClassValue(), variation::CVariationUtil::CCdregionIndex::GetCachedLiteralAtLoc(), CRR_Util::GetFieldValueConverted(), CAnnotObject_Info::GetLocsTypes(), CWGSFeatureIterator::GetSeq_feat(), CNCDistributionConf::GetSlotByNetCacheKey(), impl::GetValidUTF8Len(), GetWGSMasterSeq_id(), CTitleParser::HasMods(), CDB_BigDateTime::Identify(), CSeq_id::IdentifyAccession(), CNCBlobKeyLight::KeyForLogs(), CNCBlobKeyLight::KeyVersion(), CBamRefSeqInfo::LoadPileupChunk(), CCSraAlignIterator::MakeFullMismatch(), CWGSDb_Impl::NormalizePathOrAccession(), CPubseqGatewayApp::OnAccessionVersionHistory(), CPubseqGatewayApp::OnAckAlert(), CPubseqGatewayApp::OnGet(), CPubseqGatewayApp::OnGetBlob(), CPubseqGatewayApp::OnGetNA(), CPubseqGatewayApp::OnResolve(), CPubseqGatewayApp::OnShutdown(), PQuickStringLess::operator()(), operator<<(), CRR_Field< TTraits >::operator=(), CNCBlobKeyLight::operator=(), CNCBlobKeyLight::PackBlobKey(), CNetServProtoParserBase::ParseArguments(), CNetServProtoParserBase::ParseCommand(), CDiagCompileInfo::ParseCurrFunctName(), CFastaReader::ParseGapLine(), CSNPBlobId::ParseNA(), CWGSDb_Impl::ParseRowType(), CSourceModParser::ParseTitle(), ParseTrack(), CGFFReader::Read(), CObjectIStreamAsn::ReadDouble(), CAttrListParser::Reset(), s_AddParamName(), s_AddReplacedExt(), s_CheckForFastaTag(), s_EndsWithStrain(), s_GetVDBSeverityTag(), s_HasFastaTag(), s_IdentifySubstitution(), s_ParseCaseVariant(), s_ParseFastaIdString(), s_URLDecode(), s_WriteLine(), CTL_LangCmd::Send(), CSeq_id::Set(), CRegexp::Set(), CTL_BCPInCmd::SetHints(), sFindBrackets(), sGetMods(), CBlastDbBlob::Size(), SkipTitle(), SkipTitleBuf(), CWGSDb_Impl::SProtAccInfo::SProtAccInfo(), SSeqIdRange::SSeqIdRange(), NStr::StartsWith(), CBlastDbBlob::Str(), CTempStringEx::substr(), sx_AddAnnotBytes(), sx_AddDescrBytes(), CRowReaderStream_Excel_CSV::Tokenize(), CRowReaderStream_IANA_CSV::Tokenize(), CRowReaderStream_Excel_CSV::Translate(), CRowReaderStream_IANA_CSV::Translate(), CRR_Util::ValidateBasicTypeFieldValue(), CSrvSocketTask::WriteText(), CWriteDB_IsamIndex::x_AddPdb(), CWriteDB_IsamIndex::x_AddString(), CWriteDB_IsamIndex::x_AddStringData(), CWriteDB_IsamIndex::x_AddTextId(), CDB_Stream::x_Append(), CNCMessageHandler::x_AssignCmdParams(), CTL_BCPInCmd::x_AssignParams(), CPubseqGatewayApp::x_CheckAuthorization(), x_CleanAndCompress(), CWriteDB_Impl::x_ComputeHash(), CBlastDbBlob::x_Copy(), CRR_Row< TTraits >::x_CopyFields(), CRowReaderStream_NCBI_TSV::x_ExtractNames(), CTitleParser::x_FindBrackets(), CSeqDBVol::x_GetFilteredBinaryHeader(), CSeqDBVol::x_GetHdrAsn1(), ICitationBase::x_GetLabelV1(), CAuthor::x_GetLabelV2(), CWig2tableApplication::x_GetParamName(), CWig2tableApplication::x_GetParamValue(), CTL_BCPInCmd::x_GetStringValue(), CNetServProtoParserBase::x_GetToken(), CWig2tableApplication::x_GetWord(), CSeq_id::x_IdentifyAccession(), CString_constraint::x_IsWholeWordMatch(), CBufferedLineReader::x_LoadLong(), CDB_Numeric::x_MakeFromString(), x_MakeTSqlString(), CString_constraint::x_MatchFound(), x_ParseSNP_Info(), CNCMessageHandler::x_ReadAuthMessage(), CNCActiveHandler::x_ReadCopyPut(), CBlastDbBlob::x_ReadRaw(), CBlastDbBlob::x_ReadString(), CRowReaderStream_IANA_CSV::x_SetFieldNames(), CWig2tableApplication::x_SkipWS(), SAccGuide::x_SplitSpecial(), CFeatureTableReader_Imp::x_TokenizeStrict(), and NStr::xx_Join().
|
static |
Convert size_t to string.
value | Value to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 2742 of file ncbistr.cpp.
Referenced by variation::CHgvsParser::AsVariation(), CObjectIStreamAsn::BadStringChar(), Blast_GetSeqLocInfoVector(), BOOST_AUTO_TEST_CASE(), CParseTemplException< CSeqsetException >::CParseTemplException(), CEntrezDB::CreateAnnot_Nuc_Prot(), CSeqDBAliasFile::DebugDump(), CQueryFuncPromoteAndOr::Evaluate(), CQueryFuncPromoteLogic::Evaluate(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), CQueryFuncLike::Evaluate(), CQueryFuncPromoteGtLt::Evaluate(), CQueryFuncPromoteBetween::Evaluate(), CArchiveZip::ExtractEntryToCallback(), CArchiveZip::ExtractEntryToFileSystem(), CArchiveZip::ExtractEntryToMemory(), CDense_seg::FillUnaligned(), CArchiveZip::GetEntryInfo(), CDiscrepancyAutofixTreeItemData::GetFunction(), CPrimitiveTypeInfo::GetIntegerTypeInfo(), GetInternalStopErrorMessage(), CValidErrorHandler::GetLabel(), CBioTreeContainerHandler::GetLabel(), CBioseq_set::GetLabel(), GetNextSubitemId(), CObjectOStreamAsn::GetPosition(), CObjectOStreamJson::GetPosition(), CObjectOStreamXml::GetPosition(), GetSequenceProtein(), GetStartCodonErrorMessage(), CTableDataBioTreeContainer::GetStringValue(), CVcfGlyph::GetTooltip(), CGuiObjectInfoSeq_align::GetToolTip(), CGuiObjectInfoSeqFeature::GetToolTip(), CBamLoadOptionPanel::IsInputValid(), CHttpCookie::IsValidValue(), MakeLeftHeader(), CQueryFuncPromoteBase::PreProcess(), CArgDesc::PrintXml(), CBDB_Cache::Purge(), CObjectIStreamAsn::ReadDouble(), CObjectIStreamAsnBinary::ReadDouble(), RegisterTooManyVariantsOfSameMaskingAlgorithm(), CDense_seg::RemapToLoc(), CHugeFileValidator::ReportGlobalErrors(), CHugeFileValidator::ReportPostErrors(), CSeqDB::TSequenceRanges::reserve(), RetrievePartsOfLargeChromosome(), CSeqDescrRetrievalJob::Run(), CSeqAlignCmp::Run(), s_CheckTraceMateAlign(), s_DescribeClones(), s_DumpSequences_wRange(), s_FillModuleListPSAPI(), s_GetAlignmentContent(), s_GetAlignmentTooltip(), s_GetAnnotContent(), NSearchFeatPanel::s_GetSeq_TotalRangeLabel(), s_GetSeq_TotalRangeLabel(), CBDB_FieldString::Set(), CMacroCompoundConstraintPanel::SetConstraints(), CCgiResponse::SetFilename(), sGenerateFields(), CObjectIStreamAsnBinary::SkipFNumber(), CObjectIStreamAsn::SkipSNumber(), CObjectIStreamAsn::SkipUNumber(), CDiscrepancyVisitorImpl< _Name >::Summarize(), CThreadedApp::TestApp_GlobalSyncPoint(), CArchiveZip::TestEntry(), CSourceModParser::SMod::ToString(), CObjectIStreamAsn::UnendedString(), CObjectIStreamAsnBinary::UnexpectedShortLength(), CSearchFormBase::UpdateContextCombo(), CDense_seg::Validate(), CValidError_imp::Validate(), CValidError_bioseq::ValidateDelta(), CValidError_bioseq::ValidateDeltaLoc(), CValidError_graph::ValidateGraphsOnBioseq(), CValidError_bioseq::ValidateRawConst(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_graph::ValidateSeqGraphContext(), CFeatureTrack::x_AddFeaturesLayout(), CFeatureTrack::x_AddHistogram(), CGeneModelTrack::x_AddLandMarkFeaturesLayout(), CGeneModelTrack::x_AddMainFeaturesLayout(), CSegmentMapTrack::x_AddSegmentMapLayout(), CFeatureGenerator::SImplementation::x_CreateMrnaBioseq(), CTaxTreeToolJob::x_CreateProjectItems(), CTreeBuilderJob::x_CreateProjectItems(), CFeatureGenerator::SImplementation::x_CreateProteinBioseq(), CCpgSearchJob::x_DoSearch(), CItemSelectionPanel::x_FilterItems(), CTaxTreeBrowser::x_GetName(), CSeqMarkHandler::x_GetText(), CLinkedFeatsGroup::x_GetUniqueLabel(), CSettingsSet::x_MakeUniqueStyleKey(), CSettingsSet::x_MakeUniqueStyleName(), CGraphTrack::x_OnJobCompleted(), CVcfTrack::x_OnJobCompleted(), CDisplaySeqalign::x_PrepareRowData(), CGeneralFuncLog::x_Print(), CRNAValidator::x_ReportRNATranslationProblems(), CValidError_align::x_ReportSegmentGaps(), CCdregionValidator::x_ReportTranslationMismatches(), CCdregionValidator::x_ReportTranslationProblems(), CCdregionValidator::x_ReportTranslExceptProblems(), CAgpConverter::x_SetChromosomeNameInSourceSubtype(), CAlignmentTrack::x_SetMsg(), CBDB_Cache::x_Store(), CSplitQueryTestFixture::x_TestCContextTranslator(), CItemSelectionPanel::x_UpdateMapWidget(), CTrackContainer::x_UpdateMsg(), CValidError_align::x_ValidateDendiag(), CValidError_align::x_ValidateDenseg(), CValidError_align::x_ValidateDim(), CValidError_bioseq::x_ValidateGeneCDSmRNACounts(), CSingleFeatValidator::x_ValidateGeneXRef(), CValidError_graph::x_ValidateGraphOnDeltaBioseq(), ILocalQueryData::x_ValidateIndex(), CValidError_align::x_ValidatePacked(), CValidError_align::x_ValidateStd(), and CValidError_align::x_ValidateStrand().
|
inline |
Skip all delimiters starting from current position.
Definition at line 164 of file ncbistr_util.hpp.
References CStrTokenizeBase::x_SkipDelims().
|
inline |
Definition at line 107 of file ncbistr_util.hpp.
|
inline |
Definition at line 108 of file ncbistr_util.hpp.
|
static |
|
static |
Definition at line 3482 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, s_Split(), NStr::Split(), and str().
|
static |
Split a string using specified delimiters.
str | String to be split. |
delim | Delimiter(s) used to split string "str". The interpretation of multi-character values depends on flags: by default, any of those characters marks a split point (when unquoted), but with fSplit_ByPattern, the entire string must occur. (Meanwhile, an empty value disables splitting.) |
arr | The split tokens are added to the list "arr" and also returned by the function. |
flags | Flags directing splitting, characterized under ESplitFlags. |
token_pos | Optional array for the tokens' positions in "str". |
Definition at line 3452 of file ncbistr.cpp.
Referenced by CTabDelimitedValidator::_CheckHeader(), CStructuredCommentsReader::_LoadHeaderLine(), CTabDelimitedValidator::_MakeColumns(), CTabDelimitedValidator::_OperateRows(), CDBLinkField::_ParseAndAppend(), CTabDelimitedValidator::_ProcessHeader(), CHttpCookies::Add(), CQueueClientInfoList::AddClientInfo(), NMItemData::AddConstraintIgnoreNewText(), CRefArgs::AddDefinitions(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), CAutoSqlCustomField::AddIntArray(), CIdMapperConfig::AddMapEntry(), CSeqDB_IdRemapper::AddMapping(), CObjectLoadingTask::AddObjects(), CQueryParsePanel::AddQueryText(), CSimpleMakeFileContents::AddReadyKV(), CSrzPath::AddRepPath(), CNcbiResourceInfoFile::AddResourceInfo(), CPCRSetList::AddRevName(), CPCRSetList::AddRevSeq(), SAccGuide::AddRule(), CBAMDataLoader_Impl::AddSrzDef(), CSrcTableDbxrefColumn::AddToBioSource(), CSrcTablePrimerColumn::AddToBioSource(), CSrzPath::AddVolPath(), AgpRead(), CConvertRptUnitRangeToLoc::apply(), CLoadSecondaryAccessions::apply(), NMacroUtil::ApplyAuthorNames(), ApplyDBLinkValuesTableToSeqEntry(), SNSCommandArguments::AssignValues(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE_END(), CDebugDumpViewer::Bpt(), BrBookURLToCCddBookRef(), CProjectTreeBuilder::BuildOneProjectTree(), CAlignSort::CAlignSort(), CCgiResponse::CanSendTrailer(), CCountries::CapitalizeFirstLetterOfEveryWord(), CDB_ODBC_ConnParams::CDB_ODBC_ConnParams(), CDBInterfacesFileConnParams::CDBInterfacesFileConnParams(), CTraversalSpecFileParser::CDescFileNode::CDescFileNode(), CSubSource::CheckDateFormat(), CheckForFreqRatioFile(), CProjectsLstFileFilter::CheckProject(), CId2ReaderBase::CId2ReaderBase(), CIgAnnotationInfo::CIgAnnotationInfo(), CLocalToGeneralId::CLocalToGeneralId(), CMsvcSite::CMsvcSite(), CNcbiLogFields::CNcbiLogFields(), CGridCgiSampleApplication::CollectParams(), CJob::CompareAuthToken(), CCgiStatistics::Compose_Entries(), CCgiApplication::ConfigureDiagFormat(), CDBUDRandomMapper::ConfigureFromRegistry(), CDBUDPriorityMapper::ConfigureFromRegistry(), CDBUniversalMapper::ConfigureFromRegistry(), CICacheCF< CNetICacheClient >::ConfigureTimeStamp(), SMakeProjectT::ConvertLibDepends(), SMakeProjectT::ConvertLibDependsMacro(), CConfig::ConvertRegToTree(), CPSGS_IdModifiedVerFlavorId2Info::CPSGS_IdModifiedVerFlavorId2Info(), CPSGS_SatInfoChunksVerFlavorId2Info::CPSGS_SatInfoChunksVerFlavorId2Info(), CCompareWithBiosample::CreateBiosampleUpdateWebService(), CDriverManager::CreateDsFrom(), SMakeProjectT::CreateIncludeDirs(), CPluginManager< TClass >::CreateInstanceFromList(), CProjectTreeFolders::CreatePath(), pub_report::CPubData::CreateTitleWords(), CRemoteAppLauncher::CRemoteAppLauncher(), CSeqTableSetExt::CSeqTableSetExt(), CStringMatching::CStringMatching(), CWriteDB_CreateAliasFile(), CTrackConfigUtils::DecodeValueRange(), CUser_field::DeleteField(), CDiffText::Diff(), CommandProcessor::DoCommand_Highlight(), CStringConstraint::DoesTextMatch(), pub_report::DoHydraSearch(), SMakeProjectT::DoResolveDefs(), CAliasTest::DoTest(), CBDB_FileDumperApp::Dump(), CDumpSysInfo::DumpSystemInfo(), CFormatGuess::EnsureSplitLines(), CNcbiEnvRegMapper::EnvToReg(), CNewCleanup_imp::Except_textBC(), CAsnObjectLoader::Execute(), CMapperQueryOptionsArgs::ExtractAlgorithmOptions(), CMappingArgs::ExtractAlgorithmOptions(), CExonSelectorApplication::ExtractExonsFromSAM(), ExtractMiddleInitial(), CAlignFormatUtil::ExtractSeqAlignForSeqList(), CGlTextureFont::FaceFromString(), CProjBulderApp::FindDepGraph(), FindFiles(), CSampleLibraryObject::FindInPath(), CNcbiApplicationAPI::FindProgramExecutablePath(), FixCapitalizationInString(), CSubSource::FixLatLonPrecision(), CGb_qual::FixRptTypeValue(), CSubSource::FixSexQualifierValue(), COrgMod::FixStrain(), CFlatSubSourcePrimer::Format(), CGBSeqFormatter::FormatGenomeProject(), CRegistryFile::FromConfigFile(), CAgpRow::FromString(), CRgbaColor::FromString(), g_FindDataFile(), CNewCleanup_imp::GBblockBC(), CCodeGenerator::GenerateClientCode(), CFileCode::GenerateHPP(), CNewCleanup_imp::GenerefBC(), CSynRegistry::CInclude::Get(), CValidError_feat::GetAccessionsFromInferenceString(), CMsvcProjectMakefile::GetAdditionalIncludeDirs(), CMsvcProjectMakefile::GetAdditionalLIB(), CMsvcProjectMakefile::GetAdditionalSourceFiles(), CSeqUtils::GetAlignDbBatch(), CSeqUtils::GetAlignDbIsQuery(), CTrackUtils::GetAllDataKeys(), CGff2Record::GetAttribute(), NSnpGui::GetBinTooltip(), GetBlkDataReplaceNewLine(), CProjBulderApp::GetBuildConfigs(), CCgiRequest::GetCGIEntries(), CBulkCDS::GetCommandFromValuesTable(), CBulkGene::GetCommandFromValuesTable(), CMsvcSite::GetComponents(), CMsvcSite::GetConfigurableRequests(), CMsvcSite::GetConfigureDefines(), CMsvcProjectMakefile::GetCustomBuildInfo(), CDDTypedAnnotDialog::GetData(), CBlastServices::GetDatabaseInfo(), CBlastServices::GetDatabaseInfoLegacy(), CSeqDB::GetDBMetaData(), CMetaRegistry::GetDefaultSearchPath(), CCharHistogram::GetDelimiterProbablities(), CSeqDB::GetDiskUsage(), GetDllsList(), GetEmblOrgRef(), CMsvcProjectMakefile::GetExcludedLIB(), CMsvcProjectMakefile::GetExcludedSourceFiles(), CMsvcProjectMakefile::GetExtraFiles(), CDocsumTableModel::GetExtraValueAt(), CAlignFormatUtil::GetFASTALinkURL(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CUser_field::GetFieldRef(), CUser_object::GetFieldRef(), CApplyBsrcQualTreeItemData::GetFunction(), CApplyFeatQualTreeItemData::GetFunction(), CApplyRNAQualTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CConvertCdsGeneProtTreeItemData::GetFunction(), CConvertFeatQualTreeItemData::GetFunction(), CConvertBsrcTreeItemData::GetFunction(), CCopyBsrcTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CCopyCdsGeneProtTreeItemData::GetFunction(), CCopyFeatQualTreeItemData::GetFunction(), CEditQualTreeItemData::GetFunction(), CEditFeatQualTreeItemData::GetFunction(), CEditRNAQualTreeItemData::GetFunction(), CFixSrcQualsTreeItemData::GetFunction(), CAutodefTreeItemData::GetFunction(), CParseBsrcTreeItemData::GetFunction(), CParseToBsrcTreeItemData::GetFunction(), CParseToDBLinkTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CParseFeatQualTreeItemData::GetFunction(), CParseCdsGeneProtTreeItemdata::GetFunction(), CParseBsrcToStructCommTreeItemData::GetFunction(), CRmvBsrcQualTreeItemData::GetFunction(), CRmvFeatQualTreeItemData::GetFunction(), CRmvRNAQualTreeItemData::GetFunction(), CRmvOrgNameTreeItemData::GetFunction(), CRmvOutsideQualTreeItemData::GetFunction(), CRmvOutsideBsrcTreeItemData::GetFunction(), CRmvOutsideRNAQualTreeItemData::GetFunction(), CRmvOutsideFeatQualTreeItemData::GetFunction(), CSwapBsrcTreeItemData::GetFunction(), CSwapRNAQualTreeItemData::GetFunction(), CSwapCdsGeneProtTreeItemData::GetFunction(), CSwapFeatQualTreeItemData::GetFunction(), GetHostedLibs(), CCassConnectionFactory::GetHostPort(), IWMClient::CFingerprint::GetId(), GetIDs(), CComment_set::GetKeywords(), CUrlUtils::GetLastModified(), NSnp::GetLength(), CMsvcSite::GetLibChoiceIncludes(), CMsvcSite::GetLibInfo(), CLinkage_evidence::GetLinkageEvidence(), SInputValidator::GetListenJobs(), CProjBulderApp::GetMetaDataFiles(), CAutoDefFeatureClause_Base::GetMiscRNAElements(), CMsvc7RegSettings::GetMsvcSection(), CMsvcMetaMakefile::GetPchInfo(), CMsvcSite::GetPlatformInfo(), CProjBulderApp::GetProjectTreeInfo(), NMItemData::GetResolveFuncForDestCdsGeneProtQuals(), NMItemData::GetResolveFuncForDestFeatQuals(), NMItemData::GetResolveFuncForGeneQuals(), NMItemData::GetResolveFuncForQual(), NMItemData::GetResolveFuncForRNAQuals(), NMItemData::GetResolveFuncForSrcCdsGeneProtQuals(), NMItemData::GetResolveFuncForSrcFeatQuals(), NMItemData::GetResolveFuncForSwapFeatQuals(), NMItemData::GetResolveFuncForSwapQuals(), CMsvcProjectMakefile::GetResourceFiles(), CNetBLASTLoadOptionPanel::GetRIDs(), GetSequenceOfKeywords(), CFindITSParser::GetSpan(), CMsvcSite::GetStandardFeatures(), GetTargetedLocusNameConsensus(), CSeq_feat::GetTempExceptionTextSet(), CMacroAdvStringConstraintPanel< T >::GetTextConstraint(), CMsvcSite::GetThirdPartyLibsToInstall(), CPhyloTreeLabel::GetToolTipForNode(), CAutoDefFeatureClause_Base::GetTrnaIntergenicSpacerClausePhrases(), CInferencePanel::GetValue(), CDiscrepancyAutofixTreeItemData::GetVariables(), GetVDBScope(), CVDBBlastUtil::GetVDBSeqIdFromOID(), IdentifyLocalId(), CUrlUtils::IfModifiedSince(), CAuthorNamesContainer::ImportAuthorsFromFile(), CCgi2RCgiApp::Init(), SNetCacheAPIImpl::Init(), SNetScheduleAPIImpl::InitAffinities(), CPhyloNodeData::InitFeatures(), CIdMapperConfig::Initialize(), CPslData::Initialize(), impl::CRowInfo_SP_SQL_Server::Initialize(), CMsvcSite::InitializeLibChoices(), InitializeQueryDataLoaderConfiguration(), CViewGraphic::InitView(), InsertList(), InsertListString(), CSubSource::IsCollectionDateAfterTime(), CSubSource::IsCorrectDateFormat(), CSubSource::IsCorrectLatLonFormat(), CMsvcSite::IsLibEnabledInConfig(), CMsvcSite::IsLibOk(), CFormatGuess::IsLineAgp(), CFormatGuess::IsLineGff2(), CFormatGuess::IsLineGff3(), CFormatGuess::IsLineGlimmer3(), CFormatGuess::IsLineGtf(), CFormatGuess::IsLineGvf(), CFormatGuess::IsLinePhrapId(), CFormatGuess::IsLinePsl(), CFormatGuess::IsLineRmo(), CRptTypePanel::IsParseable(), CCDSTranslationPanel::IsValidException(), CSmallDNS::IsValidIP(), CGb_qual::IsValidRptTypeValue(), CSubSource::IsValidSexQualifierValue(), CTable2AsnStructuredCommentsReader::IsVertical(), CVDBBlastUtil::IsWGS(), CMatchFeatureTableDlg::LinearAutomatch(), CMatrixScoringMethod::Load(), CNSStartIDs::Load(), CCompoundRWRegistry::LoadBaseRegistries(), CAgpConverter::LoadChromosomeMap(), CStructuredCommentsReader::LoadComments(), CDataTool::LoadDefinitions(), CProjBulderApp::LoadDepGraph(), CForeignContaminationScreenReportReader::LoadFile(), CTempTrackProxy::LoadFromRegistry(), CTemplateScoringMethod::LoadInfo(), CProjBulderApp::LoadProjectTags(), CCgiSession_NetCache::LoadSession(), CLoadStructComments::LoadSingle(), CId1FetchApp::LookUpFlatSeqID(), NMFncParse::LookupFncArguments(), CDoiLookup::LookupIsojta(), main(), CRebase::MakeREnzyme(), CMemorySrcFileMap::MapFile(), CStringMatching::MatchString(), CNetScheduleNotificationHandler::MkBaseGETCmd(), CDirEntry::NormalizePath(), CWGSDb_Impl::NormalizePathOrAccession(), CMacroWordSubstitutionDlg::OnAdd(), CWordSubstitutionDlg::OnAdd(), CCompareWithBiosample::OnAddToSample(), CCompareWithBiosample::OnAddToSource(), CSeqGraphicWidget::OnAddTrack(), CCompareWithBiosample::OnClickOk(), CPubseqGatewayApp::OnConfig(), CPubseqGatewayApp::OnGetNA(), CUpdateMultiSeq_Dlg::OnLoadMapClick(), CMacroParamsPanel::OnPropertyChanged(), CGenBankLoadOptionPanel::OnRecentAccClicked(), CPubseqGatewayApp::OnStatistics(), CWinMaskCountsGenerator::operator()(), CTestNameToInfoMapLoader::operator()(), operator>>(), CGridCommandLineInterfaceApp::SOptions::SNCID::Parse(), CHttpCookie::Parse(), CEditingActionBiosourceStructuredVoucher::Parse(), CStringPairs< TExtraValuesMap >::Parse(), CCgiRequestProcessor::ParseAcceptHeader(), CTrackMgrClient::ParseAlignId(), ParseAttributes(), CFormattingArgs::ParseFormattingString(), CAgpRow::ParseGapCols(), CFastaReader::ParseGapLine(), CHttpRetryContext::ParseHeader(), CSeq_id::ParseIDs(), CVCFVariantList::ParseLine(), CDBUriConnParams::ParseParamPairs(), CSeqUtils::ParseRanges(), CRepeatMaskerReader::ParseRecord(), ParseSequenceRange(), ParseSequenceRangeOpenEnd(), CBDB_ConfigStructureParser::ParseStructureLine(), CTempTrackProxy::ParseSubtracks(), CNcbiApplogApp::ParseToken(), CGBQualPanel::PopulateGBQuals(), CWordPairIndexer::PopulateWordPairIndex(), CConnTest::PostCheck(), CConnTest::PreCheck(), CLocalVDBBlast::PreprocessDBs(), PrintASN1(), PrintSAM(), CBlastSeqidlistFile::PrintSeqidlistInfo(), CAlignFormatUtil::PrintTildeSepLines(), CSplitCacheApp::Process(), CCgiContext::ProcessCORSRequest(), AlnUtil::ProcessDataLine(), CBam2GraphApp::ProcessFile(), CMsvcSite::ProcessMacros(), CDataTool::ProcessModules(), ProcessSAM(), CBam2GraphApp::ProcessSrz(), CVariantDescriptors::PushBack(), CErrorLogger::PutError(), CMatchFeatureTableDlg::QuadraticAutomatch(), CBioTreeAttrReader::Read(), CGlimmerReader::Read(), CDistanceMatrix::Read(), ReadContainer(), CPhrap_Read::ReadDS(), readGFF3(), readGFF3Gap(), ReadMap(), CRebase::ReadNARFormat(), CPhrap_Contig::ReadTag(), CSearchHelper::ReadTaxFile(), CMsvcProjectMakefile::Redefine(), CCSRADataLoader::RegisterInObjectManager(), CCgiRedirectApplication::RemapEntries(), CSeq_feat::RemoveExceptText(), ReplaceWellknownSeqs(), CMsvcSite::ResolveDefine(), CExec::ResolvePath(), CDemoContigAssemblyApp::Run(), CNgAlignApp::Run(), CBlastdbConvertApp::Run(), CCompactSAMApplication::Run(), CExonSelectorApplication::Run(), CIgBlastnApp::Run(), CSplignApp::Run(), CTax4BlastDemo::Run(), CDiscRepApp::Run(), CPubmedFetchApplication::Run(), SGridWorkerNodeImpl::Run(), CMultiApplication::Run(), CXcompareAnnotsApplication::Run(), CPrimeCacheApplication::Run(), CAsnSubCacheCreateApplication::Run(), CId2FetchApp::Run(), CDemoApp::Run(), CGapStatsApplication::RunNoCatch(), CClientGenomicCollectionsSvcApplication::RunWithService(), s_AddPrimers(), s_AddPubmedLinksRow(), s_AppendPrimerNames(), s_AppendPrimerSeqs(), s_CallAligner(), s_CancelEditingSession(), s_CheckIdLookup(), s_CheckPSGMethod(), s_CheckUniqueValues(), s_ChoiceType(), s_ConfigureDeflineTitle(), s_DoUSAStateCleanup(), s_EditFolder(), s_ExpandThisQual(), s_FindSubNode(), s_GBSeqStringCleanup(), s_GetAuthorNames(), s_GetBoxStyle(), s_GetCSRADBs(), s_GetDefaultParams(), s_GetDetails(), s_GetDiskSpace_PANFS(), s_GetFullLinkoutUrl(), CApplyFeatTableTreeItemData::s_GetFunction(), CApplyCDSGeneProtTableTreeItemData::s_GetFunction(), CApplyRNATableTreeItemData::s_GetFunction(), CApplySrcTableTreeItemData::s_GetFunction(), CCompareSeqRegions::s_GetGeneId(), s_GetLatLong(), s_GetLinkoutUrl(), s_GetMandatoryFields(), CApplyTableItemData::s_GetMatchFieldConstraint(), s_GetPrimerInfo(), s_GetRangeFromString(), s_GetSequenceId(), s_GetSRASeqMetadata(), s_GetTaxIDList(), s_GetWordListFromText(), s_IsAllowedHeaderList(), s_IsAllowedMethod(), s_IsAllowedOrigin(), s_ListLinesWithPattern(), s_Match_id(), CMacroFunction_AuthorFix::s_MoveMiddleToFirst(), s_NormalizeTokens(), s_ParseErrCodeInfoStr(), s_ParseHttpHeader(), s_ParseParentQual(), s_ParsePCRColonString(), s_ParsePCRComponent(), s_ParseSubNodes(), CGenusSpeciesFixup::s_PermuteTaxname(), s_ProcessCellLineLine(), s_ProcessEvidenceString(), s_ProcessInstitutionCollectionCodeLine(), s_ProcessOrgRefMapLine(), s_ProcessQualMapLine(), s_ProjectItemSetDescr(), s_ReadConfig(), s_RejoinDeflineTitle(), s_RemoveAliasComponents(), CMacroFunction_RemoveOrgName::s_RemoveOrgName(), s_RepairISOCollDateTimePair(), s_RepairISOCollDateTimeString(), s_ReplaceLocalId(), s_SaveToSmartClient(), s_SeqDB_TryPaths(), s_SetDBLinkField(), s_SetPrimerNames(), s_SetPrimerSeqs(), s_SetVectorValue(), s_SplitCommaSeparatedStringInParens(), s_SplitGeneSyn(), s_SplitMLAuthorName(), s_TokenizeTRnaString(), s_ValidateCustomDelim(), s_WordsToJsonArray(), CBamUILoadManager::SaveSettings(), CAsnSubCacheCreateApplication::SBlobVersion::SBlobVersion(), SCass_BlobId::SCass_BlobId(), SCmdLineArgListImpl::SCmdLineArgListImpl(), NSNPWebServices::SearchByVarId(), NSnpGui::SelectClinSigTerm(), CRequestContext::SelectLastHitID(), CRequestContext::SelectLastSessionID(), SSnpFilter::SerializeFrom(), CSeq_id::Set(), CGlResMgr::SetApiLevel(), CBamCoverageGraphPanel::SetBamFiles(), CTMgr_ClientInfo::SetContext(), CMacroPanelLoader::SetCtrlValue(), CIdMapperConfig::SetCurrentContext(), CFlexibleDatePanel::SetDate(), SetField(), CUser_object::SetFieldRef(), CUser_field::SetFieldRef(), CClassTypeInfo::SetGlobalHook(), CChoiceTypeInfo::SetGlobalHook(), CEUtils_IdGroupSet::SetGroups(), CNetScheduleAccessList::SetHosts(), CEUtils_IdGroup::SetIds(), ColumnarVcfCache::SetInfoFields(), CTaxIdSet::SetMappingFromFile(), CSeqGraphicPane::SetMarkers(), CBedFeatureRecord::SetRgb(), CSelectionVisitor::SetSelectedObjectSig(), SetSeqAnnotChoiceMask(), SetSeqIdChoiceMask(), CMultipleAssemblyProgramPanel::SetValue(), CEditingActionDescAuthorNameList::SetValue(), CEditingActionFeatTranslExcept::SetValue(), CRptTypePanel::SetValue(), sGetModInfo(), sGetTestParameters(), SkipWeasel(), SOptionOrCommandInfo::SOptionOrCommandInfo(), sParseGeneOntologyTerm(), sParseRange(), NStr::Split(), CCustomTree::Split(), NStr::SplitByPattern(), SplitValues(), sReadAA_I(), sReadAA_M(), CCDDClientPool::StringToBlobId(), CDirEntry::StringToMode(), CSeqUtils::StringToRange(), AlnUtil::StripBlanks(), CRequestContext::sx_GetContextFieldsMask(), CNcbiEncrypt::sx_InitKeyMap(), CHttpCookies::sx_RevertDomain(), CDbTest::Test(), CFormatGuess::TestFormatBed(), CFormatGuess::TestFormatBed15(), CFormatGuess::TestFormatDistanceMatrix(), CFormatGuess::TestFormatTextAsn(), TestOneLatLonCountry(), CBLASTParams::ToArgVec(), CRowReaderStream_CharDelimited< NStr::fSplit_ByPattern, Arguments... >::Tokenize(), CReadUtil::Tokenize(), CGff2Record::TokenizeGFF(), CGAssemblyOtherPanel::TransferDataToWindow(), CGAssemblyPanel::TransferDataToWindow(), CSequencingTechnologyPanel::TransferDataToWindow(), CSubmitterNamePanel::TransferDataToWindow(), CSubmitterPanel_Depr::TransferDataToWindow(), CtmRNASubPanel::TransferDataToWindow(), transform_DD_mm_YYYY(), transform_DD_month_comma_YYYY(), transform_DD_month_YYYY(), transform_mm_DD_YYYY(), transform_MM_YYYY(), transform_month_DD_YYYY(), transform_month_YYYY(), transform_YYYY_MM(), transform_YYYY_mm_DD(), transform_YYYY_month(), CCodeGenerator::UndoGenerateCode(), CTableImportListCtrl::UpdateColumnNames(), CProjBulderApp::UpdateDepGraph(), CApplyFeatTableTreeItemData::UpdateTarget(), CValidError_imp::ValidateOrgModVoucher(), CStyledTextOStream::WriteMultiLineText(), CNgAlignApp::x_AddAligners(), CBlastDBCmdApp::x_AddCmdOptions(), CBlastTabularInfo::x_AddDefaultFieldsToShow(), CDllResolver::x_AddExtraDllPath(), CNgAlignApp::x_AddFilters(), CKeywordsItem::x_AddKeyword(), CAutoDefModifierCombo::x_AddMinicircle(), CFeatureItem::x_AddQualExceptions(), CFeatureItem::x_AddRptUnitQual(), CNgAlignApp::x_AddScorers(), CTar::x_Append(), CArchive::x_Append(), CSourceModParser::x_ApplyGenomeProjectsDBMods(), CSourceModParser::x_ApplyMods(), CSrcTablePrimerColumn::x_ApplyStringToPrimerSet(), CSourceModParser::x_ApplyTPAMods(), CNCMessageHandler::x_AssignCmdParams(), CTooltipFrame::x_BreakIntoLines(), CMakeBlastDBApp::x_BuildDatabase(), SNSCommandArguments::x_CheckAffinityList(), CGLCanvas::x_CheckGlVersion(), SNSCommandArguments::x_CheckGroupList(), CDebugDumpViewer::x_CheckLocation(), CQueueDataBase::x_CheckOpenPreconditions(), CCgiUserAgent::x_CheckPattern(), CFormatGuess::x_CheckStripJsonNumbers(), CPubseqReader::x_ConnectAtSlot(), CPubseq2Reader::x_ConnectAtSlot(), CTaxon1::x_ConvertOrgrefProps(), CSplitDblinkQuals::x_ConvertStrToStrs(), CBLAST_DB_Dialog::x_CreateItems(), CGBDataLoader_Native::x_CreateReaders(), CPubseqGatewayApp::x_CreateRequestContext(), CNgAlignApp::x_CreateSequenceSet(), CGBDataLoader_Native::x_CreateWriters(), CComponentSearchJob::x_DoSearch(), CQueryParsePanel::x_ExecuteQuery(), x_FirstWord(), CColumnarVCFReader::x_GatherSampleColNames(), CNetStorageServer::x_GetAdminClientNames(), CMacroEditorContext::x_GetAsnPathToFeatQuals(), COrgName::x_GetAttribFlag(), COrgName::x_GetAttribValue(), CWigGraph::x_GetBigWigData(), CAsnSubCacheCreateApplication::x_GetBioseqHandle(), CRelaxedLookupDlg::x_GetCitMatchSearchTerms(), CVcfGlyph::x_GetClinVarToolTip(), CBlastDBAliasApp::x_GetDbsToAggregate(), CNcbiEncrypt::x_GetDomainKeys(), CODBC_Connection::x_GetDriverName(), SNSCommandArguments::x_GetDumpFields(), CPubseqGatewayApp::x_GetExcludeBlobs(), CTableReaderMacro::x_GetFunction(), CMsvcProjectMakefile::x_GetHeaders(), CTableReaderMacro::x_GetIterator(), CTableReaderMacro::x_GetMatchFieldConstraint(), CPubseqGatewayApp::x_GetNames(), CBlastVdbCmdApp::x_GetQueries(), CParseQualTreeItemData::x_GetResolveFuncForMultValQuals(), CMakeProfileDBApp::x_GetSMPFilenames(), CVDBBlastUtil::x_GetSRARunAccessions(), CBamUILoadManager::x_GetSrzRefSeqs(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CPubseqGatewayApp::x_GetTimeSeries(), NSnpBins::CGeneMap::x_Init(), CBlastVdbCmdApp::x_InitApplicationData(), CBlastDBCmdApp::x_InitBlastDB_TaxIdList(), CNcbiTestApplication::x_InitCommonParserVars(), CDisplaySeqalign::x_InitDefLinesHeader(), CBioseqIndex::x_InitDescs(), CAsn2FastaApp::x_InitFeatDisplay(), CLatLonMap_Base::x_InitFromDefaultList(), CBamFileInfo::x_Initialize(), CFormatGuess::x_IsBlankOrNumbers(), CStrainSerotypeInfluenza::x_IsParsableInfluenzaVirusName(), CSeqTechDlg::x_IsSpecialTech(), CFeaturePanel::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CTaxonCache::x_LoadTaxonCache(), CDiagContext::x_LogEnvironment(), CUpdateAlign::x_MapNonPresentIDs(), CBlastDBCmdApp::x_ModifyConfigForBatchEntry(), CDiagStrErrCodeMatcher::x_Parse(), CGFFReader::x_ParseAlignRecord(), CSplitQueryTestFixture::x_ParseConfigLine(), CRebase::x_ParseCutPair(), CTraversalSpecFileParser::x_ParseDeprecated(), CGFFReader::x_ParseFeatureInterval(), CFindITSParser::x_ParseLine(), CTraversalSpecFileParser::x_ParseOutputClassNameClause(), CSeedTop::x_ParsePattern(), CColumnarVCFReaderApp::x_ParseRange(), CGFFReader::x_ParseStructuredComment(), CGFFReader::x_ParseV3Attributes(), CFindOverlapJob::x_PrepareAligner(), CGenBankLoadOptionPanel::x_ProccessText(), CNetScheduleHandler::x_ProcessChangeAffinity(), CBlast_SAM_Formatter::x_ProcessCustomSpec(), CBlastDBCmdApp::x_ProcessEntry(), CNetScheduleHandler::x_ProcessGetJob(), CMakeClusterDBApp::x_ProcessInputFile(), CNetScheduleHandler::x_ProcessJobExchange(), CMemorySrcFileMap::x_ProcessLine(), CMakeBlastDBApp::x_ProcessMaskData(), CSplignApp::x_ProcessPair(), CNetScheduleHandler::x_ProcessReading(), CFilterColumnsDlg::x_ProcessSelectionPattern(), CNetScheduleHandler::x_ProcessSetAffinity(), SPubseqGatewaySettings::x_ReadAdminSection(), CArchive::x_ReadAndProcess(), CTar::x_ReadAndProcess(), SErrorEmulatorParameter::x_ReadCommon(), CNcbiTestApplication::x_ReadConfiguration(), CQueueDataBase::x_ReadDumpQueueDesrc(), SPubseqGatewaySettings::x_ReadHealthSection(), CURLTooltipHandler::x_ReformatUrlMarkerParam(), COrgName::x_ResetAttribFlag(), CSatInfoSchema::x_ResolveServiceName(), CDescrModApply::x_SetDBLinkField(), CFeatureGenerator::SImplementation::x_SetExceptText(), CBlastTabularInfo::x_SetFieldsToShow(), CDeflineGenerator::x_SetFlags(), CNetScheduleServer::x_SetFromList(), CDescrModApply::x_SetGBblockIds(), CDescrModApply::x_SetGBblockKeywords(), CDescrModApply::x_SetGenomeProjects(), CModAdder::x_SetHist(), CDescrModApply::x_SetTpaAssembly(), CDataLoadersUtil::x_SetupASNCacheDataLoader(), CDataLoadersUtil::x_SetupBlastDataLoader(), CDataLoadersUtil::x_SetupLDS2DataLoader(), CNewCleanup_imp::x_SplitDbtag(), CStrainSerotypeInfluenza::x_SplittingQualifiersAtCommas(), CStrainSerotypeInfluenza::x_SplittingStructCollections(), CSearch_func::x_StringContainsUnderscore(), CSearch_func::x_StringMayContainPlural(), CGBSeqFormatter::x_StrOStreamToTextOStream(), CFormatGuess::x_TestTableDelimiter(), CCountries::x_Tokenize(), CFilteringArgs::x_TokenizeFilteringArgs(), CStrainSerotypeInfluenza::x_TrimmingOrganismNames(), CFormatGuess::x_TryProcessCLUSTALSeqData(), CSequenceSearchForm::x_UpdateFileList(), COrfSearchForm::x_UpdateKozak(), CSingleFeatValidator::x_ValidateExceptText(), CVcfWriter::x_WriteFeatureInfo(), CGff2Reader::xAlignmentSetDenseg(), CGff2Reader::xAlignmentSetSpliced_seg(), CBedReader::xDetermineLikelyColumnCount(), CAlnScannerSequin::xExtractSequinSequenceData(), CGvfReader::xFeatureSetLocationInterval(), CGvfReader::xFeatureSetLocationPoint(), CGff3Reader::xFeatureSetXrefGrandParent(), CKeywordParser::xFinalize(), CGff2Reader::xGenerateParentChildXrefs(), CSrcChkApp::xGetDesiredFields(), CAlnScannerMultAlign::xGetExpectedDataSize(), seqsubmit_split::CSeqSubSplitter::xGetFileExtension(), xGetGenBankBlocks(), CGff2Reader::xGetTargetParts(), CAutoSqlCustomField::xHandleSpecialCaseRgb(), CAlnScannerClustal::xImportAlignmentData(), CAlnScannerPhylip::xImportAlignmentData(), CBedLineReader::xInitializeBlocks(), CGff3ImportData::xInitializeDataCds(), CGff3ImportData::xInitializeDataGene(), CGff3ImportData::xInitializeDbxref(), CGff3ImportData::xInitializeMultiValue(), C5ColLineReader::xInitializeRecord(), CBedLineReader::xInitializeRgbFromRgbColumn(), CAlnScannerSequin::xIsSequinOffsetsLine(), CGff2Record::xMigrateAttributeDefault(), CGff2Record::xMigrateAttributes(), CGff2Reader::xNeedsNewSeqAnnot(), CReaderBase::xParseBrowserLine(), CVcfReader::xParseData(), CUCSCRegionReader::xParseFeatureUCSCFormat(), CMicroArrayReader::xProcessFeature(), CVcfReader::xProcessHeaderLine(), CGffDeconcatApp::xProcessLine(), CAlnScannerNexus::xProcessMatrix(), CVcfReader::xProcessMetaLineFilter(), CVcfReader::xProcessMetaLineFormat(), CVcfReader::xProcessMetaLineInfo(), CGtfReader::xProcessQualifierSpecialCase(), CGff3Reader::xProcessSequenceRegionPragma(), CBedLineReader::xProcessTrackLine(), CBedReader::xReadBedRecordRaw(), CAlnFormatGuesser::xSampleIsMultAlign(), CAlnFormatGuesser::xSampleIsPhylip(), CAlnFormatGuesser::xSampleIsSequin(), CGff2Reader::xSetAncestryLine(), CBedReader::xSetFeatureColorFromItemRgb(), CBedReader::xSetFeatureLocationBlock(), CBedReader::xSetFeatureLocationRna(), CMultiReaderApp::xSetFlags(), CUCSCRegionReader::xSmartFieldSplit(), CBedColumnData::xSplitColumns(), C5ColLineReader::xSplitLine(), CBedLineReader::xSplitLine(), CGff3LineReader::xSplitLine(), CGtfLineReader::xSplitLine(), xSplitLines(), CAnnotWriterApp::xTryProcessInputIdList(), CGff3Reader::xUpdateAnnotRna(), CGvfReader::xVariationSetDeletions(), CGvfReader::xVariationSetInsertions(), and CGvfReader::xVariationSetSnvs().
|
static |
Definition at line 3474 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, s_Split(), NStr::Split(), and str().
|
static |
Definition at line 3490 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, s_Split(), NStr::Split(), and str().
|
static |
|
static |
Definition at line 3512 of file ncbistr.cpp.
References arr, flags, NStr::fSplit_ByPattern, s_Split(), and str().
|
static |
Definition at line 3528 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, NStr::fSplit_ByPattern, s_Split(), NStr::SplitByPattern(), and str().
|
static |
Variation of Split() with fSplit_ByPattern flag applied by default.
Definition at line 3498 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, s_Split(), NStr::Split(), and str().
Referenced by BOOST_AUTO_TEST_CASE(), s_CountOccurrences(), s_SplitGeneSyn(), IMacroBioDataIter::STableToApply::SetTableToApply(), NStr::SplitByPattern(), IMacroBioDataIter::STableToApply::x_CacheColFromTable(), IMacroBioDataIter::STableToApply::x_InitAndCheck(), and CMacroApplySrcTablePanel::x_ProcessFirstLine().
|
static |
Definition at line 3520 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, NStr::fSplit_ByPattern, s_Split(), NStr::SplitByPattern(), and str().
|
static |
Definition at line 3536 of file ncbistr.cpp.
References arr, CHECK_SPLIT_TEMPSTRING_FLAGS, flags, NStr::fSplit_ByPattern, s_Split(), NStr::SplitByPattern(), and str().
|
static |
Definition at line 3505 of file ncbistr.cpp.
References arr, flags, NStr::fSplit_ByPattern, s_Split(), and str().
|
static |
Definition at line 3557 of file ncbistr.cpp.
|
static |
Definition at line 3569 of file ncbistr.cpp.
|
static |
Split a string into two pieces using the specified delimiters.
str | String to be split. |
delim | Delimiters used to split string "str". |
str1 | The sub-string of "str" before the first character of "delim". It will not contain any characters in "delim". Will be empty if "str" begin with a delimiter. |
str2 | The sub-string of "str" after the first character of "delim" found. May contain "delim" characters. Will be empty if "str" had no "delim" characters or ended with the "delim" character. |
flags | Flags directing splitting, characterized under ESplitFlags. Note, that fSplit_Truncate_End don't have any effect due nature of this method. |
Definition at line 3545 of file ncbistr.cpp.
Referenced by CRefArgs::AddDefinitions(), CSimpleMakeFileContents::AddReadyKV(), SAccGuide::AddRule(), CSrcTableDbxrefColumn::AddToBioSource(), CMsvcConfigure::AnalyzeDefines(), CExpansionRule::ApplyRule(), CGetLoadProcessor::Authenticate(), BOOST_AUTO_TEST_CASE(), CBlob_id::CBlob_id(), CDB_ODBC_ConnParams::CDB_ODBC_ConnParams(), CDiagStrErrCodeMatcher::CDiagStrErrCodeMatcher(), CNcbiResourceInfo::CNcbiResourceInfo(), CNcbiResourceInfoFile::CNcbiResourceInfoFile(), CRemoveSequencesDlg::CombineLabelsAll(), CRBSubpanel::CombineLabelsAll(), CDBLB_ServiceMapper::ConfigureFromRegistry(), CRegistryFile::DeleteField(), EnaGetLineData(), CMQueryFunctionValue::Evaluate(), SQueueInfoToJson::ExecOn(), CGBSeqFormatter::FormatGenomeProject(), CGlBitmapFont::FromString(), CGlTextureFont::FromString(), g_GenericStatToJson(), g_GetWorkerNodes(), g_LegacyStatToJson(), g_LoadLinkageEvidence(), g_ProcessJobInfo(), CNewCleanup_imp::GBQualSeqFeatBC(), GenbankGetKeywordLine(), CCgiRequest::GetCGIEntries(), CAddSecondary::GetCommand(), CCassConnectionFactory::GetHostPort(), SNetStorage_NetCacheBlob::GetInfo(), NDirectNetStorageImpl::CNetCache::GetInfo(), CUrlUtils::GetLastModified(), NSnp::GetLength(), CIdMapperApp::GetMapper(), CMemorySrcFileMap::GetMods(), C5ColLineReader::GetNextRecord(), XSDParser::GetNextToken(), CMsvcSite::GetPlatformInfo(), CCDSTranslationPanel::GetProductId(), CPsgBlobId::GetSatSatkey(), CUnculturedTool::GetSuggestedCorrection(), CEditingActionFeatDualVal1::GetValue(), CEditingActionFeatDualVal2::GetValue(), CProjBulderApp::Gui_ConfirmConfiguration(), CMsvc7RegSettings::IdentifyPlatform(), CUrlUtils::IfModifiedSince(), CMacroFlowEditor::ImportLibrary(), CExpansionRule::Init(), SThrottleParams::SIOFailureThreshold::Init(), CMsvcSite::InitializeLibChoices(), CStringConstraint::IsInRange(), CFormatGuess::IsLineAugustus(), CEditingActionFeatDualVal1::IsSetValue(), CEditingActionFeatDualVal2::IsSetValue(), CAlignFormatUtil::IsWGSPattern(), CStructuredCommentsReader::LoadCommentsByRow(), CForeignContaminationScreenReportReader::LoadFile(), CCgiSession_NetCache::LoadSession(), CCountries::LoadUSAExceptionMap(), CDiagStrErrCodeMatcher::Match(), CNewCleanup_imp::MoveDbxrefs(), CCountries::NewFixCountry(), NS_ValidateClasses(), NS_ValidateQueues(), CNetScheduleServerListener::OnErrorImpl(), ncbi::grid::netcache::search::operator<<(), operator>>(), CNewCleanup_imp::OrgnameBC(), SSocketAddress::Parse(), CStringPairs< TExtraValuesMap >::Parse(), CCgiRequestProcessor::ParseAcceptHeader(), ParseAccessionRange(), CNetCacheKey::ParseBlobKey(), CMaskFromFasta::ParseDataLine(), CFormattingArgs::ParseFormattingString(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CTrackData::ParseLine(), CDBUriConnParams::ParseParamPairs(), CRepeatMaskerReader::ParseRecord(), CNcbiApplogApp::ParseToken(), CUnculTaxTool::PreloadCache(), CDiagContext::PrintStart(), AlnUtil::ProcessDefline(), ReadMap(), CBDB_SplitTest::ReadTestSet(), CTabDelimitedValidator::RegisterAliases(), CCgi2RCgiApp::RenderPage(), CMemorySrcFileMap::ReportUnusedIds(), CEditingActionFeatDualVal1::ResetValue(), CEditingActionFeatDualVal2::ResetValue(), SGridWorkerNodeImpl::Run(), CRunTestApplication::Run(), s_CheckValueForTID(), s_DbtagParse(), s_DoUSAStateCleanup(), s_GetBigBedFeats(), s_GetLinkoutUrl(), s_GetStrForStructuredComment(), s_IsSameAccession(), s_ResolveFieldsOfChoice(), s_ResolveFieldsOfClass(), s_SetFieldsOfChoice(), s_SetFieldsOfClass(), s_SocketConnectorBuilder(), s_SplitKV(), s_SplitVersion(), SeqDB_SimplifyAccession(), CTMgr_ClientInfo::SetContext(), IEditMacroFunction::SetQualStringValue(), IMacroBioDataIter::STableToApply::SetTableToApply(), CEditingActionBiosourceDbxref::SetValue(), CEditingActionFeatDualVal1::SetValue(), CEditingActionFeatDualVal2::SetValue(), CEditingActionFeatDbxref::SetValue(), sGetModInfo(), sGetTestParameters(), CAlnScannerFastaGap::sSplitFastaDef(), CNetScheduleAdmin::StatusSnapshot(), SPSG_ThrottleParams::SThreshold::SThreshold(), CDirEntry::StringToMode(), StringToRange(), CParallelProcessing< TParams >::SImpl::Submitter(), sUpdateCase(), CFormatGuess::TestFormatFlatFileEna(), CFormatGuess::TestFormatFlatFileGenbank(), CFormatGuess::TestFormatFlatFileUniProt(), TraverseAndRunTestCases(), CUnculTaxTool::TryRankFix(), UniProtGetLineData(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CFeatureGenerator::SImplementation::x_AddSelectMarkup(), CNCMessageHandler::x_AssignCmdParams(), IMacroBioDataIter::STableToApply::x_CacheColFromTable(), CImportFeatTable::x_CreateCommand(), CWigGraph::x_GetBigWigSummary(), CTL_CursorCmdExpl::x_GetBlobDescriptor(), CVcfGlyph::x_GetClinVarToolTip(), CQueueDataBase::x_GetConfigQueues(), CConnTest::x_GetFirewallConfiguration(), IMacroBioDataIter::STableToApply::x_InitAndCheck(), CNcbiEncrypt::x_LoadKeys(), CDiagContext::x_LogEnvironment(), CDB_ODBC_ConnParams::x_MapPairToParam(), CAdapterSearchApplication::x_MaskAdaptersPaired(), CDiagStrErrCodeMatcher::x_Parse(), CGff2Reader::x_ParseDbtag(), SDiagMessage::x_ParseExtraArgs(), CTemplate1TypeStrings::x_ParseTemplateName(), CBlastDBCmdApp::x_ProcessBatchEntry(), CBlastDBCmdApp::x_ProcessBatchEntry_NoDup(), CBlastDBCmdApp::x_ProcessBatchPig(), CMacroApplySrcTablePanel::x_ProcessFirstLine(), IRWRegistry::x_Read(), CNcbiTestApplication::x_ReadConfiguration(), SPubseqGatewaySettings::x_ReadCountersSection(), CQueueDataBase::x_ReadDumpQueueDesrc(), CQueueDataBase::x_ReadIniFileQueueClassDescriptions(), CQueueDataBase::x_ReadIniFileQueueDescriptions(), CQueueDataBase::x_ReadLinkedSections(), CNCActiveHandler::x_ReadPeerVersion(), CMemorySrcFileMap::x_RegisterLine(), CMacroEngine::x_ResolveRTVar(), CMacroResolver::x_ResolveRTVar(), CSatInfoSchema::x_ResolveServiceName(), CTaxIdSet::x_SelectBestTaxid(), CGFFReader::x_SplitKeyValuePair(), CUnculturedTool::x_TryRankFix(), CFeatureTableReader_Imp::x_TryToParseOffset(), CMakeProfileDBApp::x_UpdateCobalt(), CBLASTDatabases::x_UpdateDbMap(), CValidError_imp::x_ValidatePages(), CSoapMessage::x_VerifyFaultObj(), CGtfReadRecord::xAssignAttributesFromGff(), CGvfReadRecord::xAssignAttributesFromGff(), CVcfReader::xAssignVariantProps(), CFeatTableEdit::xGetCurrentLocusTagPrefix(), CMicroArrayReader::xGetData(), CAlnScannerPhylip::xImportAlignmentData(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), CGff3ImportData::xInitializeDbxref(), CFeatTableEdit::xNextProteinId(), CFeatTableEdit::xNextTranscriptId(), CBedAutoSql::xParseAutoSqlColumnDef(), CVcfReader::xParseData(), CGvfReader::xParseStructuredComment(), CMultiReaderApp::xPostProcessAnnot(), CBedAutoSql::xProcessLine(), CVcfReader::xProcessMetaLineFilter(), CVcfReader::xProcessMetaLineFormat(), CVcfReader::xProcessMetaLineInfo(), CBedLineReader::xProcessTrackLine(), CReaderBase::xSetBrowserRegion(), CBedReader::xSetFeatureColorByStrand(), and C5ColLineReader::xSplitLine().
|
inlinestatic |
Definition at line 3194 of file ncbistr.hpp.
References NStr::eSqlEnc_Plain, NStr::SQLEncode(), and str().
|
static |
SQL-encode string.
There are some assumptions/notes about the function: 1. Only for MS SQL and Sybase. 2. Only for string values in WHERE and LIKE clauses. 3. The ' symbol must not be used as an escape symbol in LIKE clause. 4. It must not be used for non-string values. 5. It expects a string without any outer quotes, and it adds single quotes to the returned string. 6. It expects UTF-8 (including its subsets, ASCII and Latin1) or Win1252 string, and the input encoding is preserved.
str | The string to encode |
flag | Whether to tag the result with an N prefix if it contains any non-ASCII characters. Such tagging is generally advisable, but off by default per historical practice, since there are corner cases in which it may be inappropriate. |
Definition at line 6131 of file ncbistr.cpp.
Referenced by CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), NStr::SQLEncode(), CPubseqReader::x_ConnectAtSlot(), CPubseq2Reader::x_ConnectAtSlot(), and CId2FetchApp::x_InitPubSeqConnection().
|
inlinestatic |
Check if a string starts with a specified character value.
str | String to check. |
start | Character value to check for. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase) while checking. |
Definition at line 5413 of file ncbistr.hpp.
References NStr::eCase, str(), tolower(), and toupper().
|
inlinestatic |
Check if a string starts with a specified prefix value.
str | String to check. |
start | Prefix value to check for. |
use_case | Whether to do a case sensitive compare(default is eCase), or a case-insensitive compare (eNocase) while checking. |
Definition at line 5406 of file ncbistr.hpp.
References NStr::Equal(), CTempString::size(), and str().
Referenced by CStructuredCommentsReader::_LoadHeaderLine(), CSimpleMakeFileContents::SParser::AcceptLine(), CUnculTaxTool::AddBioSource(), CSeqTableLocColumns::AddColumn(), AddColumnsToFeatureTable(), NMItemData::AddConstraintIgnoreNewText(), CBamUIDataSource::AddDataLoader(), AddFeatureToSeqTable(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), AddMiscRNAFeatures(), CSimpleMakeFileContents::AddReadyKV(), CSpecificHostRequest::AddReply(), CPCRSetList::AddRevName(), CPCRSetList::AddRevSeq(), CGRPCClientContext::AddStandardNCBIMetadata(), CBioSource::AllowMatingTypeQualifier(), AllowOrphanedProtein(), CBioSource::AllowSexQualifier(), CExplodeRNAFeats::apply(), CRemoveUnindexedFeatures::apply(), ApplyChimeraValuesTableToSeqEntry(), ApplyFeatureSeqTableToSeqEntry(), NMacroUtil::ApplyFirstName(), NMacroUtil::ApplyMiddleInitial(), CExpansionRule::ApplyRule(), CEditSubpanel::ApplyToAll(), CEditSubpanel::ApplyToSelected(), CNcbiApplicationAPI::AppMain(), CValidator::BadCharsInAuthorName(), CNCMessageHandler::BeginProxyResponse(), CGRPCServerCallbacks::BeginRequest(), CNewCleanup_imp::BiosourceBC(), BOOST_AUTO_TEST_CASE(), BuildChimeraValuesTableFromSeqEntry(), BuildDBLinkValuesTableFromSeqEntry(), impl::CConnection::CalculateServerType(), CSeq_id_Resolver::CanCreate(), CannotProcess(), CAutoDefGeneClause::CAutoDefGeneClause(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefSatelliteClause::CAutoDefSatelliteClause(), CCgiEntryReaderContext::CCgiEntryReaderContext(), CDBUriConnParams::CDBUriConnParams(), CDDTypedAnnotDialog::CDDTypedAnnotDialog(), CValidError_bioseq::CheckForMissingChromosome(), CheckSTRAND(), CheckTPG(), CCitGenCleaner::Clean(), CCitSubCleaner::Clean(), CGridCommandLineInterfaceApp::Cmd_BlobInfo(), CGridCommandLineInterfaceApp::Cmd_Suspend(), CMiscSeqTableColumn::CMiscSeqTableColumn(), CNamespace::CNamespace(), CCachedAssembly::Compression(), CReaderServiceConnector::Connect(), ContainsSgml(), CBlastDBAliasApp::ConvertGiFile(), SMakeProjectT::ConvertLibDependsMacro(), pub_report::ConvertPMCtoPMID(), CVPath::ConvertSysPathToPOSIX(), CPager::CPager(), CPileUpGraph::CPileUpGraph(), CSrcTableColumnBaseFactory::Create(), CFieldHandlerFactory::Create(), CFeatureSeqTableColumnBaseFactory::Create(), SMakeProjectT::Create3PartyLibs(), CAnnotationASN1::CImplementationData::create_ModelEvidence_user_object(), CreateActionDesc(), CreateActionSeqid(), CMacroAddConstraint::CreateControls(), SMakeProjectT::CreateDefines(), CTrackConfigManager::CreateDisplayName(), SAppProjectT::CreateNcbiCToolkitLibs(), CHtmlTooltipFormatter::CreateNcbiLink(), CTextTooltipFormatter::CreateNcbiLink(), STrackSettings::CreateProfileString(), CVcfTrackDataFactory::CreateTrackData(), CVcfTrackFactory::CreateTracks(), CSDB_ConnectionParam::CSDB_ConnectionParam(), CWriteDB_ConsolidateAliasFiles(), CNewCleanup_imp::DbtagBC(), CSequenceEditingEventHandler::DeleteSpecificStructuredComment(), CAutoDefFeatureClause::DoesmRNAProductNameMatch(), CStringConstraint::DoesTextMatch(), CAliasTest::DoTest(), EnaGetLineData(), CNcbiEnvironment::Enumerate(), CSimpleEnvRegMapper::EnvToReg(), CNcbiEnvRegMapper::EnvToReg(), SQueueInfoToJson::ExecOn(), CTrackUtils::ExtractTrackConfig(), CValidError_CI::Filter(), CSeqTranslator::FindBestFrame(), COrgMod::FindInstitutionCode(), CSubSource::FixDateFormat(), CBioSource::FixEnvironmentalSample(), FixInitials(), CSubSource::FixLatLonFormat(), CGb_qual::FixRecombinationClassValue(), COrgMod::FixStructuredVoucher(), CFlatSubmitterSeqidQVal::Format(), CFlatSubSourcePrimer::Format(), CFlatXrefQVal::Format(), CReferenceItem::FormatAuthors(), CGenbankFormatter::FormatCache(), CGenbankFormatter::FormatContig(), CHTMLFormatterEx::FormatTaxid(), CCSRABlobId::FromString(), g_GenericStatToJson(), g_ProcessJobInfo(), g_WorkerNodeInfoToJson(), NSearchFeatPanel::GatherFeatures(), CNewCleanup_imp::GBQualSeqFeatBC(), CAliasTypeStrings::GenerateCode(), CDeflineGenerator::GenerateDefline(), CValidError_feat::GetAccessionsFromInferenceString(), CProjectsLstFileFilter::GetAllowedTagsInfo(), CSeqUtils::GetAnnotSelector(), GetAsnDataViaHTTPS(), CPubField::GetAuthorField(), GetBlkDataReplaceNewLine(), CConvertCdsToMiscFeat::GetCommand(), CEditSequenceEnds::GetCommand(), CReadBlastApp::getCoreDataType(), CDDTypedAnnotDialog::GetData(), CValidErrorFormat::GetDescriptorContent(), GetDiscrepancyCaseName(), CBlastOptionsFactory::GetDocumentation(), CGetDOIFromCitGen::GetDOI(), CGetDOIFromCitArt::GetDOI(), GetEmblOrgRef(), NMItemData::GetExistingTextDescr(), CMsvcProjectMakefile::GetExtraFiles(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CValidErrorFormat::GetFeatureContentLabel(), CFieldChoicePanel::GetFieldName(), CProteinFieldPanel::GetFieldName(), CFieldNamePanel::GetFieldTypeFromName(), CWGSDataLoader_Impl::GetFileInfoByGeneral(), COrgName::GetFlatName(), CUnculturedTaxnameQual::GetFormatErrors(), CApplyFeatQualTreeItemData::GetFunction(), CApplyRNAQualTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CEditRNAQualTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CRmvRNAQualTreeItemData::GetFunction(), CRmvOutsideRNAQualTreeItemData::GetFunction(), CCSRABlobId::GetGeneralIdType(), CWGSDb_Impl::GetGeneralSeq_id(), CGenomeAnnotComment::GetGenomeBuildNumber(), CBioSource::GetGenomeByOrganelle(), CMacroEditorContext::GetGUIFieldName(), NMItemData::GetHandleBlank(), CAutoDefModifierCombo::GetInfluenzaType(), CInfluenzaSet::GetInfluenzaType(), CDbtag::GetLabel(), SrcEditDialog::GetLabelForTitle(), CCit_jour::GetLabelV2(), CCit_sub::GetLabelV2(), CUrlUtils::GetLastModified(), CBulkLocationPanel::GetLocForBioseq(), GetLowTrace(), CApplyAuthorsTreeItemData::GetMacroDescription(), CAutodefTreeItemData::GetMacroDescription(), CFieldHandlerNamePanel::GetMacroFieldName(), CVcfTrackFactory::GetMatchedAnnots(), CWord_substitution::GetMatchLens(), CFarPointerSeq::GetMessageForId(), variation::CVariationUtil::GetMolType(), CFastaBioseqSource::GetNext(), CGffIdGenerator::GetNextGffExonId(), CDBLinkField::GetNormalizedDBLinkFieldName(), CAutoDef::GetOneDefLine(), CBioSource::GetOriginByString(), CInferencePrefixList::GetPrefixAndRemainder(), CCDSTranslationPanel::GetProductId(), CCleanup::GetPubdescLabels(), GetPubdescLabels(), CNetScheduleAdmin::GetQueueList(), CGBDataLoader_Native::GetReaderWriterName(), GetReplacementSeqIds(), NMItemData::GetRNASpecificFields(), NMItemData::GetRNASpecificFieldsForTableReader(), CRNAFieldNamePanel::GetRnaType(), CDualRNAFieldNamePanel::GetRnaType(), GetRptTypeValue(), CVarTrackFactory::GetSettings(), CAutoDefModifierCombo::GetSourceDescriptionString(), GetSrcRequirements(), CCgi2RCgiApp::GetStatusAndCtgTime(), GetStatusByMessage(), GetStdPath(), CUnculturedTool::GetSuggestedCorrection(), GetTargetedLocusNameConsensus(), CVDBMgr::GetTimestamp(), GetTitle(), CGuiObjectInfoVariation::GetToolTip(), CInferencePanel::GetValue(), CEditingActionDescAuthorInitials::GetValue(), CEditingActionDescAuthorNameList::GetValue(), CStructuredCommentCommandConverter::GetValuesTableFromSeqEntry(), CAutodefTreeItemData::GetVariables(), GetWGSMasterSeq_id(), CSeq_id_Textseq_Info::GoodPrefix(), CProjBulderApp::Gui_ConfirmConfiguration(), CProjBulderApp::Gui_ConfirmProjects(), HasBadGenomeAssemblyName(), HasBadGenomeAssemblyPartial(), CNetICacheClient::HasBlob(), HasCultureCollectionForATCCStrain(), CBamVDBPath::HasSchemaPrefix(), HasStrainForATCCCultureCollection(), CTrackUtils::HasTrack(), CSysLog::HonorRegistrySettings(), CSimpleBlobStore::Init(), CProjectsLstFileFilter::InitFromFile(), CIdMapperConfig::Initialize(), CAutoDefIntergenicSpacerClause::InitWithString(), CLocationEditPolicy::Interpret5Policy(), CMacroInterpreter::InterpretDoFunctions(), InterpretSpecificHostResult(), CSeqUtils::IsAlignDb(), CGff2Reader::IsAlignmentData(), CGff2Record::IsAlignmentRecord(), CFormatGuess::IsAllComment(), CFormatGuess::IsAsnComment(), CSubSource::IsChromosomeNameValid(), CLinePreBuffer::IsCommentLine(), SMakeProjectT::IsConfigurableDefine(), CAutoDefFeatureClause::IsControlRegion(), CSubSource::IsCorrectLatLonFormat(), CMsvcSite::IsCppflagDescribed(), CSymResolver::IsDefine(), IsElectronicJournal(), CGencollSvc::isGenCollSequence(), CRepeatMaskerReader::IsIgnoredLine(), SAnnotSelector::IsIncludedNamedAnnotAccession(), CAttribTableColumnIdPanel::IsInputValid(), CMsvcSite::IsLibOk(), SMakeProjectT::IsMakeAppFile(), SMakeProjectT::IsMakeDllFile(), SMakeProjectT::IsMakeLibFile(), IsMatchingIdMissing(), IsMicroSatellite(), IsMissingRequiredClone(), IsNG(), IsNTNCNWACAccession(), CPager::IsPagerCommand(), CSubSource::IsPlasmidNameValid(), CTrackUtils::isRemoteData(), CSeqUtils::isRmtAnnotName(), IsSpName(), COrgMod::IsStructuredVoucherValid(), IsSubdir(), CMessageHandlerThrowOnError::IsTaxidQuery(), CPCRPrimerSeq::IsValid(), COrgMod::IsValidTypeMaterial(), CBioSource::IsViral(), IsWGSGeneral(), JoinString(), CAutoDefExonListClause::Label(), CMatchFeatureTableDlg::LinearAutomatch(), CProjBulderApp::LoadDepGraph(), CCgiApplication::LogRequest(), CUnculTaxTool::LookupSuggestions(), FeatUtil::MakeCodeBreak(), CWorkerNodeControlServer::MakeProcessor(), CReferenceItem::Matches(), CBlob_Annot_Info::Matches(), CHttpCookie::MatchPath(), NcbiOpenURL(), NCBITEST_INIT_VARIABLES(), CCountries::NewFixCountry(), Normalize(), CDBLinkFieldType::NormalizeDBLinkFieldName(), CMacroInterpreter::NormalizeFieldForFeatPanel(), NMItemData::NormalizeFieldForFeatPanel(), CComment_rule::NormalizePrefix(), CPubFieldType::NormalizePubFieldName(), NSTGetBackendConfiguration(), NSTValidateServices(), CProcessor::OffsetId(), CRemarksAndSerialNumberPanel::OnButtonClick(), CPublicationTypePanel::OnDoiLookup(), CTrackListCtrl::OnGetItemText(), CJournalPanel::OnJournalPmidTextUpdated(), CDiscrepancyPanel::OnLongOverlap(), CRowReaderStream_NCBI_TSV::OnNextLine(), CMacroParamsPanel::OnPropertyChanged(), CAgpValidateReader::OnScaffoldEnd(), CTextSubpanel::OnSelectButton(), CLocationListCtrl::OnSortClick(), CTestNameToInfoMapLoader::operator()(), PPredDbTagByName::operator()(), CXmlFormat::operator()(), IsStandard::operator()(), SRemoveNamedStrain::operator()(), CStreamLineReaderConverter::operator++(), CBioSourceKind::operator=(), operator>>(), ParseAttributes(), CNetCacheKey::ParseBlobKey(), CFastaReader::ParseDataLine(), XSDParser::ParseElementContent(), CGb_qual::ParseExperiment(), CFormattingArgs::ParseFormattingString(), CFastaReader::ParseGapLine(), CHttpRetryContext::ParseHeader(), CGb_qual::ParseInferenceString(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), ParseMoleculeTypeString(), CAutoDefParsedtRNAClause::ParseString(), CWGSResolver_Ids::ParseWGSPrefix(), CUnculTaxTool::PreloadCache(), CTabularFormatter_Comment::Print(), CBlastFormat::PrintArchive(), CNetCacheAPI::PrintBlobInfo(), CNetICacheClient::PrintBlobInfo(), CAutoDefFeatureClause_Base::PrintClause(), CPrintJobInfo::PrintXput(), CBiosampleChkApp::ProcessAsnInput(), CCgiContext::ProcessCORSRequest(), AlnUtil::ProcessDefline(), CBam2GraphApp::ProcessFile(), CCgiRequestProcessor::ProcessHelpRequest(), ProgramNameToEnum(), PromoteIfDifferent(), CNewCleanup_imp::ProtrefBC(), CMatchFeatureTableDlg::QuadraticAutomatch(), CFieldHandler::QualifierNamesAreEquivalent(), QualifierNamesAreEquivalent(), CDiagErrCodeInfo::Read(), CRepeatLibrary::Read(), SNetServerConnectionImpl::ReadCmdOutputLine(), CColumnarVCFReader::ReadData(), CColumnarVCFReader::ReadHeader(), CCgi2RCgiApp::ReadJob(), SQueueParameters::ReadLinkedSections(), CBlastInputReader::ReadOneSeq(), CFastaReader::ReadOneSeq(), CHgvsReader::ReadSeqAnnot(), CBedReader::ReadTrackData(), CWiggleReader::ReadTrackData(), CColumnarVCFReader::ReadVariantsForChrs(), CMsvcProjectMakefile::Redefine(), CNcbiApplogApp::Redirect(), CNcbiEnvRegMapper::RegToEnv(), COrgMod::RemoveAbbreviation(), CSubSource::RemoveCultureNotes(), RemoveFieldNameFromString(), NMacroUtil::RemoveFirstName(), NMacroUtil::RemoveMiddleInitial(), COrgrefProp::RemoveOrgrefProp(), CTraversalNode::RemoveXFromFuncName(), CCgi2RCgiApp::RenderPage(), CWGSClient::ResolveGeneral(), CNewCleanup_imp::RnaFeatBC(), CExplodeRNAFeats::RNAWordsFromString(), CSplignApp::Run(), CNcbiApplogApp::Run(), CAgpFastaComparator::Run(), CPrimeCacheApplication::Run(), CBiosampleChkApp::Run(), CConversionApp::Run(), CDemoApp::Run(), CTLSApp::Run(), CRunTestApplication::Run(), CStructuredCommentPanel::s_AddPoundSigns(), CSingleFeatValidator::s_BioseqHasRefSeqThatStartsWithPrefix(), s_CalculateMatchingColumns(), s_CitGenIsJustBackBoneIDNumber(), s_CitMatches(), CCleanup::s_CleanupGeneOntology(), s_CompleteGenomeNeedsChromosome(), fix_pub::s_ConsortiaMatch(), s_ConvertMetaData(), s_CuratedRefSeq(), s_CuratedRefSeqLowerToWarning(), s_DoPubsMatch(), s_DoUSAStateCleanup(), s_DropErrorItem(), CMacroFunction_EditStringQual::s_EditText(), s_EncodeMetadataName(), s_FailsGenusOrSpeciesTest(), s_FilterPubdesc(), s_FindInMapAsPrefix(), s_FindInSetAsPrefix(), s_FindPathToWM(), CMacroFunction_AuthorFix::s_FixInitials(), IAuthorEditor::s_FixInitials(), s_FixStrainForPrefix(), s_FormatCitGen(), s_FormatCitSub(), s_GatherIdLabels(), s_GetAnnotSelector(), s_GetBlastScore(), s_GetCgiTunnel2GridUrl(), s_GetErrTypeFromString(), s_GetFtpHostAndFile(), CApplyFeatTableTreeItemData::s_GetFunction(), CApplyRNATableTreeItemData::s_GetFunction(), CApplyStrCommTableTreeItemData::s_GetFunction(), CRNAFieldNamePanel::s_GetMacroFieldName(), s_GetMakefileIncludes(), s_GetMiRNAProduct(), s_GetRnaMappingLocs(), s_GetSpecimenVoucherText(), s_GetTitle(), s_GuessId(), CWholeFileAnnotation::s_HasPrefixMatch(), s_HasTPAPrefix(), variation::CHgvsParser::s_hgvsaa2ncbieaa(), s_HtmlizeLatLon(), s_HtmlizeStructuredCommentData(), s_IsAllDigitsOrPeriods(), s_IsArchaea(), s_IsBacteria(), s_IsCommented(), s_IsCompoundRptTypeValue(), s_IsGenbankId(), s_IsGeneralId(), s_IsReportableStructuredComment(), s_IsrRNA(), s_IsState(), s_IsStdTrack(), s_IsSysPath(), CUnculturedTool::s_IsUnculturedName(), CMacroFunction_PubFields::s_IsUnpublished(), s_IsUsingRemoteBlastDbDataLoader(), s_JoinLinkableStrs(), CAgpToSeqEntry::s_LocalSeqIdFromStr(), CTableReaderMacro::s_LooksLikeHeader(), s_MapLinkoutGenParam(), s_MatchesBoundary(), CSingleAuthorPanel::s_ParseInitialsFromName(), s_ParseOptionalSettings(), s_ParseParentQual(), s_ParseTRnaFromAnticodonString(), s_PostponeItem(), s_ProcessInstitutionCollectionCodeLine(), s_ReadPerClientConfig(), s_RemoveAliasComponents(), s_RemoveBracketedOrgFromEnd(), s_RemoveInitial(), s_RemoveOrgFromEndOfProtein(), CStructuredCommentPanel::s_RemovePoundSigns(), s_RetrieveMessage(), CMacroFunction_AuthorFix::s_ReverseAuthorNames(), s_RnaPosition(), variation::CHgvsParser::s_SeqIdToHgvsStr(), s_SetFieldsOfContainer(), s_SetTrnaProduct(), s_ShouldConvertToGeneral(), s_StringToCodeBreak(), s_StringToInt8(), s_StrucCommOrder(), s_SuppressMultipleEquivBioSources(), s_TestVCFData(), s_ToArchiveName(), s_TokenizeTRnaString(), CMacroFunction_AuthorFix::s_TruncateMiddleInitials(), s_UseThisSeqToTextSeqID(), SeqIdToIdentifier(), CFeatureTrack::SetAnnot(), CGeneModelTrack::SetAnnot(), CGraphTrack::SetAnnot(), CHistogramGlyph::SetAnnotName(), CPubField::SetAuthorField(), CCleanup::SetCDSPartialsByFrameAndTranslation(), CTextSubpanel::SetClusters(), SetCultureCollectionFromStrain(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), CSingleQualPanel::SetField(), CFieldChoicePanel::SetFieldName(), CStructCommentFieldPanel::SetFieldName(), CBamLoadOptionPanel::SetIndexFiles(), CMacroAdvStringConstraintPanel< T >::SetMatcher(), CAutoDefParsedClause::SetMiscRNAWord(), CRNAFieldNamePanel::SetRnaType(), CDualRNAFieldNamePanel::SetRnaType(), SetUserAlternateEmailAddress(), CEditingActionDescAuthorFirstName::SetValue(), CInferencePanel::SetValue(), sParseGeneOntologyTerm(), SpecificHostValueToCheck(), SrchKeyword(), CUnculTaxTool::StandardFixes(), CMacroLib::StoreSynonymList(), CGtfRecord::StrAttributes(), ICitationBase::SWNC(), TestCdsFromLastBioseqWithCodeBreak(), CFormatGuess::TestFormatAugustus(), CFormatGuess::TestFormatBed(), CFormatGuess::TestFormatBed15(), CFormatGuess::TestFormatCLUSTAL(), CFormatGuess::TestFormatGff2(), CFormatGuess::TestFormatGff3(), CFormatGuess::TestFormatGtf(), CFormatGuess::TestFormatGvf(), CFormatGuess::TestFormatPsl(), CFormatGuess::TestFormatVcf(), CFormatGuess::TestFormatWiggle(), CFormatGuess::TestFormatXml(), TestTrnaAnticodonFromLastBioseq(), CLocationListCtrl::TransferDataFromWindow(), CPmidValidator::TransferFromWindow(), CNetScheduleConfigLoader::Transform(), TraverseAndRunTestCases(), CUnculTaxTool::TrimSuggestions(), CCodeGenerator::UndoGenerateCode(), CProjBulderApp::UpdateDepGraph(), NMItemData::UpdateTargetForCdsGeneProt(), NMItemData::UpdateTargetForDualRnas(), CCountries::USAStateCleanup(), CValidError_imp::Validate(), CPmidValidator::Validate(), ValidateAccessionString(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateBioSourceForSeq(), CValidError_desc::ValidateDblink(), CValidError_bioseq::ValidateDupOrOverlapFeats(), CValidError_feat::ValidateInference(), CValidError_feat::ValidateInferenceAccession(), CAsnvalThreadState::ValidateInput(), CSubSource::ValidateLatLonCountry(), CValidError_bioseqset::ValidateNucProtSet(), CValidError_imp::ValidateOrgModVoucher(), CValidError_imp::ValidateOrgName(), CValidError_imp::ValidateOrgRef(), CValidError_imp::ValidatePubGen(), CValidError_bioseq::ValidateRawConst(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqFeatContext(), CValidError_bioseq::ValidateSeqIds(), CValidError_imp::ValidateSubSource(), CBedTrackRecord::Write(), CCgiResponse::WriteHeader(), CIdMapperGCAssembly::x_AddAliasMappings(), CLinkUtils::x_AddDbxrefFeatureLinks(), CConvertGeneToRNA::x_AddGeneFieldsToComment(), CLinkUtils::x_AddLink(), CAutoDefFeatureClause_Base::x_AddOnetRNAIntergenicSpacerElement(), CAutoDefModifierCombo::x_AddOrgModString(), CFeatureItem::x_AddQualSeqfeatNote(), CFeatureItem::x_AddQualsVariation(), CFeatureItem::x_AddRecombinationClassQual(), CFeatureItem::x_AddRegulatoryClassQual(), CAutoDefModifierCombo::x_AddRequiredSubSourceModifiers(), CFeatureItem::x_AddRptUnitQual(), CSatelliteColumn::x_AddSatellitePrefix(), CStrainSerotypeInfluenza::x_AddToInfluenzaNames(), CAppendModToOrg::x_ApplyToBioSource(), CFixOrgModInst::x_ApplyToBioSource(), CRemoveUnpublishedPubs::x_ApplyToPubdesc(), CRemovePublishedPubs::x_ApplyToPubdesc(), SGridWorkerNodeImpl::x_AreMastersBusy(), variation::CHgvsParser::x_AsHgvsInstExpression(), CGvfWriteRecord::x_AssignAttributesCustom(), CNCMessageHandler::x_AssignCmdParams(), CSingleFeatValidator::x_BioseqHasNmAccession(), CFeaturePropagator::x_CdsCleanupPartials(), CFormatGuess::x_CheckJsonStart(), CAgpReader::x_CheckPragmaComment(), CSparseGraph::x_CheckRemoteData(), CDiffList::x_CleanupAndMerge_SingleEdits(), CCgiResponse::x_ClientSupportsChunkedTransfer(), CRegexpTemplateTester::x_Compare(), CFeatureGenerator::SImplementation::x_ConstructRnaName(), CNewCleanup_imp::x_ConvertGoQualifiers(), CTaxon1::x_ConvertOrgrefProps(), CBlastDBAliasApp::x_ConvertSeqIDFile(), CGBDataLoader_Native::x_CreateDriver(), CImportFeatTable::x_DoImportCDS(), CGenbankGatherer::x_DoSingleSection(), CDBSourceItem::x_ExtractLinkableSource(), CNewCleanup_imp::x_ExtractSatelliteFromComment(), CMiscSeqTable::x_FindIDColumn(), CAutoDefFeatureClause::x_FindNoncodingFeatureKeywordProduct(), CStrainSerotypeInfluenza::x_FixupOrganismNames(), CValidErrorFormat::x_FormatBadSpecificHostForSubmitterReport(), CValidErrorFormat::x_FormatGenericForSubmitterReport(), CDBSourceItem::x_GatherInfo(), CReferenceItem::x_GatherRemark(), CColumnarVCFReader::x_GatherSampleColNames(), CTableReaderMacro::x_GatherValuesAndMatchField(), CMacroEditorContext::x_GetAsnPathToCdsGeneProt(), CMacroEditorContext::x_GetAsnPathtoGene(), CMacroEditorContext::x_GetAsnPathToRna(), CAssemblyInfo::x_GetAssmInfo(), COrgName::x_GetAttribFlag(), COrgName::x_GetAttribValue(), CCorrectGenesDialog::x_GetConstrainedList(), CAttribTableColumnIdPanel::x_GetConstraintField(), CUnculturedTool::x_GetCorrection(), CAutoDefFeatureClause::x_GetDescription(), CAutoDefFeatureClause::x_GetFeatureTypeWord(), CAssignQueryTreeGetArgs::x_GetFieldForSubname(), CDBPoolBalancer::x_GetFlags(), CMacroEditorContext::x_GetGUIFieldForBsrcText(), CMacroEditorContext::x_GetGUIFieldForCDS(), CMacroEditorContext::x_GetGUIFieldForCdsGeneProtRna(), CMacroEditorContext::x_GetGUIFieldForGene(), CMacroEditorContext::x_GetGUIFieldForMiscDescr(), CMacroEditorContext::x_GetGUIFieldForProtein(), CMacroEditorContext::x_GetGUIFieldForRNA(), CMiscSeqTable::x_GetIdColumnProps(), CTableReaderMacro::x_GetIterator(), CTableReaderMacro::x_GetMatchFieldConstraint(), CNSTServiceRegistry::x_GetMetadataServices(), CAltitudePanel::x_GetNumber(), CAutoDefFeatureClause::x_GetProductName(), CGuiObjectInfoSeq_feat::x_GetProductSequence(), CLocationListCtrl::x_GetRowData(), CNcbiTestApplication::x_GetTrimmedTestName(), CDustMaskApplication::x_GetWriter(), SegMaskerApplication::x_GetWriter(), CWinMaskConfig::x_GetWriter(), CCommandArgDescriptions::x_IdentifyCommand(), CReferenceItem::x_Init(), CMacroInterpreter::x_InsertFeatureType(), CMacroInterpreter::x_InsertFeatureTypeToWhereClause(), variation_ref::CHgvsParser::x_InstToString(), CTaxValidationAndCleanup::x_InterpretTaxonomyError(), CGFFReader::x_IsLineUcscMetaInformation(), x_IsLocalCDDEntryId(), CLayoutTrack::x_IsNCBITrack(), CStrainSerotypeInfluenza::x_IsParsableInfluenzaVirusName(), CCdregionValidator::x_IsProductMisplaced(), CSatelliteTypeNameColumn::x_IsQualAMatch(), CGRPCServerCallbacks::x_IsRealRequest(), CSeqTechDlg::x_IsSpecialTech(), CSeq_loc_Mapper::x_IsUCSCRandomChr(), CFeatureTableReader_Imp::x_IsWebComment(), CTraversalNode::x_LoadDataFromASNNode(), CFeaturePanel::x_LoadSettings(), CHTMLPage::x_LoadTemplateLib(), CSubSource::x_MeetsCommonChromosomeLinkageGroupPlasmidNameRules(), CTraversalCodeGenerator::x_MemberVarNameToArg(), CNewCleanup_imp::x_MovedNamedValuesInStrain(), CGraphTrack::x_OnJobCompleted(), CRegexpTemplateTester::x_Op_Skip(), CNewCleanup_imp::x_OrgnameModBC(), CGFFReader::x_ParseFeatRecord(), CGFFReader::x_ParseFeatureInterval(), CFeatureTableReader_Imp::x_ParseFeatureTableLine(), CUnicodeToAsciiTranslation::x_ParseLine(), CTraversalSpecFileParser::x_ParseMemberClause(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), CTraversalSpecFileParser::x_ParseUseArgClause(), CNewCleanup_imp::x_PostProcessing(), CId2ReaderBase::x_ProcessGetBlobId(), CColumnarVCFReader::x_ProcessHeaderLine(), CCgiRequest::x_ProcessInputStream(), CGridClient::x_ProlongJobFieldLifetime(), CQueueDataBase::x_ReadDumpQueueDesrc(), CFeature_table_reader::x_ReadFeatureTable(), CQueueDataBase::x_ReadLinkedSections(), CNCActiveHandler::x_ReadPeerVersion(), CMacroFunction_StringFastConstraints::x_ReadSynonymsFor(), CMacroFunction_StringSlowConstraints::x_ReadSynonymsFor(), CCountries::x_RemoveDelimitersFromEnds(), CSeqGraphicPane::x_RenderTooltipConnector(), x_RepairCountryName(), CCompareWithBiosample::x_ReportBiosampleUpdate(), CValidError_bioseq::x_ReportOverlappingPeptidePair(), COrgName::x_ResetAttribFlag(), CGFFReader::x_ResolveNewSeqName(), CFeaturePanel::x_SaveSettings(), CFeatureGenerator::x_SetAnnotName(), CMasterContext::x_SetBaseName(), CSourceItem::x_SetSource(), CDeflineGenerator::x_SetTitleFromProtein(), CDeflineGenerator::x_SetTitleFromProteinIdx(), CDataLoadersUtil::x_SetupBlastDataLoader(), CValidError_bioseq::x_SetupCommonFlags(), CValidError_bioseq::x_ShowBioProjectWarning(), CUnculturedTool::x_StandardFixes(), CCorrectRNAStrandDlg::x_StrandFromString(), CMacroInterpreter::x_StructVoucherPartValidateArgs(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CMatchFeatureTableDlg::x_TokenMatch(), CAutoDefFeatureClause_Base::x_tRNAGeneFromProduct(), CFeatureTableReader_Imp::x_TrnaToAaString(), CHugeFile::x_TryOpenMemoryFile(), CFeatureTableReader_Imp::x_TryToParseOffset(), CMacroInterpreter::x_UpdateFieldsForMatPeptide(), CSingleFeatValidator::x_ValidateCompareVal(), CValidError_bioseq::x_ValidateMolInfoForBioSource(), CMRNAValidator::x_ValidateMrna(), CProtValidator::x_ValidateProteinName(), CRNAValidator::x_ValidateTrnaType(), CNCActiveHandler::x_WaitOneLineAnswer(), CFeatTableEdit::xAddTranscriptAndProteinIdsToMrna(), CGtfReadRecord::xAssignAttributesFromGff(), CVcfReader::xAssigndbSNPTag(), CVcfReader::xAssignVariationIds(), Section::xBuildSubBlock(), CFeatTableEdit::xFeatureAddProteinIdCds(), CFeatTableEdit::xFeatureAddProteinIdDefault(), CFeatTableEdit::xFeatureAddProteinIdMrna(), CFeatTableEdit::xFeatureAddTranscriptIdCds(), CFeatTableEdit::xFeatureAddTranscriptIdDefault(), CFeatTableEdit::xFeatureAddTranscriptIdMrna(), CGtfReader::xFeatureTrimQualifiers(), xgbparselex_ver(), CBedReader::xGetData(), CWiggleReader::xGetData(), xGetGenBankBlocks(), CAutoSqlCustomField::xHandleSpecialCaseRgb(), CFeatLineReader::xIgnoreLine(), CBedLineReader::xIgnoreLine(), CAlnScannerClustal::xImportAlignmentData(), CAlnScannerFastaGap::xImportAlignmentData(), CAlnScannerMultAlign::xImportAlignmentData(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), C5ColLineReader::xInitializeRecord(), CBedLineReader::xInitializeRgbFromRgbColumn(), CReaderBase::xIsBrowserLine(), CVcfReader::xIsCommentLine(), CGff2Reader::xIsFastaMarker(), CGff2Reader::xIsSequenceRegion(), CReaderBase::xIsTrackLine(), C5ColLineReader::xLineTypeOf(), CGff2Record::xMigrateAttributesGo(), CVcfReader::xNormalizeData(), CGff2Record::xNormalizedAttributeValue(), CReaderBase::xParseBrowserLine(), CWiggleReader::xParseBrowserLine(), CReaderBase::xParseComment(), CVcfReader::xParseData(), CQualParser::xParseQualifierStart(), CGff2Reader::xParseStructuredComment(), CBedReader::xParseTrackLine(), CGff3Reader::xProcessData(), CVcfReader::xProcessDataLine(), CWiggleReader::xProcessFixedStepData(), CVcfReader::xProcessHeaderLine(), CBedAutoSql::xProcessLine(), CVcfReader::xProcessMetaLine(), CVcfReader::xProcessMetaLineFilter(), CVcfReader::xProcessMetaLineFormat(), CVcfReader::xProcessMetaLineInfo(), CWiggleReader::xProcessVariableStepData(), CBedReader::xReadBedRecordRaw(), CAlnFormatGuesser::xSampleIsClustal(), CAlnFormatGuesser::xSampleIsFastaGap(), CAlnFormatGuesser::xSampleIsMultAlign(), CAlnFormatGuesser::xSampleIsNexus(), CBedReader::xSetFeatureColorFromItemRgb(), CVcfReader::xSetFileFormat(), CMultiReaderApp::xSetFormat(), and C5ColLineReader::xSplitLine().
|
inlinestatic |
Definition at line 324 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase().
Referenced by XStr::CompareNocase().
Case-insensitive comparison of two zero-terminated strings.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5214 of file ncbistr.hpp.
References strcasecmp, and tolower().
Referenced by BDB_StringCaseCompare(), NStr::CompareNocase(), and CAutoDefSourceGroup::x_SortDescriptions().
|
inlinestatic |
Definition at line 312 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareCase().
Referenced by XStr::CompareCase().
String compare.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5202 of file ncbistr.hpp.
References util::strcmp().
Referenced by CNcbiApplicationAPI::AppMain(), NStr::CompareCase(), XSDParser::IsAttribute(), XSDParser::IsValue(), SConstCharCompare::operator()(), CCgiApplication::PreparseArgs(), and CObjectIStreamXml::ReadName().
|
inlinestatic |
Wrapper for the function strftime() that corrects handling D and T time formats on MS Windows.
Definition at line 5270 of file ncbistr.hpp.
References format, NStr::Replace(), and NStr::ReplaceInPlace().
|
static |
Convert string to bool.
str | Boolean string value to be converted. Can recognize case-insensitive version as one of: TRUE - 'true, 't', 'yes', 'y', '1', 'on'; FALSE - 'false', 'f', 'no', 'n', '0', 'off'. |
Definition at line 2812 of file ncbistr.cpp.
References s_kFalseString, s_kTrueString, and rapidjson::value.
Referenced by CPluginArgSet::AddDefaultArgument(), CPluginValue::AsBoolean(), CArg_Boolean::CArg_Boolean(), SInputValidator::CheckGetResults(), CPSGDataLoader_Impl::CPSGDataLoader_Impl(), CSubtreeBoundary::CreateShapes(), CMQueryFunctionValue::Evaluate(), CRegistryFile::FromConfigFile(), CConfig::GetBool(), IRegistry::GetBool(), CDataType::GetBoolVar(), CMsvcPrjProjectContext::GetConfigData(), CRR_Util::GetFieldValueConverted(), CMsvcPrjProjectContext::GetPchHeader(), CMsvcMetaMakefile::GetPchInfo(), CTaxon2_data::GetProperty(), CGraphOverlayFactory::GetSettings(), CGraphTrackFactory::GetSettings(), CSequenceTrackFactory::GetSettings(), CSixFramesTransTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), CVcfTrackFactory::GetSettings(), CProjBulderApp::Gui_ConfirmConfiguration(), CCacheReader::InitializeCache(), CCacheWriter::InitializeCache(), CUsageReportAPI::IsEnabled(), CMsvcPrjProjectContext::IsPchEnabled(), CTempTrackProxy::LoadFromRegistry(), impl::CDriverContext::MakeConnection(), NCBITEST_INIT_TREE(), value_slice::CValueConvert< CP, string >::operator bool(), value_slice::CValueConvert< CP, const char * >::operator bool(), CProjBulderApp::ParseArguments(), STrackSettings::ParseSettings(), CJsonParser::ParseValue(), CQueryFuncPromoteBase::PreProcess(), CSGQueryNodeValue::PromoteTo(), SErrorEmulatorParameter::ReadBool(), CObjectIStreamJson::ReadBool(), CObjectIStreamXml::ReadName(), impl::CDriverContext::ResetEnvSybase(), CTableQueryExec::ResolveIdentifier(), CTreeQueryExec::ResolveIdentifier(), s_ConvertParamValue< bool >(), s_ConvertValue(), s_GetBoolValue(), s_GetDefaultUsePSG(), s_GetLogConfigBool(), s_LoadTempTrackRecursive(), s_ParseReadJobResponse(), s_WriteHeader(), CMacroPanelLoader::SetCtrlValue(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), IAddGapsInfo::SetData(), CNetCacheAPIParameters::StringToBool(), CParamParser< TDescription, TParam >::StringToValue(), CGeneModelConfig::UpdateSettings(), DTDParser::x_AttribValue(), CBlastUsageReport::x_CheckBlastUsageEnv(), CGBDataLoader_Native::x_CreateDriver(), CMacroInterpreter::x_EditRelFeatQualValidateArgs(), CMacroInterpreter::x_EditStringQualValidateArgs(), CMacroInterpreter::x_EditSubfieldValidateArgs(), CSDB_ConnectionParam::x_FillBoolParam(), CTableReaderMacro::x_GatherValuesAndMatchField(), CSnpTrackFactory::x_GetSettings(), CFeatureTrackFactory::x_GetSettings(), CGraphOverlay::x_LoadSettings(), CVarTrack::x_LoadSettings(), CVcfTrack::x_LoadSettings(), CEpigenomicsTrack::x_LoadSettings(), CGraphTrack::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CSequenceTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), CIntronTrack::x_ParseSettings(), CVcfTrack::x_ParseSettings(), CCgiApplication::x_ProcessVersionRequest(), CMacroAdvStringConstraintPanel< T >::x_SetControls(), CMacroFunction_SetStringQual::x_SetNewPrimitiveValue(), CMacroInterpreter::x_StoreParsingArguments(), and DTDParser::x_Value().
|
static |
Convert string to double.
str | String to be converted. |
flags | How to convert string to value. Do not support fAllowCommas flag. |
Definition at line 1381 of file ncbistr.cpp.
References flags, s_StringToDouble(), ncbi::grid::netcache::search::fields::size, and str().
Referenced by CPluginArgSet::AddDefaultArgument(), CAutoSqlCustomField::AddDouble(), CAccPatternCounter::AddName(), CRunOfDigits::AddString(), adjustPercentIdentToDisplayValue(), CPluginValue::AsDouble(), CGff2Record::AssignFromGff(), BOOST_AUTO_TEST_CASE(), CArg_Double::CArg_Double(), impl::CConnection::CConnection(), CGridCgiSampleApplication::CollectParams(), CDBLB_ServiceMapper::ConfigureFromRegistry(), CTableImportDataSource::ConvertToSeqAnnot(), CSubtreeBoundary::CreateShapes(), ASNParser::Double(), CMQueryFunctionValue::Evaluate(), CFilteringArgs::ExtractAlgorithmOptions(), CMappingArgs::ExtractAlgorithmOptions(), CSubSource::FixAltitude(), CRegistryFile::FromConfigFile(), g_GetConfigDouble(), CFeatGlyph::GetCustomColorIdx(), SInputValidator::GetDeadline(), CConfig::GetDouble(), IRegistry::GetDouble(), CTableDataBioTreeContainer::GetRealValue(), CJsonNode::GuessType(), CTableDataBioTreeContainer::Init(), CPhyloNodeData::InitFeatures(), GffUtil::InitializeScore(), CNcbiTestApplication::InitTestFramework(), CMatrixScoringMethod::Load(), impl::CDriverContext::MakePooledConnection(), NCBITEST_INIT_VARIABLES(), NSTValidateProlongValue(), CHistConfigDlg::OnHeightUpdated(), CGridWidget::OnSearchIncludeCellValue(), value_slice::CValueConvert< CP, string >::operator double(), value_slice::CValueConvert< CP, const char * >::operator double(), value_slice::CValueConvert< CP, string >::operator float(), value_slice::CValueConvert< CP, const char * >::operator float(), value_slice::CValueConvert< CP, string >::operator long double(), value_slice::CValueConvert< CP, const char * >::operator long double(), CVisitorAccumulateProperty::operator()(), CTreeConvertNonSingleChild2ContainerFunc< TBioTreeContainer, TTreeType >::operator()(), CJsonParser::ParseDouble(), CHttpRetryContext::ParseHeader(), CRepeatMaskerReader::ParseRecord(), CQueryFuncPromoteBase::PreProcess(), CPsgPerfApplication::PrintResult(), CPsgPerfApplication::ProcessLine(), CSGQueryNodeValue::PromoteTo(), CGlimmerReader::Read(), CDistanceMatrix::Read(), SErrorEmulatorParameter::ReadDouble(), CGlTestApplication::Render(), CTableQueryExec::ResolveIdentifier(), CTreeQueryExec::ResolveIdentifier(), RestoreModelAttributes(), s_ConvertValue(), s_GetBigBedSummary(), s_GetItem(), s_HtmlizeLatLon(), s_isAlnInFilteringRange(), s_IsNumber(), s_NodeToDistMat(), CGlyphContainer::SetComments(), CQueryFuncPromoteBase::SetCompareType(), CPhyloNodeData::SetMarkerColors(), CEditingActionDescUserObject::SetValue(), CUser_field::SetValue(), CParamParser< TDescription, TParam >::StringToValue(), CHydraServer::text(), CCleanupAlignmentsParamsPanel::TransferDataFromWindow(), CFloatTextValidator::TransferFromWindow(), CFloatTextValidator::Validate(), CArgAllowValuesGreaterThanOrEqual::Verify(), CArgAllowValuesLessThanOrEqual::Verify(), CArgAllowValuesBetween::Verify(), CArgAllow_Doubles::Verify(), CBLASTParams::x_ArgsToBlastOptions(), DTDParser::x_AttribValue(), CPubseqGatewayApp::x_ConvertDoubleParameter(), CIncreasingTime::x_GetDoubleParam(), CTableColumnTypeGuesser::x_GuessType(), CLatLonMap_Base::x_InitFromDefaultList(), CLatLonMap_Base::x_InitFromFile(), CEutilsClient::x_InitParams(), CFormatGuess::x_IsNumber(), CGFFReader::x_ParseAlignRecord(), CMacroVarAsk::x_ParseString(), CNcbiTestApplication::x_ReadConfiguration(), CNSTServiceRegistry::x_ReadProlongInTTLs(), NStr::x_StringToNumeric(), CAlignFilter::x_TermValue(), DTDParser::x_Value(), CGff2Reader::xAlignmentSetScore(), CVcfReader::xAssignVariantProps(), CBedLineReader::xInitializeRgbFromScoreColumn(), CBedLineReader::xInitializeScore(), CVcfReader::xParseData(), CGffDeconcatApp::xSetExtension(), CBedReader::xSetFeatureColorFromScore(), CBedReader::xSetFeatureScore(), CVcfReader::xSetFileFormat(), and CBedGraphWriter::xWriteSingleFeature().
|
static |
This version accepts zero-terminated string.
Definition at line 1374 of file ncbistr.cpp.
|
static |
Convert string to double-precision value (analog of strtod function)
str | String to be converted. |
endptr | Pointer to character that stops scan. |
Definition at line 980 of file ncbistr.cpp.
Referenced by CTableDataBioTreeContainer::GetRealValue(), CObjectIStreamAsn::ReadDouble(), CObjectIStreamAsnBinary::ReadDouble(), CObjectIStreamJson::ReadDouble(), and CObjectIStreamXml::ReadDouble().
|
static |
Convert encoding name into EEncoding enum, taking into account synonyms as per http://www.iana.org/assignments/character-sets.
encoding_name | Name of the encoding |
Definition at line 6786 of file ncbistr.cpp.
Referenced by CObjectIStreamXml::SkipQDecl().
|
static |
Convert string to int.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 630 of file ncbistr.cpp.
References flags, kMax_Int, S2N_CONVERT_ERROR, S2N_CONVERT_GUARD_EX, str(), NStr::StringToInt8(), and rapidjson::value.
Referenced by CTabDelimitedValidator::_MakeColumns(), AddAssemblyUserFieldsFromSeqTable(), CPluginArgSet::AddDefaultArgument(), AddFeatureSeqTableRowToSeqEntry(), CReadUtil::AddGeneOntologyTerm(), CAutoSqlCustomField::AddInt(), CSrcTableTaxonIdColumn::AddToBioSource(), CSrcTableDbxrefColumn::AddToBioSource(), CGeneticCodeColumn::AddToFeature(), AgpRead(), CConvertRptUnitRangeToLoc::apply(), CPluginValue::AsInteger(), CReadUtil::AsSeqId(), SNSCommandArguments::AssignValues(), BOOST_AUTO_TEST_CASE(), CGff3LocationRecord::CGff3LocationRecord(), CGtfLocationRecord::CGtfLocationRecord(), SInputValidator::CheckCtgTime(), SInputValidator::CheckJobKey(), CNetScheduleNotificationHandler::CheckJobStatusNotification(), CIgAnnotationInfo::CIgAnnotationInfo(), CkNonTerSP(), pub_report::ConvertPMCtoPMID(), CPepXML::ConvertScanID(), CPager::CPager(), CPSGS_IdModifiedVerFlavorId2Info::CPSGS_IdModifiedVerFlavorId2Info(), CPSGS_SatInfoChunksVerFlavorId2Info::CPSGS_SatInfoChunksVerFlavorId2Info(), CLDS2_DataLoaderCF::CreateAndRegister(), CDbapiCtlibCFBase::CreateInstance(), CDbapiOdbcCFBase::CreateInstance(), CSelection::CSelection(), CVersionAPI::CVersionAPI(), CWriteDB_LMDB::CWriteDB_LMDB(), CWriteDB_TaxID::CWriteDB_TaxID(), CSubSource::DateFromCollectionDate(), CSubSource::DetectDateFormat(), DTDParser::EnumeratedBlock(), CFilteringArgs::ExtractAlgorithmOptions(), CMappingArgs::ExtractAlgorithmOptions(), ExtractStatAlgoVersion(), CSeq_annot::ExtractZoomLevel(), CImportStrategy::FetchData(), CFilter::Filter(), CSubSource::FixDateFormat(), CRegistryFile::FromConfigFile(), g_GetConfigInt(), g_WorkerNodeInfoToJson(), gb_refs_common(), get_date(), get_muid(), get_num(), get_s_date(), CAssemblyInfo::GetAssms_Term(), CDataType::GetBoolVar(), CCgiRequest::GetCGIEntries(), CObjectIStreamAsn::GetChoiceIndex(), SRequestBuilder::SReader< SPsgCgiEntries >::GetChunkId(), GetCitBook(), CAddSecondary::GetCommand(), GetDataFromRN(), CSubSource::GetDateFromISODate(), CPager::GetDisplayedPage(), GetFeatureFromTableId(), CUser_field::GetFieldRef(), CScoreLookup::GetGeneId(), CwxAlnStatOptionsDlg::GetGraphHeight(), GetImprintPtr(), CConfig::GetInt(), IRegistry::GetInt(), CNetScheduleAPI::GetJobDetails(), CGraphTrack::GetLegend(), NSnp::GetLength(), CBulkLocationPanel::GetLocForBioseq(), GetLowTrace(), CObjectIStreamAsn::GetMemberIndex(), GetMTByQueriesBatchSize(), C5ColLineReader::GetNextRecord(), CIDs::GetNumber(), CPager::GetPageSize(), CDataLoaderFactory::GetPriority(), CTaxon2_data::GetProperty(), GetQueryBatchSize(), GetReleaseInfo(), GetReplacementSeqIds(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), CMsvcProjectRuleMakefile::GetRulePriority(), CSixFramesTransTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), CVcfTrackFactory::GetSettings(), CFindITSParser::GetSpan(), GetTaxIdWithWindowMaskerSupport(), CReadUtil::GetTrackOffset(), GetVariant(), CPubField::GuessDate(), CTableDataBioTreeContainer::Init(), SThrottleParams::SIOFailureThreshold::Init(), CPhyloNodeData::InitFeatures(), CPslData::Initialize(), InsertList(), CStringConstraint::IsInRange(), CSubSource::IsISOFormatDateOnly(), CSubSource::IsISOFormatTime(), CFormatGuess::IsLineGlimmer3(), CFormatGuess::IsLinePsl(), CPager::IsPagerCommand(), CGenomeProjectField::IsValid(), CRptUnitRangeColumn::IsValid(), CForeignContaminationScreenReportReader::LoadFile(), CSpectrumSet::LoadMultDTA(), CId1FetchApp::LookUpFlatSeqID(), FeatUtil::MakeCodeBreak(), impl::CDriverContext::MakeConnection(), impl::CDriverContext::MakePooledConnection(), CDiagStrErrCodeMatcher::Match(), ASNParser::Number(), CTrackData::Offset(), CCompareWithBiosample::OnClickOk(), CApplyRNAITSDlg::OnCtrlFromKillFocus(), CApplyRNAITSDlg::OnCtrlToKillFocus(), CPhyloTreeWidget::OnInfoTip(), CAlnPropertiesDlg::OnOkClick(), CwxPhyloSettingsDlg::OnOkClick(), CwxTreeLabelEdit::OnOkClick(), CwxSeqMarkerSetDlg::OnOkClick(), CPhyloTreeWidget::OnSearchTip(), CPhyloTreeWidget::OnTipActivated(), CPhyloTreeWidget::OnZoomTip(), value_slice::CValueConvert< CP, string >::operator Int1(), value_slice::CValueConvert< CP, const char * >::operator Int1(), value_slice::CValueConvert< CP, string >::operator Int2(), value_slice::CValueConvert< CP, const char * >::operator Int2(), value_slice::CValueConvert< CP, string >::operator Int4(), value_slice::CValueConvert< CP, const char * >::operator Int4(), SNetScheduleAPIImpl::SServerParamsSync::operator()(), SPriorityCollapse::operator()(), CIdResolverCanonical::operator()(), CGridCommandLineInterfaceApp::SOptions::SNCID::Parse(), ParseAccessionRange(), CProjBulderApp::ParseArguments(), XSDParser::ParseEnumeration(), CFormattingArgs::ParseFormattingString(), XSDParser::ParseMaxOccurs(), SDiagMessage::ParseMessage(), XSDParser::ParseMinOccurs(), JSDParser::ParseNode(), CRepeatMaskerReader::ParseRecord(), SSNP_Info::ParseSeq_feat(), ParseSequenceRange(), ParseSequenceRangeOpenEnd(), CDBUriConnParams::ParseServer(), STrackSettings::ParseSettings(), CCgi2RCgiApp::PopulatePage(), CQueryFuncPromoteBase::PreProcess(), PrintErrorArchive(), PrintSAM(), CSplitCacheApp::Process(), AlnUtil::ProcessDataLine(), PrositePatternLength(), CGlimmerReader::Read(), CConversionApp::Read(), SErrorEmulatorParameter::ReadInt(), CPhrap_Contig::ReadTag(), CSearchHelper::ReadTaxFile(), CSeqTestApplication::Render(), CNetScheduleNotificationHandler::RequestJobWatching(), CBlastdbConvertApp::Run(), CGridCommandLineInterfaceApp::Run(), CMagicBlastApp::Run(), CTax4BlastDemo::Run(), CAnalyzeShiftApp::Run(), CTbl2AsnApp::Run(), CMultiApplication::Run(), CXcompareAnnotsApplication::Run(), CPrimeCacheApplication::Run(), CId2FetchApp::Run(), CDemoApp::Run(), CClientGenomicCollectionsSvcApplication::RunWithService(), s_AddCDS(), s_AddFastMeSubtree(), s_AddPubmedLinksRow(), CTrackMgrClient::s_Ask(), s_ChooseMonthAndDay(), s_ChrName(), s_ConvertFastMeTree(), s_ConvertValue(), s_CopyToIntColumn(), s_DbtagParse(), s_GetBigBedFeats(), s_GetChildNum(), s_GetDetails(), CCompareSeqRegions::s_GetGeneId(), s_GetRangeFromString(), s_GetRoundNumber(), CAgpToSeqEntry::s_LocalSeqIdFromStr(), s_OldGetTaxIdWithWindowMaskerSupport(), s_ParseErrCodeInfoStr(), s_PreFetchSeqs(), s_ReadServerParams(), s_RptUnitIsBaseRange(), s_SetFeatId(), s_StringToCodeBreak(), s_TestResultTreeContainer(), s_TestTree(), s_TraverseDynTree(), s_TraverseTree(), s_UnpackContainerField(), s_URLDecode(), impl::CDriverContext::SatisfyPoolMinimum(), CAsnSubCacheCreateApplication::SBlobVersion::SBlobVersion(), SCigarAlignment::SCigarAlignment(), SSnpFilter::SerializeFrom(), CIgBlastTabularInfo::SetAirrFormatData(), CGlResMgr::SetApiLevel(), CQueryFuncPromoteBase::SetCompareType(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), IAddGapsInfo::SetData(), CFlexibleDatePanel::SetDate(), CAutoSqlStandardFields::SetDisplayData(), CSearchDatabase::SetFilteringAlgorithm(), CDiagContext::SetProperty(), IEditMacroFunction::SetQualStringValue(), CPhyloSelectionSetMgr::SetSelectionSetProperty(), CSeq_annot_SplitInfo::SetSeq_annot(), CGenomeProjectField::SetVal(), CEditingActionBiosourceDbxref::SetValue(), CEditingActionDescGenomeProjectId::SetValue(), CEditingActionDescUserObject::SetValue(), CEditingActionFeatDbxref::SetValue(), CEditingActionFeatTranslExcept::SetValue(), CEditingActionFeatTranslTable::SetValue(), CSeqTableGrid::SetValue(), CHookTax_id::SkipClassMember(), sParseVersion(), SpecNumber(), SplitQuery_GetChunkSize(), SplitQuery_GetOverlapChunkSize(), SPSG_ThrottleParams::SThreshold::SThreshold(), CParamParser< TDescription, TParam >::StringToValue(), TestDelay(), CESearchGeneric::Text(), CHydraServer::text(), CCleanupAlignmentsParamsPanel::TransferDataFromWindow(), CProSplignPanel::TransferDataFromWindow(), CLocationListCtrl::TransferDataFromWindow(), CPublishedRefPanel::TransferDataFromWindow(), CSingleAssemblyTrackingPanel::TransferDataFromWindow(), CSingleRefGeneTrackLocPanel::TransferDataFromWindow(), CFeatureFilterDlg::TransferDataFromWindow(), CSingleCDSExceptionPanel::TransferDataFromWindow(), CSingleDbxref_SubPanel::TransferDataFromWindow(), CTableImportListCtrl::UpdateColumnNames(), SPSG_Request::UpdateItem(), CwxPhyloSettingsDlg::UpdateSample(), CGeneModelConfig::UpdateSettings(), CGapFeatValidator::Validate(), CValidError_bioseq::ValidateWGSMaster(), CArgAllowGeneticCodeInteger::Verify(), CConversionApp::Write(), CMsvcConfigure::WriteExtraDefines(), CMacroFunction_SetPubDate::x_AddDate(), CSixFramesTransTrack::x_AddTranslations(), CSourceModParser::x_ApplyMods(), SGridWorkerNodeImpl::x_AreMastersBusy(), CBLASTParams::x_ArgsToBlastOptions(), CNCMessageHandler::x_AssignCmdParams(), CCreateGeneModelTask::x_AssignIDsAndUpdateGenes(), CSeqDBImpl::x_BuildMaskAlgorithmList(), CGLCanvas::x_CheckGlVersion(), CDebugDumpViewer::x_CheckLocation(), CAliasTest::x_CheckNumber(), CBlastUsageReport::x_CheckRunEnv(), CSeqDBVol::x_CheckVersions(), CPubseqGatewayApp::x_ConvertIntParameter(), CFindOverlapJob::x_CreateProjectItems(), CNgAlignApp::x_CreateSequenceSet(), CDisplaySeqalign::x_DisplayAlignSortInfo(), CShowBlastDefline::x_DisplayDeflineTable(), CAlnGraphic::x_DisplayMaster(), CCpgSearchJob::x_DoSearch(), COrfSearchJob::x_DoSearch(), CSDB_ConnectionParam::x_FillLowerParams(), CDisplaySeqalign::x_FormatAlignSortInfo(), variation_ref::CHgvsParser::x_general_pos(), variation::CHgvsParser::x_general_pos(), CBlastHitMatrixCGIApplication::x_GetCGIContextParams(), CRelaxedLookupDlg::x_GetPubIds(), CRelaxedLookupDlg::x_GetSearchTerms(), CVarTrackFactory::x_GetSettings(), CMacroEngineParallel::x_GetThreadCount(), CPubseqGatewayApp::x_GetTimeSeries(), CTableColumnTypeGuesser::x_GuessType(), CAsn2FastaApp::x_InitOStreams(), CBlastDBCmdApp::x_InitSearchRequest(), CPhyTreeFormatter::x_InitTreeFeatures(), variation_ref::CHgvsParser::x_int_fuzz(), variation::CHgvsParser::x_int_fuzz(), CFeaturePanel::x_LoadSettings(), CGraphOverlay::x_LoadSettings(), CGraphTrack::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CSixFramesTransTrack::x_LoadSettings(), CTaxonCache::x_LoadTaxonCache(), CDisplaySeqalign::x_MapDefLine(), CDB_ODBC_ConnParams::x_MapPairToParam(), CPhyloTreePriorityNode::x_OnStep(), CDiagStrErrCodeMatcher::x_Parse(), CSplitQueryTestFixture::x_ParseConfigLine(), CRebase::x_ParseCutPair(), CFeatureTrack::x_ParseSettings(), CGFFReader::x_ParseStructuredComment(), CFindOverlapJob::x_PrepareAligner(), CGlCgiImageApplication::x_PreProcess(), CCgiFontTestApp::x_PreProcess(), CAlnMultiCGIApplication::x_PreProcess(), CBlastDBCmdApp::x_ProcessBatchPig(), NSnpGui::x_ProcessDbgaptext(), CNetScheduleHandler::x_ProcessMsgBatchHeader(), variation_ref::CHgvsParser::x_prot_ext(), variation::CHgvsParser::x_prot_ext(), variation_ref::CHgvsParser::x_prot_fs(), variation::CHgvsParser::x_prot_fs(), CNCActiveHandler::x_ReadFoundMeta(), CNCActiveHandler::x_ReadSyncGetAnswer(), CNCActiveHandler::x_ReadSyncProInfoAnswer(), CRPSBlastApp::x_RunMTBySplitQuery(), CRPSTBlastnApp::x_RunMTBySplitQuery(), CwxSeqTextViewOptions::x_SaveSettings(), CUCSCRegionReader::x_SetFeatureLocation(), CUrl::x_SetPort(), CMacroInterpreter::x_SetPubDateValidateArgs(), CDisplaySeqalign::x_ShowAlnvecInfoTemplate(), variation_ref::CHgvsParser::x_ssr(), variation::CHgvsParser::x_ssr(), NStr::x_StringToNumeric(), CDescrModApply::x_TryOrgNameMod(), CFeatureTableReader_Imp::x_TryToParseOffset(), ASNParser::x_Type(), CValidError_imp::x_ValidatePages(), CGff2Reader::xAlignmentSetDenseg(), CGff2Reader::xAlignmentSetSpliced_seg(), CVcfReader::xAssigndbSNPTag(), CVcfReader::xAssignVariantProps(), CBedReader::xContainsRnaFeature(), CBedReader::xContainsThickFeature(), CBedReader::xDetermineLikelyColumnCount(), CAlnScannerMultAlign::xGetExpectedDataSize(), CGff2Reader::xGetStartsOnMinusStrand(), CGff2Reader::xGetStartsOnPlusStrand(), CAutoSqlCustomField::xHandleSpecialCaseRgb(), CAlnScannerClustal::xImportAlignmentData(), CAlnScannerPhylip::xImportAlignmentData(), CBedLineReader::xInitializeBlocks(), CBedLineReader::xInitializeChromInterval(), CGff3ImportData::xInitializeDataCds(), CGff3LineReader::xInitializeLocation(), CGtfLineReader::xInitializeLocation(), C5ColLineReader::xInitializeRecord(), CBedLineReader::xInitializeRgbFromRgbColumn(), CBedLineReader::xInitializeThickInterval(), CGff2Record::xMigrateAttributes(), XMLParseVersion(), XMLRefs(), CVcfReader::xParseData(), CAlnScannerNexus::xProcessDimensions(), CBedLineReader::xProcessTrackLine(), CBedReader::xReadBedRecordRaw(), CAlnFormatGuesser::xSampleIsMultAlign(), CAlnFormatGuesser::xSampleIsSequin(), CReaderBase::xSetBrowserRegion(), CBedReader::xSetFeatureColorFromItemRgb(), CBedReader::xSetFeatureDisplayData(), CMicroArrayReader::xSetFeatureDisplayData(), CBedReader::xSetFeatureLocation(), CMicroArrayReader::xSetFeatureLocation(), CBedReader::xSetFeatureLocationCds(), CBedReader::xSetFeatureLocationThick(), CBedReader::xSetFeatureScore(), CMultiReaderApp::xSetFlags(), and CGff2Reader::xSetSplicedExon().
|
static |
Convert string to Int8.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 793 of file ncbistr.cpp.
Referenced by CSeqDB_NSeqsWalker::AddString(), CBlastDBAliasApp::ConvertGiFile(), CMQueryFunctionValue::Evaluate(), CSeqDBGiList::FindId(), CSeqDBNegativeList::FindId(), g_FixMisplacedPID(), g_LegacyStatToJson(), g_WorkerNodeInfoToJson(), SRequestBuilder::SReader< SPsgCgiEntries >::GetBlobId(), CObject_id::GetIdType(), SRequestBuilder::SReader< SPsgCgiEntries >::GetIpg(), CRemoteBlast::GetResultSet(), CEntrezDB::GetUidAttr(), CJsonNode::GuessType(), CPublicationTypePanel::OnDoiLookup(), CPubseqGatewayApp::OnStatistics(), value_slice::CValueConvert< CP, string >::operator Int8(), value_slice::CValueConvert< CP, const char * >::operator Int8(), CVisitorAccumulateProperty::operator()(), CJsonParser::ParseInt(), CSGQueryNodeValue::PromoteTo(), CObjectIStreamJson::ReadInt8(), CAgpRow::ReadSeqPos(), CTableQueryExec::ResolveIdentifier(), CTreeQueryExec::ResolveIdentifier(), s_ConvertValue(), s_StringToInt8(), s_UseThisSeqToTextSeqID(), CAsnSubCacheCreateApplication::SBlobVersion::SBlobVersion(), SeqDB_SimplifySeqid(), CDiagContext::SetProperty(), NStr::StringToInt(), CMacroFunction_SetPubDateField::TheFunction(), CWriteDB_IsamIndex::x_AddTraceIds(), CNCMessageHandler::x_AssignCmdParams(), DTDParser::x_AttribValue(), CAliasTest::x_CheckNumber8(), CMacroFunction_EditStringQual::x_EditFields(), CMacroVarAsk::x_ParseString(), CCompoundIDDumpParser::x_ReadInt8(), NStr::x_StringToNumeric(), and DTDParser::x_Value().
|
static |
Convert string to long.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 653 of file ncbistr.cpp.
Referenced by CIdMapperConfig::AddMapEntry(), CBlastDBSeqId::CBlastDBSeqId(), CTableDataBioTreeContainer::GetIntValue(), CPubseqGatewayApp::OnTestIO(), value_slice::CValueConvert< CP, string >::operator long(), value_slice::CValueConvert< CP, const char * >::operator long(), s_GetItem(), s_SetEnumValue(), IAddGapsInfo::SetData(), SetSimpleTypeValue(), CPMCIDConverterServer::start_element(), CSeqUtils::StringToRange(), CFeatureTableReader_Imp::x_AddQualifierToCdregion(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CPubseqGatewayApp::x_ConvertIntParameter(), CMacroFunction_EditStringQual::x_EditFields(), CTimeSpan::x_Init(), CTime::x_Init(), CNewCleanup_imp::x_IsDotBaseRange(), CNewCleanup_imp::x_IsHyphenBaseRange(), CMacroFunction_RemoveOutside::x_RmvOutsideFields(), CFeatureTableReader_Imp::x_StringToLongNoThrow(), and NStr::x_StringToNumeric().
|
static |
Convert string to non-negative integer value.
str | String containing only digits, representing non-negative decimal value in the int range: [0..kMax_Int]. |
flags | How to convert string to value. Only fConvErr_NoErrMessage flag is supported here. |
Definition at line 457 of file ncbistr.cpp.
References NStr::fConvErr_NoErrMessage, flags, i, len, CNcbiError::SetErrno(), and str().
Referenced by BOOST_AUTO_TEST_CASE(), CSeq_id_General_Tree::FindMatch(), CFormatGuess::IsLineAgp(), CFormatGuess::IsLinePhrapId(), CNewCleanup_imp::MoveCitationQuals(), CwxPhyloSettingsDlg::OnOkClick(), CAltValidator::ProcessQueue(), s_ProcessOrgRefMapLine(), s_SplitVersion(), CTextseq_id::Set(), CSeq_id::Set(), CObject_id::SetAsMatchingTo(), CObject_id::SetStrOrId(), sSetLocusLineOffsets(), NStr::StringToNumeric(), CNcbiDiag::StrToSeverityLevel(), sx_IsNA(), CImportFeatTable::x_CreateCommand(), CImportFeatTable::x_GetFixedId(), CSeq_id::x_Init(), CGraphTrack::x_LoadSettings(), CTraceGraphTrack::x_LoadSettings(), CBlastDBCmdApp::x_ModifyConfigForBatchEntry(), CNewCleanup_imp::x_SeqFeatCDSGBQualBC(), CMultiReaderApp::xPostProcessAnnot(), and CGff3Reader::xProcessSequenceRegionPragma().
|
inlinestatic |
Convert string to a numeric value.
str | [in] String to be converted. |
value | [out] The numeric value represented by "str". Zero on any error. |
flags | [in] Optional flags to tune up how the string is converted to value. |
base | [in] Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 356 of file ncbistr.hpp.
References flags, str(), rapidjson::value, and NStr::x_StringToNumeric().
|
inlinestatic |
Convert string to a numeric value.
str | String to be converted. |
flags | Optional flags to tune up how the string is converted to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 330 of file ncbistr.hpp.
Referenced by CCassPrm::AsInt16(), CCassPrm::AsInt32(), CCassPrm::AsInt64(), CCassPrm::AsInt8(), CEndpointKey::CEndpointKey(), cmpTableValues(), CDBLB_ServiceMapper::ConfigureFromRegistry(), CSequenceIStreamBlastDB::CSequenceIStreamBlastDB(), CTL_Connection::CTL_Connection(), CGlTextureFont::FromString(), g_LoadLinkageEvidence(), CCassBlobOp::GetBigBlobSizeLimit(), CCassBlobOp::GetBlobChunkSize(), CRR_Util::GetFieldValueConverted(), CSeqDB::GetMaskAlgorithmDetails(), CECitMatch_Request::GetResponse(), impl::CDriverContext::MakeConnection(), CProcessor::OffsetId(), CPubmedFetchApplication::Run(), s_IsNumericId(), s_ParseInt(), CDirEntry::SetOwner(), CSeq_id_Resolver__ChrNamesFromGC::x_Create(), CDBPoolBalancer::x_GetPoolMax(), CMakeBlastDBApp::x_ProcessMaskData(), CODBC_Connection::x_SetConnAttributesBefore(), and SAccGuide::x_SplitSpecial().
Definition at line 380 of file ncbistr.hpp.
References str(), and NStr::StringToNonNegativeInt().
|
static |
Convert string to pointer.
str | String to be converted. |
flags | How to convert string to value. Only fConvErr_NoErrMessage flag is supported here. |
Definition at line 2772 of file ncbistr.cpp.
Referenced by CPluginObject::PostRead(), and CDataLoaderFactory::x_GetObjectManager().
|
static |
Convert string to size_t.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 1760 of file ncbistr.cpp.
Referenced by CJob::CompareAuthToken(), g_FindSegs(), CVcfVariant::ParseInfoColumns(), CGridCommandLineInterfaceApp::Run(), s_ESearchQuery(), CNcbiApplicationAPI::x_HonorStandardSettings(), and CDensegGraphicDataSource::x_InitCigar().
|
static |
Convert string to unsigned int.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 642 of file ncbistr.cpp.
Referenced by SAccGuide::AddRule(), CSeqDB_MaxLengthWalker::AddString(), CSeqDB_MinLengthWalker::AddString(), CSeqDB_MembBitWalker::AddString(), CSeqDB_OidMaskTypeWalker::AddString(), CAutoSqlCustomField::AddUint(), CGroupExplode::apply(), CGff2Record::AssignFromGff(), SNSCommandArguments::AssignValues(), BOOST_AUTO_TEST_CASE(), CDebugDumpViewer::Bpt(), impl::CConnection::CConnection(), CDBInterfacesFileConnParams::CDBInterfacesFileConnParams(), CFastaBioseqSource::CFastaBioseqSource(), CGridCommandLineInterfaceApp::Cmd_Suspend(), cmp_labels(), CJob::CompareAuthToken(), CSeqDBAliasNode::ComputeMasks(), CCgi2RCgiApp::CreateContextWithFlags(), CSQLITE3_BlobCacheCF::CreateInstance(), CSeqMaskerIstatAscii::CSeqMaskerIstatAscii(), CVCFVariantList::CVCFVariantList(), CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), DirectCompareFunction(), CSrzPath::FindAccPath(), CContElemConverter< CCgiEntry >::FromString(), CRgbaColor::FromString(), CCgiRequest::GetContentLength(), CGencollSvc::GetGenCollService(), CVariantDescriptors::GetMaxFeatureLength(), CTableSelectionBioTreeContainer::GetSelection(), CPhyTreeView::GetSelection(), CNCDistributionConf::GetSlotByNetCacheKey(), CSraMgr::GetSpotInfo(), CCgi2RCgiApp::GetStatus(), CAutoDefFeatureClause_Base::GroupConsecutiveExons(), CNCDistributionConf::InitMirrorConfig(), IsStringInSpan(), CMessageHandlerThrowOnError::IsTaxidQuery(), CRequestContext::IsValidSessionID(), CNSStartIDs::Load(), make_server(), value_slice::CValueConvert< CP, string >::operator Uint1(), value_slice::CValueConvert< CP, const char * >::operator Uint1(), value_slice::CValueConvert< CP, string >::operator Uint2(), value_slice::CValueConvert< CP, const char * >::operator Uint2(), value_slice::CValueConvert< CP, string >::operator Uint4(), value_slice::CValueConvert< CP, const char * >::operator Uint4(), visitor_taxid_query::operator()(), CArgs::operator[](), CMaskFromFasta::ParseDataLine(), CFastaReader::ParseGapLine(), CVCFVariantList::ParseLine(), CSeqUtils::ParseRanges(), CRepeatMaskerReader::ParseRecord(), CObjFingerprint::ParseSignature(), CNcbiApplogApp::ParseToken(), CNCActiveSyncControl::PrintState(), CSuspendProcessor::Process(), CAckAlertProcessor::Process(), CDistanceMatrix::Read(), SNetICacheClientImpl::ReadCurrentBlobNotOlderThan(), CWig2tableApplication::ReadFixedStep(), CBDB_SplitTest::ReadTestSet(), CWig2tableApplication::ReadVariableStep(), CCgi2RCgiApp::RenderPage(), CDemoContigAssemblyApp::Run(), CGridCommandLineInterfaceApp::Run(), CNcbiApplogApp::Run(), SGridWorkerNodeImpl::Run(), CXcompareAnnotsApplication::Run(), s_GetNextLogPrefix(), s_GetNumDbsPerChunk(), s_IsSuccessor(), s_SocketConnectorBuilder(), SCompartmentData::SCompartmentData(), CTableDataBioTreeContainer::SelectTaxIds(), CAutoSqlStandardFields::SetLocation(), SPatternUnit::SPatternUnit(), CNetScheduleAdmin::StatusSnapshot(), CDirEntry::StringToMode(), sx_GetReadId(), CNCBlobStorage::WriteDbInfo(), CSourceModParser::x_ApplyGenomeProjectsDBMods(), CNCMessageHandler::x_AssignCmdParams(), CWriteDB_LMDB::x_CommitTransaction(), CGBDataLoader_Native::x_CreateDriver(), CTreeBuilderJob::x_CreateProjectItems(), SNetCacheAPIImpl::x_ExtractBlobAge(), CVCFVariantsBase::x_Filter(), CRemoteBlast::x_GetPsiIterationsFromServer(), CNcbiApplicationAPI::x_HonorStandardSettings(), CThreadedApp::x_InitializeThreadGroups(), CSeqDBIsam::x_LoadData(), CSeqDBIsam::x_LoadStringData(), variation_ref::CHgvsParser::x_nuc_inv(), CGFFReader::x_ParseAlignRecord(), CGff2Reader::x_ParseDbtag(), CGFFReader::x_ParseFeatureInterval(), CUnicodeToAsciiTranslation::x_ParseLine(), CURLTooltipHandler::x_ParseUnalignedRegionHref(), CArgDescriptions::x_PostCheck(), CFilterColumnsDlg::x_ProcessSelectionPattern(), SErrorEmulatorParameter::x_ReadCommon(), CNCActiveHandler::x_ReadFoundMeta(), CNCActiveHandler::x_ReadSyncGetAnswer(), CNCActiveHandler::x_ReadSyncProInfoAnswer(), CDescrModApply::x_SetGenomeProjects(), NStr::x_StringToNumeric(), CFormatGuess::x_TryProcessCLUSTALSeqData(), SGridWorkerNodeImpl::x_WNCoreInit(), CGtfReader::xFeatureSetDataCds(), CGvfReader::xFeatureSetLocationInterval(), CGvfReader::xFeatureSetLocationPoint(), CWiggleReader::xGetFixedStepInfo(), CWiggleReader::xGetVariableStepInfo(), CBedAutoSql::xProcessLine(), CBedReader::xSetFeatureLocationBlock(), and CBedReader::xSetFeatureLocationRna().
|
static |
Convert string to Uint8.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 871 of file ncbistr.cpp.
Referenced by CSeqDB_TotalLengthWalker::AddString(), CNetCacheReader::CNetCacheReader(), g_WorkerNodeInfoToJson(), CNetCacheAPI::GetBlobSize(), CNetICacheClient::GetBlobSize(), CUrlUtils::GetRemoteFileSize(), CCgi2RCgiApp::GetStatus(), CNCDistributionConf::InitMirrorConfig(), CRequestContext::IsValidSessionID(), CESearchParser< T >::OnEndElement(), value_slice::CValueConvert< CP, string >::operator Uint8(), value_slice::CValueConvert< CP, const char * >::operator Uint8(), SDiagMessage::ParseMessage(), CNcbiApplogApp::ParseToken(), CObjectIStreamJson::ReadUint8(), CGridCommandLineInterfaceApp::Run(), CNcbiApplogApp::Run(), s_FraqToNanosec(), s_GetDiskSpace_PANFS(), s_ParseInt(), s_ParsePAXNumeric(), s_SetJobExpTime(), CNCBlobAccessor::UpdatePurgeData(), CNCMessageHandler::x_AssignCmdParams(), CTar::x_ExtractSparseFile(), CColumnarVCFReaderApp::x_ParseRange(), CWriteDB_Impl::x_Publish(), CNCActiveHandler::x_ReadFoundMeta(), CNCActiveHandler::x_ReadHttpDataPrefix(), CNCActiveHandler::x_ReadPeerVersion(), CNCActiveHandler::x_ReadSizeToRead(), CNCActiveHandler::x_ReadSyncGetAnswer(), CNCActiveHandler::x_ReadSyncProInfoAnswer(), CNCActiveHandler::x_ReadSyncStartAnswer(), CCompoundIDDumpParser::x_ReadUint8(), NStr::x_StringToNumeric(), CDebugDumpViewer::x_StrToPtr(), and CUCSCRegionReader::xParseFeatureUCSCFormat().
|
static |
Convert string to number of bytes.
String can contain "software" qualifiers: MB(megabyte), KB (kilobyte). Example: 100MB, 1024KB Note the qualifiers are power-of-2 based, aka kibi-, mebi- etc, so that 1KB = 1024B (not 1000B), 1MB = 1024KB = 1048576B, etc.
str | String to be converted. |
flags | How to convert string to value. |
base | Numeric base of the number (before the qualifier). Allowed values are 0, 2..20. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. The base is limited to 20 to prevent 'K' from being interpreted as a digit in the number. |
Definition at line 1455 of file ncbistr.cpp.
|
static |
Convert string that can contain "software" qualifiers to Uint8.
String can contain "software" qualifiers: G(giga-), MB(mega-), KiB (kibi-) etc. Example: 100MB, 1024KiB, 5.7G. Meaning of qualifiers depends on flags and by default is 1000-based (i.e. K=1000, M=10^6 etc.) except in cases when qualifiers with "iB" are used, i.e. KiB=1024, MiB=1024^2 etc. When flags parameter contains fDS_ForceBinary then qualifiers without "iB" (i.e. "K" or "MB") will also be 1024-based. String can contain a decimal fraction (except when fDS_ProhibitFractions flag is used), in this case the resultant Uint8 number will be rounded to fit into integer value.
str | String to be converted. |
flags | How to convert string to value. |
Definition at line 1530 of file ncbistr.cpp.
Referenced by BDB_CreateEnv(), CArg_DataSize::CArg_DataSize(), CCgiApplication::CheckMemoryLimit(), ConfigureLogging(), CTableImportDataSource::ConvertToSeqAnnot(), CConfig::GetDataSize(), CNCDistributionConf::Initialize(), SQueueParameters::ReadMaxInputSize(), SQueueParameters::ReadMaxOutputSize(), BlastdbCopyApplication::Run(), s_GetAmbiguityCacheSize(), s_ReadVariableParams(), CMakeBlastDBApp::x_BuildDatabase(), CMakeClusterDBApp::x_BuildDatabase(), CTableColumnTypeGuesser::x_GuessType(), CNcbiApplicationAPI::x_HonorStandardSettings(), CAlignmentTrack::x_LoadSettings(), and SGridWorkerNodeImpl::x_WNCoreInit().
|
static |
Convert string to unsigned long.
str | String to be converted. |
flags | How to convert string to value. |
base | Radix base. Allowed values are 0, 2..36. Zero means to use the first characters to determine the base - a leading "0x" or "0X" means base 16; otherwise a leading 0 means base 8; otherwise base 10. |
Definition at line 665 of file ncbistr.cpp.
Referenced by CTimeSpan::AssignFromSmartString(), BrBookURLToCCddBookRef(), CAddFluComments::ConcatIds(), CSmallDNS::IsValidIP(), value_slice::CValueConvert< CP, string >::operator unsigned long(), value_slice::CValueConvert< CP, const char * >::operator unsigned long(), SRetryProcessing::operator()(), CAddFluComments::SCompareStr::operator()(), CNcbiApplogApp::ParseToken(), s_FixPages(), SErrorEmulatorParameter::x_ReadCommon(), NStr::x_StringToNumeric(), CDebugDumpViewer::x_StrToPtr(), CBedReader::xDetermineLikelyColumnCount(), CBedLineReader::xInitializeRgbFromRgbColumn(), and CBedReader::xSetFeatureColorFromItemRgb().
|
inlinestatic |
Definition at line 330 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareNocase(), and n.
Case-insensitive comparison of two zero-terminated strings, narrowed to the specified number of characters.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
Definition at line 5241 of file ncbistr.hpp.
References n, strncasecmp, and tolower().
Referenced by CConnTest::CheckFWConnections(), NStr::EqualNocase(), CObjectIStreamAsn::ReadDouble(), s_DoesTextContainOnlyTheseWords(), s_DumpHeader(), s_NoCaseEqual(), s_OSReason(), CConnTest::StatefulOkay(), CProjBulderApp::UseAbsolutePath(), CValidError_bioseqset::ValidatePopSet(), and CTime::x_Init().
|
inlinestatic |
Definition at line 318 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::CompareCase(), and n.
String compare up to specified number of characters.
s1 | String to be compared – operand 1. |
s2 | String to be compared – operand 2. |
n | Number of characters in string |
Definition at line 5208 of file ncbistr.hpp.
References n, and util::strncmp().
Referenced by NStr::EqualCase(), CNetCacheServerListener::OnErrorImpl(), and CNCMessageHandler::x_ReadAuthMessage().
|
inline |
Obtain a substring from this string, beginning at a given offset.
Definition at line 776 of file tempstr.hpp.
References CTempString::CTempString().
Referenced by CSeqTableLocColumns::AddColumn(), CTitleParser::Apply(), CRawSeqToDeltaSeqByLoc::apply_impl(), CGRPCServerCallbacks::BeginRequest(), BOOST_AUTO_TEST_CASE(), CRawSeqToDeltaSeqByLoc::ByAssemblyGapFeatures_impl(), CEndpointKey::CEndpointKey(), NStr::Compare(), CDirEntry::ConcatPathEx(), CSeqTableSetAnyObjField::CSeqTableSetAnyObjField(), CDiff::Diff(), DoesSingleStringMatchConstraint(), NStr::Equal(), NStr::EqualCase(), NStr::EqualNocase(), SAccGuide::Find(), ICitationBase::FixPages(), fta_add_hist(), g_IsDataFileOld(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CDbXrefColumn::GetFromFeat(), CCodonsRecColumn::GetFromFeat(), CAntiCodonColumn::GetFromFeat(), CTagPeptideColumn::GetFromFeat(), CFieldHandlerNamePanel::GetMacroFieldName(), CDBLinkField::GetNormalizedDBLinkFieldName(), NMItemData::GetResolveFuncForPubQual(), GetTwoFieldSubfield(), GetWGSMasterSeq_id(), CFastaReader::IsValidLocalID(), CFastaIdValidate::IsValidLocalString(), make_server(), variation::Ncbieaa2HgvsAA(), CWGSDb_Impl::NormalizePathOrAccession(), CFastaDeflineReader::ParseDefline(), CFastaReader::ParseGapLine(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CSNPBlobId::ParseNA(), CWGSDb_Impl::ParseRowType(), CSourceModParser::ParseTitle(), ParseTrack(), CAltValidator::ProcessQueue(), CColumnarVCFReader::ReadHeader(), CFastaReader::ReadOneSeq(), s_CheckForFastaTag(), CAgpToSeqEntry::s_LocalSeqIdFromStr(), s_ParseFastaIdString(), s_ProcessECNumberLine(), s_URLDecode(), s_WriteLine(), CTextseq_id::Set(), CSeq_id::Set(), sGetMods(), CWGSDb_Impl::SProtAccInfo::SProtAccInfo(), sSetLocusLineOffsets(), CMacroLib::StoreSynonymList(), CDiffList::x_CleanupAndMerge_Equities(), CDiff::x_Diff(), CDiff::x_DiffBisectSplit(), CDiff::x_DiffHalfMatchI(), CCSraShortReadIterator::x_GetReadData(), CWGSDb_Impl::x_InitIdParams(), CString_constraint::x_MatchFound(), CPoolBalancer::x_NameToKey(), CRegexpTemplateTester::x_Op_Skip(), CShortReadFastaInputSource::x_ParseDefline(), CCorrectRNAStrandDlg::x_ProcessRNAStrandLine(), CNCActiveHandler::x_ReadHttpDataPrefix(), CNCActiveHandler::x_ReadSizeToRead(), CValidError_bioseq::x_ReportDuplicatePubLabels(), CDeflineGenerator::x_SetTitleFromBioSrc(), CDeflineGenerator::x_SetTitleFromMap(), CDeflineGenerator::x_SetTitleFromPDB(), CDeflineGenerator::x_SetTitleFromWGS(), SAccGuide::x_SplitSpecial(), CRegexpTemplateTester::x_SubstituteVars(), CFeatureTableReader_Imp::x_TryToParseOffset(), and CGff2Record::xNormalizedAttributeValue().
|
inline |
Obtain a substring from this string, beginning at a given offset.
Definition at line 1010 of file tempstr.hpp.
References CTempStringEx::CTempStringEx(), CTempString::data(), CTempStringEx::m_ZeroAtEnd, max(), and CTempString::size().
Referenced by CGff2Record::TokenizeGFF(), CWig2tableApplication::x_GetParamName(), CWig2tableApplication::x_GetParamValue(), CWig2tableApplication::x_GetPos(), CWig2tableApplication::x_GetWord(), CFeature_table_reader::x_ReadFeatureTable(), and CWig2tableApplication::x_SkipWS().
|
inline |
Obtain a substring from this string, beginning at a given offset and extending a specified length.
Definition at line 783 of file tempstr.hpp.
References CTempString::CTempString(), and len.
|
inline |
Obtain a substring from this string, beginning at a given offset and extending a specified length.
Definition at line 1021 of file tempstr.hpp.
References CTempStringEx::CTempStringEx(), CTempString::data(), CTempStringEx::eNoZeroAtEnd, len, CTempStringEx::m_ZeroAtEnd, max(), and CTempString::size().
|
static |
Convert Unicode code point into encoded character.
sym | Unicode code point (symbol) |
lcl | Character locale |
Definition at line 6931 of file ncbistr.cpp.
References SLocaleEncoder::ToUnicode().
|
static |
Convert Unicode code point into encoded character.
sym | Unicode code point (symbol) |
encoding | Character encoding |
Definition at line 6855 of file ncbistr.cpp.
Referenced by CObjectIStreamJson::ReadEncodedChar(), CObjectOStreamXml::WriteEncodedChar(), and CObjectIStreamXml::x_ReadEncodedChar().
|
static |
Convert string to lower case – char* version.
str | String to be converted. |
Definition at line 395 of file ncbistr.cpp.
Privatized ToLower() with const char* parameter to prevent passing of constant strings.
Convert string to lower case – string& version.
str | String to be converted. |
Definition at line 405 of file ncbistr.cpp.
References NON_CONST_ITERATE, str(), and tolower().
Referenced by CTabDelimitedValidator::_ProcessHeader(), CWholeFileAnnotation::AddAnnot(), CPseudoPanel::AddCommand(), CGff2Record::AssignFromGff(), CTimeSpan::AssignFromSmartString(), CSubSource::AutoFix(), CFieldChoicePanel::AutoMatchSrc(), BDB_CreateEnv(), CGRPCServerCallbacks::BeginRequest(), BOOST_AUTO_TEST_CASE(), CAlignFormatUtil::BuildFormatQueryString(), CBioTreeSelection::CBioTreeSelection(), CELinkParser< T >::CELinkParser(), CFlatSubSourcePrimer::CFlatSubSourcePrimer(), AlnUtil::CheckId(), CheckSTRAND(), CheckTPG(), CPCRPrimerSeq::Clean(), CTextUtil::CleanJournalTitle(), NSnp::ClinSigAsString(), NSnpGui::ClinSigFromString(), CNcbiLogFields::CNcbiLogFields(), CBlastOptionsBuilder::ComputeProgram(), CTraversalSpecFileParser::CDescFileNode::ConvertToMemberMacro(), CreateActionCdsGeneProt(), CreateActionFeat(), CreateActionRna(), CTrackConfigManager::CreateDisplayName(), CBlastOptionsFactory::CreateTask(), CStringConstraint::DoesTextMatch(), SBuildInfo::ExtraNameXml(), CAttribMenu::FindItem(), CSubSource::FixCapitalization(), FixCapitalizationInElement(), FixCapitalizationInString(), FixOrdinalNumbers(), CGb_qual::FixRecombinationClassValue(), CSubSource::FixSexQualifierValue(), CFlatAnticodonQVal::Format(), g_GetNormalizedModVal(), g_ServerInfoToJson(), CNewCleanup_imp::GBQualSeqFeatBC(), CAuthListValidator::get_lastnames(), CWholeFileAnnotation::GetAndUseAnnot(), CBlastOptionsFactory::GetDocumentation(), NMItemData::GetExistingTextDescr(), CBioTreeSelection::GetFeatureId(), CApplyAuthorsTreeItemData::GetMacroDescription(), ILayoutTrackFactory::GetMatchedAnnots(), GetNormalizedSeqId(), CGenericPropsPanel::GetPseudoChoice(), CGBDataLoader_Native::GetReaderWriterName(), NMItemData::GetResolveFuncForPubQual(), GetStateAbbreviation(), COrgMod::GetSubtypeValue(), CSubSource::GetSubtypeValue(), CImageIO::GetTypeFromFileName(), CAggregateFeatureTrack::GetTypeList(), CSeqIdGuesser::Guess(), CTableColumnTypeGuesser::GuessColumn(), CBioTreeSelection::HasFeature(), CMacroFlowEditor::ImportLibrary(), CFast5colReader::Init(), CWholeFileAnnotation::Init(), IsAllLowerCase(), CPaintSequence::IsClipboard(), CAlignFormatUtil::IsMixedDatabase(), CGenericPropsPanel::IsPseudo(), CLayoutTrack::isRemotePath(), CPSGS_CassProcessorBase::IsTimeoutError(), CSubSource::IsValidSexQualifierValue(), COrgMod::IsValidSubtypeName(), CSubSource::IsValidSubtypeName(), CMultiReader::LoadIndexedAnnot(), CCgiApplication::LogRequest(), CAutoLowerCase::lowercase(), CHttpCookie::MatchDomain(), CwxPhyloEditDlg::OnButton4Click(), CPaintSequence::OnPaste(), CHttpCookie::Parse(), ParseVersionString(), CWordPairIndexer::PopulateWordPairIndex(), CSeqDBGiList::PreprocessIdsForISAMSiLookup(), CSeqDBNegativeList::PreprocessIdsForISAMSiLookup(), CHttpRequest::PrintLogFields(), CDiagContext::PrintStart(), ProgramNameToEnum(), CAttribMenu::RemoveItem(), CAttribMenu::RemoveMenuR(), CRegistryReadView::ResolveField(), CNcbiApplogApp::Run(), CTAbleValApp::Run(), CTestApplication::Run(), s_AddLatencyOptions(), s_AppendPrimerSeqs(), CMacroFunction_ConvertLocStrand::s_ConvertLocationStrand(), s_ConvertMetaData(), s_EncodeMetadataName(), s_FixQualCapitalization(), s_GetFind(), s_GetNormalizedString(), s_GetRadioBoxLabelForItem(), CSequenceUpdater::s_GetValidExtension(), s_init_LookForMultipleIsolates(), s_init_NewTaxVal(), s_init_UseGeoLocNameForCountry(), s_NormalizeLinkageEvidenceString(), s_PostProcessID(), s_ResetLibInstallKey(), s_ToLower(), s_UnpackUserField(), NSnpGui::SelectClinSigTerm(), SeqDB_ReadMemoryMixList(), SeqDB_SimplifyAccession(), SeqDB_SimplifySeqid(), CConservationScoringMethod::SetConservedOption(), CHttpCookie::SetDomain(), CTabularFormatter::SetFormat(), CGlyphContainer::SetHighlights(), CELinkParser< T >::SetLinkName(), CGffBaseColumns::SetType(), CAnnotImportData::SetValue(), SeverityToLowerString(), CReadInSkipObjectHook< Object >::SkipObject(), sParseGeneOntologyTerm(), StringToEAlignFormat(), SuspiciousId(), CMacroFunction_Autodef::TheFunction(), CMacroFunction_AutodefComplete::TheFunction(), CPaintSequence::TranslateCDS(), CPaintSequence::UpdateData(), CAnnotImportData::ValueOf(), CProjBulderApp::VerifyArguments(), CCountries::WholeCountryFix(), CFeatureItem::x_AddFTableAnticodon(), CSeqIdGuesser::x_AddIdString(), CFeatureTableReader_Imp::x_AddQualifierToFeature(), CFeatureItem::x_AddQualsVariation(), CNewCleanup_imp::x_AddReplaceQual(), CReferenceItem::x_CapitalizeTitleIfNecessary(), CGb_qual::x_CleanupRptAndReplaceSeq(), CNetStorageHandler::x_ConvertMetadataArgument(), CNSClientId::x_ConvertToClaimedType(), CGBDataLoader_Native::x_CreateDriver(), CNetStorageHandler::x_CreateUser(), CDisplaySeqalign::x_DisplayMpvAnchor(), CString_constraint::x_DoesSingleStringMatchConstraint(), COrfSearchJob::x_DoSearch(), CVcfFeatureJob::x_Execute(), CFast5colReader::x_FindAnnots(), CTableImportDataSource::x_FindHeaderRows(), CMatchesListCtrl::CUVHitCmp::x_FindStrongestMatchType(), CGapStatsApplication::x_GapNameToGapXMLNodeName(), CSubtreeBoundary::x_GetColorParameter(), CSubtreeBoundary::x_GetParameter(), CPhyloNodeData::x_GetParameter(), CTableAnnotDataSource::x_GetStrand(), CConvert2BlastMaskApplication::x_GetWriter(), CFeatureItem::x_ImportQuals(), CFast5colReader::x_IndexFile(), CDll::x_Init(), CUrl::x_IsHostPort(), CFeaturePanel::x_LoadSettings(), CGeneModelTrack::x_NeedHighlight(), CSegmentMapTrack::x_NeedHighlight(), CFeatureTrack::x_NeedHighlight(), CDisplaySeqalign::x_PrepareRowData(), CNetStorageHandler::x_ProcessGetAttr(), CNetStorageHandler::x_ProcessGetUserObjects(), CNetStorageHandler::x_ProcessSetAttr(), CProtValidator::x_ReportUninformativeNames(), CTraversalNode::x_TemplatizeType(), x_TitleFromChromosome(), CRemoveGeneXrefTreeItemData::x_TranslateType(), CCassConnectionFactory::x_ValidateArgs(), CVcfWriter::x_WriteFeatureInfo(), CFastaOstream::x_WriteSequence(), CGvfWriter::xAssignFeatureAttributes(), CGff3Writer::xAssignFeatureAttributesQualifiers(), CVcfReader::xAssignVariationIds(), CQualCleanup::xCleanToLower(), CSrcWriter::xCompressFieldName(), C5ColImportData::xFeatureSetType(), CAlnScannerNexus::xGetArgPos(), CAlnScanner::xGetExistingSeqIdInfo(), CAutoSqlCustomField::xHandleSpecialCaseRgb(), CAlnScannerNexus::xImportAlignmentData(), CAlnScannerPhylip::xImportAlignmentData(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), CGtfLineReader::xInitializeType(), CGff2Reader::xIsFastaMarker(), CGff2Reader::xIsSequenceRegion(), CBedAutoSql::xParseAutoSqlColumnDef(), CAlnScannerNexus::xProcessCommand(), CAlnScannerNexus::xProcessDataBlockCommand(), CGff3AnnotAssembler::xProcessFeatureDefault(), CAlnScannerNexus::xProcessNCBIBlockCommand(), CAlnScannerNexus::xProcessTaxaBlockCommand(), CAlnFormatGuesser::xSampleIsClustal(), CAlnFormatGuesser::xSampleIsNexus(), and CAlnScannerNexus::xUnexpectedEndBlock().
|
static |
Convert string to upper case – char* version.
str | String to be converted. |
Definition at line 414 of file ncbistr.cpp.
Privatized ToUpper() with const char* parameter to prevent passing of constant strings.
Convert string to upper case – string& version.
str | String to be converted. |
Definition at line 424 of file ncbistr.cpp.
References NON_CONST_ITERATE, str(), and toupper().
Referenced by CBoyerMooreMatcher::AddDelimiters(), CSeqSearch::AddNucleotidePattern(), SAccGuide::AddRule(), CTextFsm< MatchType >::AddWord(), BlastFindMatrixPath(), CBlastFormatUtil::BlastGetVersion(), BOOST_AUTO_TEST_CASE(), CAlignFormatUtil::BuildFormatQueryString(), CapitalizeAfterApostrophe(), python::CConnection::CConnection(), CGencollService::CGencollService(), CSubSource::CheckCellLine(), CSeq_id::ComposeOSLT(), CwxExportVectorImageDlg::Create(), CwxExportAlnmultiImgDlg::Create(), CSubstMatrix::CSubstMatrix(), DateToString(), CPkgManager::DependsOn(), CFlatFileMessage::Dump(), CSrzPath::FindAccPath(), CSNPDb_Impl::FindSeq(), CFlatFileViewContext::FindSequence(), CTextItemPanel::FindText(), FixAffiliationShortWordsInElement(), FixCapitalizationInString(), g_FormatValStats(), CPkgManager::GetBasePkgs(), GetCanadaStateAbbreviation(), CPkgManager::GetDependentPkgs(), CValidErrorFormat::GetDescriptorContent(), CWGSDataLoader_Impl::GetFileInfoByAcc(), CWGSDataLoader_Impl::GetFileInfoByGeneral(), GetFirstInitial(), CWriteUtil::GetIdType(), GetLabel(), CSeq_id::GetLabel(), CCit_book::GetLabelV2(), CCit_sub::GetLabelV2(), CAutoDef::GetOneDefLine(), CWGSDb_Impl::GetProtAccRowId(), CCommentItem::GetRefTrackStatus(), CAlnReader::GetSeqAlign(), CVDBGraphDb_Impl::GetSeqInfo(), CMolinfo_field::GetSequenceQualFromBioseq(), GetStateAbbreviation(), CCommentItem::GetStringForTPA(), CVcfGlyph::GetTooltip(), CSeq_id::IdentifyAccession(), InitSpellChecker(), IsAllCaps(), CPDB_seq_id::IsChainConflict(), CPkgManager::LoadPackages(), CWGSDb_Impl::Lookup(), CMSHits::MakePepString(), CDiscrepancyPanel::OnFindNext(), CDiscrepancyPanel::OnFindPrev(), CDiscrepancyPanel::OnFindText(), CwxExportVectorImageDlg::OnTimer(), CVcfVariant::ParseInfoColumns(), CFeatTableEdit::ProcessCodonRecognized(), CPhrap_Seq::ReadData(), CNcbiEnvRegMapper::RegToEnv(), CWGSClient::ResolveGeneral(), CWGSClient::ResolveWGSAcc(), CCleanup::s_CleanupGenomeAssembly(), s_CreateThirdPartyLibsInstallMakefile(), CMacroFunction_FixPubCaps::s_FixCapitalizationInAuthor(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Sub(), s_FormatCitBook(), s_FormatCitBookArt(), s_GetConfigString(), s_GetDescription(), s_HeaderToHttp(), variation::CHgvsParser::s_hgvsaa2ncbieaa(), s_IsAllowedHeaderList(), s_MakeUniquenessVal(), s_PreProcessAccessionsForDBv5(), s_ProcessCellLineLine(), s_RunBlast2NWSeq(), s_SetReplaces(), s_SetTrnaProduct(), s_SettRNAProduct(), s_TokenizeTRnaString(), sAbbreviate(), CPkgManager::ScanPackages(), CConnTest::ServiceOkay(), CSeq_id::Set(), CPkgManager::SetAppPkg(), CBlastDBExtractor::SetSeqId(), CEditingActionFeatCodonsRecognized::SetValue(), CGBQualDirectionPanel::SetValue(), CBoyerMooreMatcher::SetWordDelimiters(), CWGSDb_Impl::SProtAccInfo::SProtAccInfo(), CConnTest::StatefulOkay(), CDiscrepancyVisitorImpl< _Name >::Summarize(), CGAssemblyPanel::TransferDataFromWindow(), CCodonsStringListValidator::TransferFromWindow(), CAutoLowerCase::uppercase(), CTable2AsnValidator::ValReportErrorStats(), CNCMessageHandler::x_AssignCmdParams(), CBlastUsageReport::x_CheckRunEnv(), CHgvsNaIrepReader::x_CreateIUPACna(), CCreateNeedlemanWunschJob::x_CreateProjectItems(), COrfSearchJob::x_DoSearch(), CIgBlast::x_FindDJAln(), CEnvironmentRegistry::x_Get(), CWGSResolver_VDB::x_GetAccPrefixes(), CPkgManager::x_GetBasePkgs(), CNSAffinityRegistry::x_GetDumpFileName(), CNSGroupsRegistry::x_GetDumpFileName(), CTraversalCodeGenerator::x_GetIncludeGuard(), CQueue::x_GetJobsDumpFileName(), x_GetLabel_Content(), CCit_art::x_GetLabelV2(), SDiagMessage::x_GetModule(), CTableColumnTypeGuesser::x_GuessType(), CBoyerMooreMatcher::x_InitPattern(), CWriteDB_LMDB::x_InsertEntry(), CPkgManager::x_LoadPackage(), CSeedTop::x_ParsePattern(), CPSGS_AsyncResolveBase::x_PrepareSecondaryAsIsSi2csiQuery(), CBlastFormat::x_PrintAirrRearrangement(), CBlastFormat::x_PrintIgTabularReport(), CBlastFormat::x_PrintTabularReport(), CGenBankLoadOptionPanel::x_ProccessText(), CIgBlast::x_ProcessDGeneResult(), CPssmEngine::x_PSIMatrix2Asn1(), variation_ref::CHgvsParser::x_raw_seq(), variation::CHgvsParser::x_raw_seq(), CAppNWA::x_ReadFastaFile(), CPSGS_ResolveBase::x_ResolveAsIsInCache(), CTreeQueryExec::x_ResolveFunctionName(), CPSGS_ResolveBase::x_ResolveViaComposeOSLTInCache(), CEnvironmentRegistry::x_Set(), CEnvironmentRegistry::x_Unset(), and CPkgManager::x_ValidatePackage().
|
static |
Definition at line 5554 of file ncbistr.hpp.
References kEmptyStr, and result.
Referenced by NStr::x_Join().
|
static |
Trim prefix from a string.
"Unsafe" counterpart to TrimPrefixInPlace().
str | String to trim from. |
prefix | Prefix to remove. If string doesn't have specified prefix, it doesn't changes. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while checking for a prefix. |
Definition at line 3257 of file ncbistr.cpp.
|
static |
Definition at line 3245 of file ncbistr.cpp.
|
static |
Trim prefix from a string (in-place)
str | String to trim from. |
prefix | Prefix to remove. If string doesn't have specified prefix, it doesn't changes. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while checking for a prefix. |
Definition at line 3233 of file ncbistr.cpp.
Referenced by AddMiscRNAFeatures(), CCitSubCleaner::Clean(), CreateActionSeqid(), CSubSource::FixLatLonFormat(), CAliasTypeStrings::GenerateCode(), CBulkLocationPanel::GetLocForBioseq(), CFarPointerSeq::GetMessageForId(), CCDSTranslationPanel::GetProductId(), CEditingActionFileId::GetValue(), CEditObjectSeq_desc::LocationChange(), CExplodeRNAFeats::RNAWordsFromString(), s_GetSpecimenVoucherText(), s_IsState(), fix_pub::s_TrimPrefixThe(), NSnpGui::SelectClinSigTerm(), CFeatureItem::x_AddRecombinationClassQual(), CFeatureItem::x_AddRegulatoryClassQual(), CGuiObjectInfoClone::x_FormatAccessionLinks(), and CCgiApplication::x_ProcessAdminRequest().
|
static |
Trim suffix from a string.
"Unsafe" counterpart to TrimSuffixInPlace().
str | String to trim from. |
suffix | Suffix to remove. If string doesn't have specified suffix, it doesn't changes. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while checking for a suffix. |
Definition at line 3293 of file ncbistr.cpp.
Referenced by CAliasTypeStrings::GenerateCode().
|
static |
Definition at line 3281 of file ncbistr.cpp.
|
static |
Trim suffix from a string (in-place)
str | String to trim from. |
suffix | Suffix to remove. If string doesn't have specified suffix, it doesn't changes. |
use_case | Whether to do a case sensitive compare (default is eCase), or a case-insensitive compare (eNocase) while checking for a suffix. |
Definition at line 3269 of file ncbistr.cpp.
Referenced by CSNPDb_Impl::CSNPDb_Impl(), CSubSource::FixLatLonFormat(), GetCitSubmit(), CBulkLocationPanel::GetLocForBioseq(), GetSequenceOfKeywords(), CEditObjectSeq_desc::LocationChange(), CSubSource::MakeLatLon(), s_IsState(), CArgDescriptions::SetUsageContext(), CAutoSqlCustomField::SetUserField(), NSearchFeatPanel::SplitPosOrRange(), CCgiApplication::x_ProcessAdminRequest(), and CKeywordParser::xFinalize().
|
inlinestatic |
Definition at line 2288 of file ncbistr.hpp.
References str(), and NStr::TruncateSpaces_Unsafe().
|
inlinestatic |
Truncate whitespace in the string.
str | Source string, in UTF8 encoding |
side | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends. |
Definition at line 5762 of file ncbistr.hpp.
References eEncoding_UTF8, CUtf8::eNoValidate, str(), CUtf8::TruncateSpaces_Unsafe(), and CUtf8::x_Append().
|
inlinestatic |
Definition at line 2279 of file ncbistr.hpp.
References str(), and NStr::TruncateSpaces_Unsafe().
|
static |
Truncate whitespace in a string.
str | String to truncate white-spaces from. |
where | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends (eTrunc_Both). |
Definition at line 3177 of file ncbistr.cpp.
References str().
Referenced by CSimpleMakeFileContents::SParser::AcceptLine(), CCgiResponse::AcceptRangesBytes(), CCommandArgDescriptions::AddCommand(), CKeywordParser::AddDataLine(), CRefArgs::AddDefinitions(), CSeq_feat::AddExceptText(), CSeqSearch::AddNucleotidePattern(), CNcbiResourceInfoFile::AddResourceInfo(), SrcEditDialog::ApplySrcTableToSeqEntry(), variation::CHgvsParser::AsVariation(), BOOST_AUTO_TEST_CASE(), CAlignFormatUtil::BuildFormatQueryString(), CAlignSort::CAlignSort(), CAlignStrandSorter::CAlignStrandSorter(), CBioTreeFormatLabel::CBioTreeFormatLabel(), CCloneConcordancySorter::CCloneConcordancySorter(), CDbvarClinicalAsstSorter::CDbvarClinicalAsstSorter(), CDbvarPilotSorter::CDbvarPilotSorter(), CDbvarQualitySorter::CDbvarQualitySorter(), CDbvarSamplesetTypeSorter::CDbvarSamplesetTypeSorter(), CDbvarValidationSorter::CDbvarValidationSorter(), CGRCStatusSorter::CGRCStatusSorter(), CNcbiResourceInfoFile::CNcbiResourceInfoFile(), CDirEntry::ConcatPath(), CDbapiSampleApp::CreateConnection(), CTrackConfigManager::CreateTrackConfig(), CSubSource::DateFromCollectionDate(), IRegistry::EnumerateEntries(), IRegistry::EnumerateInSectionComments(), CAgpConverter::ErrorStringToEnum(), CBlastDatabaseArgs::ExtractAlgorithmOptions(), CGBSeqFormatter::FormatGenomeProject(), CRegistryFile::FromConfigFile(), CRgbaColor::FromString(), CGlBitmapFont::FromString(), g_GenericStatToJson(), CDataTool::GenerateCode(), CCodeGenerator::GenerateCvsignore(), IRegistry::Get(), CTrackUtils::GetAllDataKeys(), CAlignFormatUtil::GetAsciiProteinMatrix(), CGenomicCollectionsService::GetAssembly(), CAssemblyListPanel::GetAssmNameAndDesc(), CAlignFormatUtil::GetBlastDbInfo(), IRegistry::GetComment(), CBlastServices::GetDatabaseInfo(), CBlastServices::GetDatabaseInfoLegacy(), IRegistry::GetEncryptedString(), COrgName::GetFlatName(), CCit_gen::GetLabelV2(), CReplacementActionSimple::GetReplace(), CReplacementActionHaem::GetReplace(), CFeedbackWizard::GetReport(), CMacroStrConstraintPanel::GetSearchFunc(), CPaintSequence::GetSeq(), CMacroStringConstraintPanel::GetStringConstraint(), COrgMod::GetSubtypeValue(), CSubSource::GetSubtypeValue(), IRegistry::HasEntry(), CAlignFormatUtil::HspListToHitMap(), CExpansionRule::Init(), CViewGraphic::InitView(), CRepeatMaskerReader::IsIgnoredLine(), CFormatGuess::IsInputRepeatMaskerWithoutHeader(), CFormatGuess::IsSampleNewick(), COrgMod::IsValidSubtypeName(), CSubSource::IsValidSubtypeName(), XPrintTotalsItem::line(), CColorTableMethod::Load(), CColumnScoringMethod::Load(), CMatrixScoringMethod::Load(), CNSStartIDs::Load(), CTempTrackProxy::LoadFromRegistry(), CProjBulderApp::LoadProjectTags(), CAddSuspectProductRule::OnAccept(), CMacroWordSubstitutionDlg::OnAdd(), CWordSubstitutionDlg::OnAdd(), WizardPage2::OnProblemPageChanging(), CQueryParsePanel::OnSearchctrlTextEnter(), CGridWidget::OnSearchIncludeCellValue(), CAssemblySelPanel::OnSelectAssemBtnClick(), CApplyMods::operator()(), CAgpConverter::OutputFlagStringToEnum(), CHttpCookie::Parse(), CCgiRequestProcessor::ParseAcceptHeader(), CMaskFromFasta::ParseDataLine(), CFormattingArgs::ParseFormattingString(), ParseJourLine(), CSeqUtils::ParseRanges(), CRepeatMaskerReader::ParseRecord(), STrackSettings::ParseSettings(), CWordPairIndexer::PopulateWordPairIndex(), PortalBookURLToCCddBookRef(), PrintErrorArchive(), CDiagContext::PrintStart(), CCgiRequestProcessor::ProcessHelpRequest(), SWorkerNodeJobContextImpl::PutProgressMessage(), CRepeatLibrary::Read(), CDistanceMatrix::Read(), CBDB_SplitTest::ReadTestSet(), CTableImportDataSource::RecomputeHeaders(), CCgi2RCgiApp::RenderPage(), CIgBlastnApp::Run(), CSplignApp::Run(), CNcbiApplogApp::Run(), CAsn2FastaApp::Run(), CAsn2FlatApp::Run(), SGridWorkerNodeImpl::Run(), CPrimeCacheApplication::Run(), CGi2TaxIdApp::Run(), s_CleanCDDFeature(), s_FixListIfBadWrap(), s_FormatCitBookArt(), s_GetMakefileIncludes(), s_LoadTempTrackRecursive(), s_OrphanFixup(), s_ParseErrCodeInfoStr(), s_ReadAAIndex(), s_ReadConfig(), s_SetAirrAlignmentInfo(), s_SplitKV(), s_TitleFromBioSource(), s_TitleFromSegment(), s_ValidateCustomDelim(), CPkgManager::ScanPackages(), CMultiReaderApp::sCreateSimpleMessage(), SeqDB_ReadMemorySiList(), IRWRegistry::Set(), IRWRegistry::SetComment(), CTaxIdSet::SetMappingFromFile(), CSeqGraphicPane::SetMarkers(), CSGAlignmentJob::SetSortBy(), CSGFeatureJob::SetSortBy(), sGetModInfo(), sRunTest(), CSeqUtils::StringToRange(), AlnUtil::StripBlanks(), sUpdateCase(), CFormatGuess::TestFormatBed(), CFormatGuess::TestFormatBed15(), CAddQuickLaunchDlg::TransferDataFromWindow(), CSequencingTechnologyPanel::TransferDataToWindow(), transform_range(), IRWRegistry::Unset(), CAlignFormatUtil::x_AcknowledgeBlastSequence(), CFeatureItem::x_AddQualExceptions(), CNCMessageHandler::x_AssignCmdParams(), CNetStorageHandler::x_ConvertMetadataArgument(), CSplitDblinkQuals::x_ConvertStrToStrs(), CDisplaySeqalign::x_DisplayMpvAnchor(), CCompartApp::x_DoWithExternalHits(), CDBSourceItem::x_ExtractLinkableSource(), CShowBlastDefline::x_FormatDeflineTableLine(), CBlastDBAliasApp::x_GetDbsToAggregate(), CTableAnnotDataSource::x_GetMetaInfoTag(), CShowBlastDefline::x_InitFormattingInfo(), CCgiUserAgent::x_Parse(), CSplitQueryTestFixture::x_ParseConfigLine(), CFeatureTableReader_Imp::x_ParseFeatureTableLine(), CMacroParser::x_ParseMetaData(), CDisplaySeqalign::x_PrepareRowData(), CNetStorageHandler::x_ProcessGetClientObjects(), CNetStorageHandler::x_ProcessGetUserObjects(), CNetStorageHandler::x_ProcessHello(), CMakeBlastDBApp::x_ProcessMaskData(), IRWRegistry::x_Read(), SErrorEmulatorParameter::x_ReadCommon(), CAppHitFilter::x_ReadInputHits(), CPhrapReader::x_ReadWA(), CDataLoadersUtil::x_SetupASNCacheDataLoader(), CDataLoadersUtil::x_SetupBlastDataLoader(), CDataLoadersUtil::x_SetupLDS2DataLoader(), CPhrapReader::x_SkipTag(), CGenbankFormatter::x_SmartWrapQuals(), CSeqTextPanel::x_StartSearch(), CSearch_func::x_StringMayContainPlural(), CAssemblyListPanel::x_UpdateListPanel(), CTableAnnotDataSource::x_UpdateMetaInfoTag(), CSingleFeatValidator::x_ValidateExceptText(), CPkgManager::x_ValidatePackage(), CAlnReader::x_VerifyAlignmentInfo(), CSrcWriter::xCompressFieldName(), CKeywordParser::xFinalize(), CAlnScannerNexus::xImportAlignmentData(), CUCSCRegionReader::xParseFeatureUCSCFormat(), CQualParser::xParseQualifierCont(), CQualParser::xParseQualifierStart(), CAlnScannerNexus::xProcessCommand(), CBedAutoSql::xProcessLine(), C5ColLineReader::xSplitLine(), and CAlnScannerNexus::xUnexpectedEndBlock().
|
static |
Truncate whitespace in the string.
str | Source string, in UTF8 encoding |
side | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends. |
Definition at line 7210 of file ncbistr.cpp.
Referenced by CUtf8::TruncateSpaces().
|
static |
Truncate whitespace in a string.
It can be faster but it is also more dangerous than TruncateSpaces()
str | String to truncate whitespace from. |
where | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends (eTrunc_Both). |
Definition at line 3182 of file ncbistr.cpp.
References kEmptyStr, s_TruncateSpaces(), and str().
Referenced by CSourceModParser::AddMods(), CGenbankFormatterWrapDest::Append(), CTitleParser::Apply(), CDirEntry::ConcatPathEx(), ICitationBase::FixPages(), g_GenericStatToJson(), g_LegacyStatToJson(), CAlignFormatUtil::GetBlastDbInfo(), CBlastNodeInputReader::GetQueryBatch(), CSeq_feat::GetTempExceptionTextSet(), CSeq_feat::HasExceptionText(), CCleanup::ParseCodeBreak(), CFastaReader::ParseGapLine(), CSeq_id::ParseIDs(), CSourceModParser::ParseTitle(), CPsgPerfApplication::ProcessLine(), CBlastInputReader::ReadOneSeq(), CFastaReader::ReadOneSeq(), CUCSCRegionReader::ReadSeqAnnot(), CSeq_feat::RemoveExceptText(), CMemorySrcFileMap::ReportUnusedIds(), fix_pub::s_ConsortiaMatch(), s_IdLabel(), s_SetDBLinkField(), CTextseq_id::Set(), CSeq_id::Set(), CPDB_seq_id::SetChainIdentifiers(), CRequestContext::SetClientIP(), sGetMods(), SkipCommentAndBlank(), CNetScheduleAdmin::StatusSnapshot(), NStr::TruncateSpaces(), CSourceModParser::x_ApplyMods(), CRegexpTemplateTester::x_Compare(), x_GetNextAttribute(), CMemorySrcFileMap::x_ProcessLine(), CMemorySrcFileMap::x_RegisterLine(), CDescrModApply::x_SetGBblockIds(), CModAdder::x_SetHist(), CGenbankFormatter::x_SmartWrapQuals(), CReaderBase::xGetLine(), CReaderBase::xIsTrackTerminator(), CGff2Record::xNormalizedAttributeKey(), CGff2Record::xNormalizedAttributeValue(), and CBedLineReader::xProcessTrackLine().
|
static |
Truncate whitespace in the string (in-place)
src | UTF8 string |
side | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends. |
Definition at line 7197 of file ncbistr.cpp.
|
static |
Definition at line 3187 of file ncbistr.cpp.
References s_TruncateSpaces(), and str().
|
static |
Truncate whitespace in a string (in-place)
str | String to truncate whitespace from. |
where | Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends (eTrunc_Both). |
Definition at line 3192 of file ncbistr.cpp.
References s_TruncateSpaces(), and str().
Referenced by CCgiCookies::Add(), CQueueClientInfoList::AddClientInfo(), AddFeatureToSeqTable(), CCleanup::AddPartialToProteinTitle(), CQueryParsePanel::AddQueryText(), AdjustSpecificHostForTaxServer(), CLoadSecondaryAccessions::apply(), BOOST_AUTO_TEST_CASE(), CAutoDefGeneClusterClause::CAutoDefGeneClusterClause(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CAutoDefParsedIntergenicSpacerClause::CAutoDefParsedIntergenicSpacerClause(), CCddBookRefToBvString(), CCountryExtreme::CCountryExtreme(), CDB_ODBC_ConnParams::CDB_ODBC_ConnParams(), CDBInterfacesFileConnParams::CDBInterfacesFileConnParams(), CkQualPosSeqaa(), CCitGenCleaner::Clean(), CCleanup::CleanupAuthor(), CSrcTaxnameAfterBinomialColumn::ClearInBioSource(), CFeatureSearchForm::ConstructQuery(), ConvertToEntrezTerm(), CTableImportDataSource::ConvertToSeqAnnot(), CCountries::CountryFixupItem(), CSrcTableColumnBaseFactory::Create(), CFieldHandlerFactory::Create(), CWriteDB_ConsolidateAliasFiles(), CNewCleanup_imp::DbtagBC(), CNcbiEncryptApp::Decrypt(), SAppProjectT::DoCreate(), CNewCleanup_imp::Except_textBC(), CReportNode::Export(), CTrackUtils::ExtractTrackConfig(), FindInstCodeAndSpecID(), CFlatFileViewContext::FindSequence(), CSubSource::FixDateFormat(), COrgMod::FixStrain(), FixupMouseStrain(), FixUSAAbbreviationInAffil(), CDiscrepancySet::Format(), CFlatOrgModQVal::Format(), CFlatSubSourceQVal::Format(), CReferenceItem::FormatAffil(), g_LoadLinkageEvidence(), get_auth_from_toks(), CValidError_feat::GetAccessionsFromInferenceString(), CProjectsLstFileFilter::GetAllowedTagsInfo(), GetBlkDataReplaceNewLine(), CDataType::GetBoolVar(), GetCanadaStateAbbreviation(), CAddDefLineDlg::GetCommand(), CRemoveTextInsideStrDlg::GetCommand(), CUpdateTLSNameDlg::GetCommand(), CDDTypedAnnotDialog::GetData(), CSubSource::GetDateFromISODate(), CGetDOIFromCitGen::GetDOI(), CGetDOIFromCitArt::GetDOI(), GetEmblOrgRef(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), IWMClient::CFingerprint::GetId(), GetIDsFromFile(), CPhyloTreeLabel::GetLabel(), SrcEditDialog::GetLabelForTitle(), CCit_gen::GetLabelV2(), CUrlUtils::GetLastModified(), C5ColLineReader::GetNextRecord(), XSDParser::GetNextToken(), CValidError_feat::GetPrefixAndAccessionFromInferenceAccession(), CInferencePrefixList::GetPrefixAndRemainder(), CUrlUtils::GetRemoteFileSize(), NMItemData::GetRNASpecificFields(), GetRptTypeValue(), CParseTextOptions::GetSelectedText(), GetSequenceOfKeywords(), GetSpanFromHyphenInString(), GetStateAbbreviation(), GetTargetedLocusName(), CMultipleAssemblyProgramPanel::GetValue(), CSingleAssemblyProgramPanel::GetValue(), CEditingActionDescAuthorNameList::GetValue(), CTableColumnTypeGuesser::GuessColumn(), CProjBulderApp::Gui_ConfirmConfiguration(), CProjBulderApp::Gui_ConfirmProjects(), HasCultureCollectionForATCCStrain(), HasStrainForATCCCultureCollection(), CUrlUtils::IfModifiedSince(), CAuthorNamesContainer::ImportAuthorsFromFile(), SNetServiceImpl::Init(), CProjectsLstFileFilter::InitFromFile(), CIdMapperConfig::Initialize(), CNetScheduleServer::InitNodeID(), CAutoDefIntergenicSpacerClause::InitWithString(), CFormatGuess::IsInputRepeatMaskerWithHeader(), CAttribTableColumnIdPanel::IsInputValid(), CSubSource::IsISOFormatDate(), CFormatGuess::IsLineAgp(), CCDSTranslationPanel::IsValidException(), CAutoDefExonListClause::Label(), XPrintTotalsItem::line(), CLoadStructComments::LoadSingle(), CStdAnnotTypes::LoadTypes(), CCountries::LoadUSAExceptionMap(), CBlastFormat::LogBlastSearchInfo(), PssmMaker::modifyQuery(), CCountries::NewFixCountry(), NSTValidateProlongValue(), CSeqGraphicWidget::OnAddTrack(), CRestoreRNAediting::OnApply(), CSeqTableGridPanel::OnCellDoubleLeftClick(), CSeqTableGridPanel::OnCellDoubleLeftClick2(), CSeqGraphicWidget::OnCloneTrack(), CPublicationTypePanel::OnDoiLookup(), CJournalPanel::OnJournalPmidTextUpdated(), CUpdateMultiSeq_Dlg::OnLoadMapClick(), CAttribTableColumnIdPanel::OnMatchColumnClick(), CMacroParamsPanel::OnPropertyChanged(), CGenBankLoadOptionPanel::OnRecentAccClicked(), CSeqGraphicWidget::OnRenameTrack(), CSelectTargetDlg::OnSelTargetAcceptClick(), CApplyMods::operator()(), CNewCleanup_imp::OrgnameBC(), CCgiRequestProcessor::ParseAcceptHeader(), XSDParser::ParseEnumeration(), CGb_qual::ParseExperiment(), CFastaReader::ParseGapLine(), CHttpRetryContext::ParseHeader(), CGb_qual::ParseInferenceString(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CTrackData::ParseLine(), CVCFVariantList::ParseLine(), CDBUriConnParams::ParseParamPairs(), ParseQualifiers(), ParseSPFeat(), CAutoDefParsedtRNAClause::ParseString(), CValidError_imp::PostBadDateError(), CConnTest::PostCheck(), CConnTest::PreCheck(), CPsgPerfApplication::ProcessLine(), PromoteIfDifferent(), CGridCgiContext::PullUpPersistentEntry(), CRepeatLibrary::Read(), CObjectIStreamXml::ReadBool(), CObjectIStreamXml::ReadEnum(), CCgi2RCgiApp::ReadJob(), CHgvsReader::ReadSeqAnnot(), RemoveFieldNameFromString(), CParseTextOptions::RemoveSelectedText(), RemoveStrain(), CCgi2RCgiApp::RenderPage(), ReplaceNoCase(), COrgMod::RescueInstFromParentheses(), CExplodeRNAFeats::RNAWordsFromString(), CTbl2AsnApp::Run(), CPubmedFetchApplication::Run(), CPrimeCacheApplication::Run(), CAsnSubCacheCreateApplication::Run(), s_AddPubmedLinksRow(), s_AreGBQualsIdentical(), CCleanup::s_CleanupNameStdBC(), s_DoUSAStateCleanup(), CMacroFunction_EditStringQual::s_EditText(), s_FindTrnaAA(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Affil(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_City(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Country(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Div(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Street(), CMacroFunction_FixPubCaps::s_FixCapsInPubAffil_Sub(), IAuthorEditor::s_FixInitialsNew(), s_FixListIfBadWrap(), CMacroFunction_FixProteinFormat::s_FixProteinNameFormat(), s_FixStrainForPrefix(), s_FormatCitGen(), s_GBSeqStringCleanup(), s_GetGOText(), s_GetMandatoryFields(), s_GetNormalizedString(), s_GetSpecimenVoucherText(), s_IdLabel(), s_IsState(), CMacroFunction_AuthorFix::s_MoveMiddleToFirst(), s_NormalizeLinkageEvidenceString(), s_ParseHttpHeader(), s_ParsePCRColonString(), s_ParsePCRComponent(), s_ParseTRnaFromAnticodonString(), s_ProcessInstitutionCollectionCodeLine(), s_ProcessOrgRefMapLine(), s_SetReplaces(), s_SetTrnaProduct(), s_SetVectorValue(), s_split(), s_SplitAtSingleTildes(), s_SplitMLAuthorName(), s_TestVCFData(), fix_pub::s_TrimPrefixThe(), CFieldChoicePanel::SetFieldName(), CRNAFieldNamePanel::SetFieldName(), CDualRNAFieldNamePanel::SetFieldName(), CDualRNAFieldNamePanel::SetFieldName2(), CGlyphContainer::SetHighlights(), CAutoDefParsedClause::SetMiscRNAWord(), CRNAFieldNamePanel::SetRnaType(), CDualRNAFieldNamePanel::SetRnaType(), CSelectionVisitor::SetSelectedObjectSig(), CSubPrep_panel::SetSubmissionNotReady(), IMacroBioDataIter::STableToApply::SetTableToApply(), CMultipleAssemblyProgramPanel::SetValue(), CSingleAssemblyProgramPanel::SetValue(), CEditingActionFeatCodonsRecognized::SetValue(), sGetTestParameters(), sParseGeneOntologyTerm(), SpecificHostValueToCheck(), SPFeatProtRef(), CAlnScannerFastaGap::sSplitFastaDef(), CAlnScannerNexus::sStripCommentsOutsideCommand(), sStripNexusComments(), CMacroLib::StoreSynonymList(), CBioTreeAttrReader::TableValueDecode(), CFormatGuess::TestFormatJson(), CFormatGuess::TestFormatXml(), CMacroFunction_SetPubDateField::TheFunction(), CLocationListCtrl::TransferDataFromWindow(), CCodonsStringListValidator::TransferFromWindow(), CGBQualStringListValidator::TransferFromWindow(), CPmidValidator::TransferFromWindow(), CSerialTextValidator::TransferFromWindow(), CSerialAsciiTextValidator::TransferFromWindow(), CSerialTitleValidator::TransferFromWindow(), CSerialStringListValidator::TransferFromWindow(), CUserFieldStringListValidator::TransferFromWindow(), CClickableSortUniqueCount::UpdateTree(), CValidError_imp::Validate(), CPmidValidator::Validate(), CSerialStringListValidator::Validate(), CValidError_imp::ValidateAuthorList(), CValidError_feat::ValidateInference(), CSubSource::ValidateLatLonCountry(), CValidError_imp::ValidateOrgRef(), CValidError_desc::ValidateTitle(), VDBLogWriter(), CLinkUtils::x_AddDbxrefFeatureLinks(), CConvertGeneToRNA::x_AddGeneFieldsToComment(), CAutoDefModifierCombo::x_AddMinicircle(), CAlnReader::x_AddMods(), CAutoDefFeatureClause_Base::x_AddOneMiscWordElement(), CAutoDefFeatureClause_Base::x_AddOnetRNAIntergenicSpacerElement(), CFeatureItem::x_AddRecombinationClassQual(), CFeatureItem::x_AddRegulatoryClassQual(), CFeatureItem::x_AddRptTypeQual(), CFeatureItem::x_AddRptUnitQual(), CSatelliteColumn::x_AddSatelliteType(), CFeatureGenerator::SImplementation::x_AddSelectMarkup(), CStrainSerotypeInfluenza::x_AddToInfluenzaNames(), CSourceModParser::x_ApplyMods(), CFastaReader::x_ApplyMods(), CAppendModToOrg::x_ApplyToBioSource(), CFixCountryCap::x_ApplyToCAffil(), CFixAffilCap::x_ApplyToCAffil(), IMacroBioDataIter::STableToApply::x_CacheColFromTable(), CNewCleanup_imp::x_CanRemoveGenbankBlockSource(), CReferenceItem::x_CleanData(), CNewCleanup_imp::x_CleanupECNumber(), CAutoDefModifierCombo::x_CleanUpTaxName(), CFeatureGenerator::SImplementation::x_ConstructRnaName(), CTaxon1::x_ConvertOrgrefProps(), CSpecificHostMapForFix::x_DefaultSpecificHostAdjustments(), CTaxValidationAndCleanup::x_DefaultSpecificHostAdjustments(), CMacroFunction_EditStringQual::x_EditFields(), CNewCleanup_imp::x_ExtractSatelliteFromComment(), CBamRefSequencesPanel::x_FillList(), CVcfRefSequencesPanel::x_FillList(), CCountries::x_FindCountryName(), CAutoDefFeatureClause::x_FindNoncodingFeatureKeywordProduct(), CGraphicPanel::x_FindText(), CMacroFunction_FixPubCaps::x_FixCapsInPubAffilCountry(), CStrainSerotypeInfluenza::x_FixupOrganismNames(), CGenomeAssemblyComment::x_GetAssemblyMethodProgramAndVersion(), COrgName::x_GetAttribFlag(), COrgName::x_GetAttribValue(), CWigGraph::x_GetBigWigData(), CSubSource::x_GetDateTokens(), CTableReaderMacro::x_GetMatchFieldConstraint(), COrg_ref::x_GetTaxnameAfterFirstTwoWords(), CEditingActionBiosourceTaxnameAfterBinomial::x_GetTextAfterNomial(), CSrcTaxnameAfterBinomialColumn::x_GetTextAfterNomial(), CAttribTableColumnIdPanel::x_GuessQualifiers(), CTableColumnTypeGuesser::x_GuessType(), IMacroBioDataIter::STableToApply::x_InitAndCheck(), CSubSource::x_IsFixableIsoDate(), CStrainSerotypeInfluenza::x_IsParsableInfluenzaVirusName(), CNcbiEncrypt::x_LoadKeys(), CFeaturePanel::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CUpdateAlign::x_MapNonPresentIDs(), CDB_ODBC_ConnParams::x_MapPairToParam(), CAutoDefFeatureClause_Base::x_MeetAltSpliceRules(), CNewCleanup_imp::x_MendSatelliteQualifier(), CConfigureTracksDlg::x_OnSearch(), CFindITSParser::x_ParseLine(), CSeedTop::x_ParsePattern(), CColumnarVCFReaderApp::x_ParseRange(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), IRWRegistry::x_Read(), CPrimeCacheApplication::x_Read_Ids(), CNSTServiceRegistry::x_ReadServiceProperties(), CMemorySrcFileMap::x_RegisterLine(), CCountries::x_RemoveDelimitersFromEnds(), CSubSource::x_RemoveIsoTime(), COrgName::x_ResetAttribFlag(), CMacroFunction_RemoveOutside::x_RmvOutsideFields(), CNewCleanup_imp::x_RRNANameBC(), CFeatureGenerator::SImplementation::x_SetExceptText(), CBioSourcePanel::x_SetOrganismInfo(), CDeflineGenerator::x_SetTitleFromBioSrc(), CDeflineGenerator::x_SetTitleFromGPipe(), CDeflineGenerator::x_SetTitleFromMap(), CDeflineGenerator::x_SetTitleFromSegSeq(), CDeflineGenerator::x_SetTitleFromWGS(), CStrainSerotypeInfluenza::x_SplittingQualifiersAtCommas(), CStrainSerotypeInfluenza::x_SplittingStructCollections(), CFeatureTableReader_Imp::x_TokenizeLenient(), CFeatureTableReader_Imp::x_TokenizeStrict(), CStrainSerotypeInfluenza::x_TrimmingOrganismNames(), CFeatureTableReader_Imp::x_TrnaToAaString(), CNewCleanup_imp::x_TruncateSpacesMarkChanged(), CFeatureTableReader_Imp::x_TryToParseOffset(), CBLASTDatabases::x_UpdateDbMap(), CGenBankLoadOptionPanel::x_ValidateInput(), xgbparselex_ver(), CSrcChkApp::xGetDesiredFields(), CWiggleReader::xGetFixedStepInfo(), CAlnScannerClustal::xImportAlignmentData(), CAlnScannerFastaGap::xImportAlignmentData(), CAlnScannerMultAlign::xImportAlignmentData(), CAlnScannerNexus::xImportAlignmentData(), CAlnScannerPhylip::xImportAlignmentData(), CAlnScannerSequin::xImportAlignmentData(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), CAlnFormatGuesser::xInitSample(), CQualParser::xParseQualifierStart(), CQualParser::xParseQualifierTail(), CBedAutoSql::xProcessLine(), CBedReader::xReadBedRecordRaw(), CBedAutoSql::xReadLine(), CGff3LineReader::xSplitAttributeStringBySemicolons(), CGtfLineReader::xSplitAttributeStringBySemicolons(), CBedColumnData::xSplitColumns(), CGff2Record::xSplitGffAttributes(), and CSrcChkApp::xTryProcessIdFile().
|
static |
Convert UInt8 to string.
out_str | Output string variable |
value | Integer value (UInt8) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 2053 of file ncbistr.cpp.
|
inlinestatic |
Convert UInt8 to string.
value | Integer value (UInt8) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5162 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by CObjFingerprint::AddInteger(), CSAM_CIGAR_Formatter::AddRow(), CNCActiveHandler::CopyPurge(), CNCActiveHandler::CopyRemove(), CNCActiveHandler::CopyUpdate(), CVDBBlastUtil::CreateBioseqFromOid(), CVDBBlastUtil::CreateBioseqFromVDBSeqId(), CSQLITE_Connection::CreateVacuumStmt(), CAsnIndex::CurrentLocationAsString(), CRemoteAppLauncher::ExecRemoteApp(), CNetCacheKey::GenerateBlobKey(), CNcbiApplogApp::GenerateToken(), CBlastDbMetadata::GetDbLength(), CBlastDbMetadata::GetDiskUsage(), CNCDistributionConf::GetFullPeerName(), CConnTest::GetFWConnections(), GetIdStartStopStrandStr(), SNetCacheAPIImpl::GetPartReader(), SNetICacheClientImpl::GetReadStreamPart(), CBDB_FieldUint8::GetString(), CNCActiveHandler::Initialize(), CDebugDumpContext::Log(), CMonitoredProcessWatcher::MonitorRun(), CJobContextProcessWatcher::OnStart(), value_slice::CValueConvert< CP, Uint8 >::operator string(), CSrvStrStream::operator<<(), CDiagContext_Extra::Print(), CBlastFormatUtil::PrintDbInformation(), CNcbiApplogApp::PrintTokenInformation(), CNCActiveHandler::ProxyRead(), CNCActiveHandler::ProxyReadLast(), CChunkFile::RawRead(), CSeqIdChunkFile::RawRead(), CColumnarVCFReader::ReadData(), CColumnarVCFReader::ReadVariantsForChrs(), CNcbiApplogApp::Redirect(), CAsnElementPrimitive::RenderValue(), CDB_MultiEx::ReportErrorStack(), s_AddToLog(), s_ComposeNameExtra(), s_CreateDiagRequest(), s_DumpCompoundID(), s_HexDumpText(), s_InitConstants(), s_InitLogPrefix(), s_LockInstanceGuard(), s_ParseErrCodeInfoStr(), s_SizeOrMajorMinor(), s_ValToString(), CFileIO::SetFilePos(), CApplogUrl::SetProcessID(), CApplogUrl::SetRequestID(), CApplogUrl::SetThreadID(), CNCActiveHandler::SyncBlobsList(), CNCActiveHandler::SyncCancel(), CNCActiveHandler::SyncCommit(), CNCActiveHandler::SyncProlongOur(), CNCActiveHandler::SyncStart(), CLocMapper_Default::CGappedRange::ToString(), CBDB_FieldUint8::ToString(), Uint8ToString_DataSize(), CObjectOStreamJson::WriteUint8(), CNCMessageHandler::x_DoCmd_GetMeta(), CConn_FTPDownloadStream::x_InitDownload(), CConn_FTPUploadStream::x_InitUpload(), CColumnarVCFReaderApp::x_LoadSerializedData(), NStr::x_NumericToString(), CBlastDBCmdApp::x_PrintBlastDatabaseInformation(), CXmlValueItem::x_RenderXml(), CNCActiveHandler::x_SendCopyProlongCmd(), CNCActiveHandler::x_SendCopyPutCmd(), CNCActiveHandler::x_SendSyncGetCmd(), CUnorderedSplitter::x_SplitDeltaExt(), CUnorderedSplitter::x_SplitSeqData(), and CHugeAsnReader::x_ThrowDuplicateId().
|
static |
Convert UInt8 to string using "software" qualifiers.
See notes and details of how function works in the comments to UInt8ToString_DataSize() above.
out_str | Output string variable |
value | Integer value (UInt8) to be converted. |
flags | How to convert value to string. |
max_digits | Maximum number of digits to use (cannot be less than 3) |
Definition at line 2076 of file ncbistr.cpp.
|
inlinestatic |
Convert UInt8 to string using "software" qualifiers.
Result of conversion will be limited to max_digits digits so that e.g. 1024 will be converted to 1.02KB. Conversion will be made using rounding so that 1025 will be converted to 1.03KB. By default function uses 1000-based qualifiers (as in examples above) but with fDS_Binary flag it will use 1024-based qualifiers, e.g. 1100 will be converted to 1.07KiB. With fDS_ShortSuffix flag function will omit "B" in 1000-based and "iB" in 1024-based qualifiers. When the result of conversion doesn't need any qualifiers then the result of this function will be equivalent to result of UInt8ToString() above except if fDS_PutBSuffixToo flag is passed. In the latter case "B" will be added to the number.
Function will always try to use a maximum possible qualifier and a number with decimal point except if fDS_NoDecimalPoint flag is passed. In that case function will return only whole number and try to use a minimum possible qualifier (which makes difference only if max_digits > 3).
value | Integer value (UInt8) to be converted. |
flags | How to convert value to string. |
max_digits | Maximum number of digits to use (cannot be less than 3) |
Definition at line 5171 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by g_ToSizeStr(), CNCStat::PrintState(), SMMStat::PrintState(), CNCBlobStorage::WriteBlobStat(), CNCBlobStorage::WriteEnvInfo(), CNCServer::WriteEnvInfo(), CNCDistributionConf::WriteSetup(), and CNCBlobStorage::WriteSetup().
|
inlinestatic |
Definition at line 5112 of file ncbistr.hpp.
References flags, NStr::UIntToString(), and rapidjson::value.
|
inlinestatic |
Definition at line 5128 of file ncbistr.hpp.
References flags, NStr::UIntToString(), and rapidjson::value.
|
inlinestatic |
Convert UInt to string.
out_str | Output string variable |
value | Integer value (unsigned long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5121 of file ncbistr.hpp.
References flags, NStr::ULongToString(), and rapidjson::value.
|
inlinestatic |
Convert UInt to string.
value | Integer value (unsigned long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5103 of file ncbistr.hpp.
References flags, NStr::ULongToString(), and rapidjson::value.
Referenced by CReportParams::Add(), CPosToIndex::Add(), CBDB_ExtBlobMap::Add(), CArgDescriptions::CPrintUsage::AddDetails(), CCSSTableTooltipFormatter::AddDividerRow(), CHtmlTooltipFormatter::AddDividerRow(), CHtmlTooltipFormatter::AddLinkRow(), CSAM_CIGAR_Formatter::AddRow(), CCSSTableTooltipFormatter::AddRow(), CHtmlTooltipFormatter::AddRow(), SAccGuide::AddRule(), CHtmlTooltipFormatter::AddValueCol(), CTaxNRCriteria::Apply(), CConvertSelectedGaps::apply_impl(), CBedFeatureRecord::AssignDisplayData(), CBedFeatureRecord::AssignLocation(), CGffRecord::AssignSeqId(), CGffRecord::AssignStart(), CGffRecord::AssignStop(), SSocketAddress::AsString(), BlastHitList2SeqAlign_OMF(), BuildLMDBFileName(), CArgDescMandatory::CArgDescMandatory(), CGffAlignmentRecord::CGffAlignmentRecord(), CConnTest::CheckFWConnections(), CGridCommandLineInterfaceApp::Cmd_Discover(), SNetScheduleNotificationThread::CmdAppendPortAndTimeout(), CNetScheduleNotificationHandler::CmdAppendTimeoutGroupAndClientInfo(), CMultiAlignerTest::CompareDomainHits(), CONNECT_Init(), SBDB_CacheUnitStatistics::ConvertToRegistry(), CVDBBlastUtil::CreateBioseqFromOid(), CVDBBlastUtil::CreateBioseqFromVDBSeqId(), CStringOrBlobStorageReader::CStringOrBlobStorageReader(), CVCFVariantList::CVCFVariantList(), CBDB_Volumes::Delete(), CDbapiSimpleApp::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), CPosToIndex::DeserializeVectors(), CDBConnectionFactory::DispatchServerName(), AlignmentUtility::DoLeaveNOut(), CLockVectorGuard< TLockVect >::DoLock(), CBDB_Cache::EvaluateTimeLine(), CRemoteAppLauncher::ExecRemoteApp(), CBDB_Volumes::FetchVolumeRec(), CGBSeqFormatter::FormatGap(), CGenbankFormatter::FormatGap(), CNetCacheKey::GenerateBlobKey(), CNcbiApplogApp::GenerateToken(), CTimeout::GetAsMilliSeconds(), CTimeout::GetAsTimeSpan(), NSnpGui::GetBinLinks(), NSnpGui::GetBinTooltip(), CBDB_ExtBlobMap::GetBlobLoc(), CWriteUtil::GetDbTag(), CMacroAdvStringConstraintPanel< T >::GetFuncWithArgs(), CConnTest::GetFWConnections(), CEditingActionFeatAnticodon::GetIntervalString(), GetIntervalString(), CTaxIDSetLabelHandler::GetLabel(), CDFamily::getNewickRepresentation(), CAlnMixSeq::GetSeqString(), CDBLB_ServiceMapper::GetServersList(), CSraRun::GetSpotEntry(), CPosToIndex::GetStatistics(), CBDB_FieldInt1::GetString(), CBDB_FieldUint1::GetString(), CBDB_FieldUint4::GetString(), CMacroAdvStringConstraintPanel< T >::GetTextConstraint(), CAlignGlyph::GetTitle(), CAlnStatGlyph::GetTooltip(), CSequenceTrack::GetTooltip(), CTranslationGlyph::GetTooltip(), CGuiObjectInfoSeq_align::GetToolTip(), CMacroAdvStringConstraintPanel< T >::GetVars(), CSeqDBIsam::HashToOids(), CConnTest::HttpOkay(), SNetICacheClientImpl::InitiateWriteCmd(), CBDB_Volumes::LockVolume(), CDebugDumpContext::Log(), CGtfRecord::MakeChildRecord(), CBDB_BlobSplitStore< TBV, TObjDeMux, TL >::MakeDbFileName(), value_slice::CValueConvert< CP, Uint1 >::operator string(), value_slice::CValueConvert< CP, Uint2 >::operator string(), value_slice::CValueConvert< CP, Uint4 >::operator string(), operator<<(), CSrvStrStream::operator<<(), PatchTargetSequence(), CCdFromFasta::Fasta2CdParams::Print(), CDiagContext_Extra::Print(), CArgDescriptions::CPrintUsageXml::PrintArguments(), CNCActiveHandler::ProxyBList(), CNCActiveHandler::ProxyGetMeta(), CNCActiveHandler::ProxyGetSize(), CNCActiveHandler::ProxyHasBlob(), CNCActiveHandler::ProxyProlong(), CNCActiveHandler::ProxyRead(), CNCActiveHandler::ProxyReadLast(), CNCActiveHandler::ProxyRemove(), CNCActiveHandler::ProxyWrite(), CBDB_Cache::Purge(), CNetScheduleSubmitter::Read(), CObjectIStreamXml::ReadName(), CColumnarVCFReader::ReadVariantsForChrs(), CNcbiApplogApp::Redirect(), CPosToIndex::RemoveSerializedOutput(), CRemoteAppTimeoutReporter::Report(), CValidError_annot::ReportLocationGI0(), CBlastdbConvertApp::Run(), s_GetFieldVar(), s_GetFileName(), s_GetNextLogPrefix(), s_GetValueVar(), s_GroupsCount(), s_Init(), s_MajorMinor(), s_ProcessIntraScaffoldTail(), s_ReadDigit(), s_SerializeJob(), s_SocketConnectorBuilder(), s_UserGroupAsString(), s_ValToString(), SeqDB_SimplifySeqid(), CFeatureSearchJob::SeqLocToString(), CPosToIndex::SerializeVectors(), CBDB_Volumes::SetBackupLocation(), CBDB_Volumes::SetDateRange(), CCgiResponse::SetStatus(), CBDB_Volumes::SortVolumes(), CConnTest::StatefulOkay(), CBDB_ExtBlobStore< TBV >::StoreBlob(), CGffBaseRecord::StrSeqStart(), CGffBaseRecord::StrSeqStop(), CCgi2RCgiApp::SubmitJob(), CNetScheduleSubmitter::SubmitJobBatch(), CNCActiveHandler::SyncBlobsList(), CNCActiveHandler::SyncCancel(), CNCActiveHandler::SyncCommit(), CNCActiveHandler::SyncProlongOur(), CNCActiveHandler::SyncStart(), TestDeltaTechNotAllowed(), CContElemConverter< CCgiEntry >::ToString(), CBDB_FieldUint4::ToString(), CDUpdateStats::toString(), NStr::UIntToString(), CLockVectorGuard< TLockVect >::Unlock(), CBDB_Volumes::UnLockVolume(), CSeqUpdateWorker::UpdateSingleSequence(), CSeqUpdateWorker::UpdateSingleSequence_Ext(), CValidError_bioseq::ValidateDelta(), CValidError_bioseq::ValidateRawConst(), CDB_MultiEx::WhatThis(), CBDB_CacheIWriter::Write(), CObjectOStreamJson::WriteCustomBytes(), CObjectOStreamJson::WriteUint4(), CGuiObjectInfoSeq_feat::x_AddExtraInfo(), CGuiObjectInfoSeq_feat::x_AddPositionRows(), CTar::x_Append(), CArchive::x_Append(), CBDB_Volumes::x_ChangeCurrentStatus(), CArgDescriptions::x_CreateArg(), CNCMessageHandler::x_DoCmd_GetMeta(), CServer::x_DoRun(), CTar::x_ExtractSparseFile(), CGuiObjectInfoSeq_feat::x_GetProductSequence(), CSeq_id::x_IdentifyAccession(), NStr::x_NumericToString(), CArgDescriptions::x_PostCheck(), NSnpGui::x_ProcessDbgaptext(), CSnpTrack::x_ProcessJobResult(), CNcbiRegistry::x_Read(), CNCMessageHandler::x_ReadBlobSignature(), CTransmissionReader::x_ReadStart(), CArchive::x_RestoreAttrs(), CTar::x_RestoreAttrs(), CNCActiveHandler::x_SendCopyProlongCmd(), CNCActiveHandler::x_SendCopyPutCmd(), CNCActiveHandler::x_SendSyncGetCmd(), CNewCleanup_imp::x_SeqFeatCDSGBQualBC(), CVCFVariantsBase::x_SerializeData(), CMacroAdvStringConstraintPanel< T >::x_SetControls(), CNCMessageHandler::x_SocketOpened(), CBDB_Cache::x_Store(), CMacroInterpreter::x_StringConstraintValidateArgs(), CValidError_align::x_ValidateSeqLength(), CVcfWriter::x_WriteFeaturePos(), CGtfWriter::xAssignFeatureAttributeGeneId(), CGtfWriter::xAssignFeatureAttributeTranscriptId(), and CGff3Writer::xNextAlignId().
|
static |
Convert unsigned long to string.
out_str | Output string variable |
value | Integer value (unsigned long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 1897 of file ncbistr.cpp.
|
inlinestatic |
Convert unsigned long to string.
value | Integer value (unsigned long) to be converted. |
flags | How to convert value to string. |
base | Radix base. Default is 10. Allowed values are 2..36. Bases 8 and 16 do not add leading '0' and '0x' accordingly. If necessary you should add it yourself. |
Definition at line 5144 of file ncbistr.hpp.
References flags, and rapidjson::value.
Referenced by CReportParams::Add(), CBDB_Cache::EvaluateTimeLine(), CNcbiApplogApp::GenerateToken(), CBulkCDSAddPanel::GetCommand(), CDebugDumpContext::Log(), value_slice::CValueConvert< CP, unsigned long >::operator string(), CDiagContext_Extra::Print(), NStr::UIntToString(), CFarPointerSeq::ValidateAlignment(), NStr::x_NumericToString(), and CBlastVdbCmdApp::x_PrintBlastDatabaseInformation().
|
static |
Unescape string (generic version).
Remove escape characters added by Escape().
str | The string to be processed. |
escape_char | Character used for escaping. |
Definition at line 3861 of file ncbistr.cpp.
|
static |
Unquote string (generic version).
Remove quotation added by Quote(). Uses first character as quoting character.
str | The string to be processed. |
escape_char | Character used for escaping. |
Definition at line 3909 of file ncbistr.cpp.
|
static |
URL-decode string.
Definition at line 6205 of file ncbistr.cpp.
Referenced by CCgiCookies::Add(), CNcbiResourceInfoFile::AddResourceInfo(), CReadUtil::AsSeqId(), CNcbiResourceInfo::CNcbiResourceInfo(), CStringEncoder_Url::CStringEncoder_Url(), CDefaultUrlEncoder::DecodeArgName(), CDefaultUrlEncoder::DecodeArgValue(), CDefaultUrlEncoder::DecodeFragment(), CDefaultUrlEncoder::DecodePassword(), CDefaultUrlEncoder::DecodePath(), CDefaultUrlEncoder::DecodeUser(), CTrackUtils::ExtractTrackConfig(), SPSG_Env::GetCookie(), SRequestBuilder::SReader< SPsgCgiEntries >::GetUserArgs(), CGenBankLoadOptionPanel::LoadSettings(), CIdResolverCanonical::operator()(), SFileTrackConfig::ParseArg(), CHttpRetryContext::ParseHeader(), CVariantDescriptors::PushBack(), ReadContainer(), ReadMap(), s_AssignEntryValue(), URL_DecodeString(), CNCMessageHandler::x_AssignCmdParams(), CUrl::x_SetService(), CGff3ImportData::xInitializeAttributes(), CGff3ImportData::xInitializeComment(), CGff3ImportData::xInitializeDataCds(), CGff3ImportData::xInitializeMultiValue(), and CGff2Record::xNormalizedAttributeValue().
|
static |
URL-decode string to itself.
Definition at line 6213 of file ncbistr.cpp.
Referenced by CVariantDescriptors::PushBack(), URL_DecodeInPlace(), and CCgiEntryReaderContext::x_ReadURLEncodedEntry().
|
static |
URL-encode string.
Definition at line 6053 of file ncbistr.cpp.
Referenced by CUsageReportParameters::Add(), CReportParams::Add(), CStringEntryCollector::AddEntry(), CEutilsClient::AddParameter(), CEUtils_IdGroup::AsQueryString(), CAlignFormatUtil::BuildFormatQueryString(), CNSNotificationList::BuildJobChangedNotification(), CAlignFormatUtil::BuildUserUrl(), CGI2GRID_ComposeHtmlPage(), CNcbiApplogApp::Cmd_Health(), CUrl::ComposeUrl(), CEutilsClient::Count(), CEJournalSearch::DoOneESearch(), CEJournalSearch::DoOneESummary(), CEUtilsUpdater::DoPubSearch(), CDefaultUrlEncoder::EncodeArgName(), CFormDataEncoder::EncodeArgName(), CDefaultUrlEncoder::EncodeArgValue(), CFormDataEncoder::EncodeArgValue(), CDefaultUrlEncoder::EncodeFragment(), CDefaultUrlEncoder::EncodePassword(), CDefaultUrlEncoder::EncodePath(), CDefaultUrlEncoder::EncodeUser(), GetAccVerHistCompletionHeader(), GetAccVerHistoryHeader(), GetBioseqCompletionHeader(), GetBioseqInfoHeader(), GetBioseqMessageHeader(), GetBlobChunkHeader(), GetBlobCompletionHeader(), GetBlobExcludeHeader(), GetBlobMessageHeader(), GetBlobPropCompletionHeader(), GetBlobPropHeader(), GetBlobPropMessageHeader(), SPSG_Params::GetCookie(), CGencollSvc::GetGCAssembly(), GetIPGMessageHeader(), GetIPGResolveHeader(), GetNamedAnnotationCompletionHeader(), GetNamedAnnotationHeader(), GetNamedAnnotationMessageCompletionHeader(), GetNamedAnnotationMessageHeader(), CPMCIDConverterServer::GetPmids(), SQueueParameters::GetPrintableParameters(), GetProcessorMessageCompletionHeader(), GetProcessorMessageHeader(), GetProcessorProgressMessageHeader(), CDoiLookup::GetPubFromCrossRef(), GetPublicCommentCompletionHeader(), GetPublicCommentHeader(), CEFetch_Request::GetQueryString(), CEGQuery_Request::GetQueryString(), CELink_Request::GetQueryString(), CESearch_Request::GetQueryString(), CESpell_Request::GetQueryString(), CEUtils_Request::GetQueryString(), CGridCgiContext::GetSelfURL(), GetTSEBlobChunkHeader(), GetTSEBlobCompletionHeader(), GetTSEBlobExcludeHeader(), GetTSEBlobMessageHeader(), GetTSEBlobPropCompletionHeader(), GetTSEBlobPropHeader(), GetTSEBlobPropMessageHeader(), CHttpRetryContext::GetValues(), CEutilsClient::LinkHistory(), CSrvDiagMsg::PrintParam(), CGetVersionProcessor::Process(), CCgiRedirectApplication::ProcessRequest(), CNcbiApplogApp::Redirect(), CNcbiApplogApp::Run(), CHydraServer::RunHydraSearch(), s_AddArg(), s_AssignEntryValue(), s_FetchHistoryQuery(), s_GetAssmAccsParams(), s_GetAssmInfoParams(), s_GetBestIDForURL(), s_GetLinkoutUrl(), s_GetParams(), s_SearchHistoryQuery(), s_SummaryHistoryQuery(), CGenBankLoadOptionPanel::SaveSettings(), CEutilsClient::Search(), CGridCommandLineInterfaceApp::SetUp_NetStorageCmd(), URL_EncodeString(), WriteContainer(), WriteMap(), CCDDClient::WriteRequest(), CNCMessageHandler::x_AssignCmdParams(), CNCMessageHandler::x_DoCmd_Version(), CCgiCookie::x_EncodeCookie(), CEutilsClient::x_Fetch(), CPSG_Request_NamedAnnotInfo::x_GetAbsPathRef(), CNcbiResourceInfo::x_GetEncoded(), CEutilsClient::x_Link(), CEutilsClient::x_LinkOut(), CFastCgiThreadedRequest::x_ParseEnv(), CNetScheduleHandler::x_PrintGetJobResponse(), CNetScheduleHandler::x_ProcessFastStatusS(), CNetScheduleHandler::x_ProcessFastStatusW(), CNetScheduleHandler::x_ProcessGetParam(), CNetScheduleHandler::x_ProcessHealth(), CNetScheduleHandler::x_ProcessListenJob(), CNetScheduleHandler::x_ProcessQueueInfo(), CNetScheduleHandler::x_ProcessReading(), CNetScheduleHandler::x_ProcessStatus(), CNetScheduleHandler::x_ProcessVersion(), CEutilsClient::x_Search(), CEutilsClient::x_Summary(), and CGff3Writer::xWriteSequenceHeader().
|
static |
Definition at line 5338 of file ncbistr.cpp.
Referenced by CArgDescriptions::CPrintUsage::AddDetails(), CGenbankFormatter::FormatGap(), CTableDataSUC::GetHtmlValue(), CTableDataValidate::GetHtmlValue(), NcbiMessageBox(), s_PrintCommentBody(), s_PrintStr(), s_RenderAccList(), CFeatureSearchForm::Update(), NStr::Wrap(), CFlatItemFormatter::Wrap(), CArgDescriptions::x_PrintComment(), CScoreLookup::x_PrintDictionaryEntry(), CGenbankFormatter::x_SmartWrapQuals(), and CAlignFormatUtil::x_WrapOutputLine().
|
inlinestatic |
Definition at line 5594 of file ncbistr.hpp.
References arr, flags, str(), and NStr::Wrap().
|
inlinestatic |
Definition at line 5586 of file ncbistr.hpp.
References arr, flags, str(), and NStr::Wrap().
|
static |
Definition at line 5347 of file ncbistr.cpp.
References flags, str(), and NStr::WrapIt().
|
static |
Wrap the specified string into lines of a specified width.
Split string "str" into lines of width "width" and add the resulting lines to the list "arr". Normally, all lines will begin with "prefix" (counted against "width"), but the first line will instead begin with "prefix1" if you supply it.
str | String to be split into wrapped lines. |
width | Width of each wrapped line. |
arr | List of strings containing wrapped lines. |
flags | How to wrap the words to a new line. See EWrapFlags documentation. |
prefix | The prefix string added to each wrapped line, except the first line, unless "prefix1" is set. If "prefix" is set to 0(default), do not add a prefix string to the wrapped lines. |
prefix1 | The prefix string for the first line. Use this for the first line instead of "prefix". If "prefix1" is set to 0(default), do not add a prefix string to the first line. |
Definition at line 5083 of file ncbistr.cpp.
Referenced by NStr::Wrap().
|
inlinestatic |
Definition at line 5611 of file ncbistr.hpp.
References arr, flags, l(), and NStr::WrapList().
|
inlinestatic |
Definition at line 5602 of file ncbistr.hpp.
References arr, flags, l(), and NStr::WrapList().
|
static |
Wrap the list using the specified criteria.
WrapList() is similar to Wrap(), but tries to avoid splitting any elements of the list to be wrapped. Also, the "delim" only applies between elements on the same line; if you want everything to end with commas or such, you should add them first.
l | The list to be wrapped. |
width | Width of each wrapped line. |
delim | Delimiters used to split elements on the same line. |
arr | List containing the wrapped list result. |
flags | How to wrap the words to a new line. See EWrapFlags documentation. |
prefix | The prefix string added to each wrapped line, except the first line, unless "prefix1" is set. If "prefix" is set to 0(default), do not add a prefix string to the wrapped lines. |
prefix1 | The prefix string for the first line. Use this for the first line instead of "prefix". If "prefix1" is set to 0(default), do not add a prefix string to the first line. |
Definition at line 5357 of file ncbistr.cpp.
Referenced by CArgDescriptions::CPrintUsage::AddSynopsis(), and NStr::WrapList().
|
staticprivate |
Definition at line 6936 of file ncbistr.cpp.
References SLocaleEncoder::ToChar().
|
staticprivate |
Definition at line 7033 of file ncbistr.cpp.
Referenced by CUtf8::AppendAsUTF8(), CUtf8::AsUTF8(), and CUtf8::TruncateSpaces().
|
staticprivate |
Definition at line 5730 of file ncbistr.hpp.
References max(), NPOS, CUtf8::x_AppendChar(), CUtf8::x_BytesNeeded(), and CUtf8::x_TCharToUnicodeSymbol().
|
staticprivate |
Definition at line 7011 of file ncbistr.cpp.
Referenced by CUtf8::x_Append().
|
staticprivate |
Definition at line 5677 of file ncbistr.hpp.
References ch2, CUtf8::Decode(), CUtf8::eValidate, CUtf8::GetSymbolCount(), max(), NCBI_THROW2, result, str(), validate(), and CUtf8::x_Validate().
Referenced by CUtf8::AsBasicString().
|
staticprivate |
Definition at line 7089 of file ncbistr.cpp.
Referenced by CUtf8::x_Append().
|
inlineoverrideprotectedvirtual |
Helper clone method.
Definition at line 4479 of file ncbistr.hpp.
|
inlinestaticprivate |
Definition at line 5666 of file ncbistr.hpp.
References CUtf8::DecodeFirst(), and CUtf8::DecodeNext().
Referenced by CUtf8::Decode().
Definition at line 7114 of file ncbistr.cpp.
Referenced by CUtf8::EvaluateFirst().
|
staticprivate |
Definition at line 7140 of file ncbistr.cpp.
Referenced by CUtf8::EvaluateNext().
|
private |
Definition at line 7541 of file ncbistr.cpp.
Referenced by CStrTokenizeBase::SetDelim().
|
staticprivate |
Definition at line 6657 of file ncbistr.cpp.
|
staticprivate |
Definition at line 6638 of file ncbistr.cpp.
References CUtf8::AsUTF8(), CStringUTF8_DEPRECATED::eCharBuffer, and NPOS.
Referenced by CUtf8::GetValidBytesCount(), and CUtf8::GetValidSymbolCount().
Definition at line 363 of file tempstr.hpp.
References CTempString::clear(), CTempString::m_Length, CTempString::m_String, and str().
|
inlineprivate |
Definition at line 377 of file tempstr.hpp.
References CTempString::clear(), len, CTempString::m_Length, CTempString::m_String, min(), and str().
Referenced by CTempString::assign().
|
inlinestaticprivate |
Definition at line 3795 of file ncbistr.hpp.
References i, and NStr::TransformJoin().
Referenced by NStr::Join(), and NStr::JoinNumeric().
|
inlinestaticprivate |
Definition at line 3810 of file ncbistr.hpp.
References NStr::xx_Join().
|
inlineprivate |
Definition at line 204 of file ncbi_xstr.hpp.
References CTempXStr< _TChar >::m_Data, and CTempXStr< _TChar >::m_Length.
Referenced by CTempXStr< _TChar >::length().
Definition at line 200 of file ncbi_xstr.hpp.
References NPOS.
Referenced by CTempXStr< _TChar >::CTempXStr().
|
inlinestaticprivate |
Definition at line 3741 of file ncbistr.hpp.
References flags, NStr::LongToString(), and rapidjson::value.
|
inlinestaticprivate |
Definition at line 3730 of file ncbistr.hpp.
References flags, NStr::IntToString(), and rapidjson::value.
Referenced by NStr::NumericToString(), and NStr::x_NumericToString().
|
inlinestaticprivate |
Definition at line 3782 of file ncbistr.hpp.
References flags, rapidjson::value, and NStr::x_NumericToString().
|
inlinestaticprivate |
Definition at line 3746 of file ncbistr.hpp.
References flags, NStr::ULongToString(), and rapidjson::value.
|
staticprivate |
Definition at line 6539 of file ncbistr.cpp.
Referenced by NStr::x_VerifyFloatLimits(), and NStr::x_VerifyIntLimits().
|
private |
Definition at line 7520 of file ncbistr.cpp.
Referenced by CStrTokenizeBase::MergeDelims(), and CStrTokenizeBase::SkipDelims().
|
inlinestaticprivate |
Definition at line 3715 of file ncbistr.hpp.
References flags, str(), NStr::StringToDouble(), and rapidjson::value.
|
inlinestaticprivate |
Definition at line 3704 of file ncbistr.hpp.
References flags, n, str(), NStr::StringToDouble(), and rapidjson::value.
|
inlinestaticprivate |
Definition at line 3678 of file ncbistr.hpp.
References flags, str(), NStr::StringToLong(), and rapidjson::value.
|
inlinestaticprivate |
Definition at line 3641 of file ncbistr.hpp.
References flags, n, str(), NStr::StringToInt(), and rapidjson::value.
|
inlinestaticprivate |
Definition at line 3722 of file ncbistr.hpp.
References flags, str(), rapidjson::value, and NStr::x_StringToNumeric().
|
inlinestaticprivate |
Definition at line 3569 of file ncbistr.hpp.
References flags, n, str(), and NStr::StringToInt().
Referenced by NStr::StringToNumeric(), and NStr::x_StringToNumeric().
|
inlinestaticprivate |
Definition at line 3684 of file ncbistr.hpp.
References flags, str(), NStr::StringToULong(), and rapidjson::value.
|
staticprivate |
Definition at line 5718 of file ncbistr.hpp.
Referenced by CUtf8::x_Append().
|
staticprivate |
Definition at line 7001 of file ncbistr.cpp.
Referenced by CUtf8::x_AsBasicString().
|
inlinestaticprivate |
Definition at line 3558 of file ncbistr.hpp.
References flags, max(), str(), and NStr::x_ReportLimitsError().
|
inlinestaticprivate |
Definition at line 3550 of file ncbistr.hpp.
References flags, max(), min(), str(), and NStr::x_ReportLimitsError().
|
static |
Encode a string for XML.
Replace relevant characters by predefined entities.
Definition at line 4027 of file ncbistr.cpp.
Referenced by CAltValidator::CheckTaxids(), CPSG_MyNCBIRequest_WhoAmI::GetRequestXML(), CPSG_MyNCBIRequest_SignIn::GetRequestXML(), CSVGRenderer::Initialize(), XPrintTotalsItem::line(), CDiscrepancyProductImpl::OutputXML(), CAgpErrEx::PrintLineXml(), CAgpErrEx::PrintMessageCounts(), CAgpErrEx::PrintMessageXml(), CAgpValidateReader::CIdsNotInAgp::PrintXml(), CVersionAPI::PrintXml(), SBuildInfo::PrintXml(), CVersionInfo::PrintXml(), CComponentVersionInfoAPI::PrintXml(), CObjtoolsListener::PutProgress(), CMessageListenerBase::PutProgress(), RecursiveXML(), s_CombineStrings(), s_WriteEscapedStr(), CObjEditMessage::WriteAsXML(), CObjtoolsMessage::WriteAsXML(), ILineError::WriteAsXML(), CObjtoolsDiagMessage::WriteAsXML(), and CSVGRenderer::WriteText().
|
staticprivate |
Definition at line 5568 of file ncbistr.hpp.
References f, kEmptyStr, result, CTempString::size(), and string.
Referenced by NStr::x_Join().
|
inlinevirtualnoexcept |
Destructor.
Definition at line 4433 of file ncbistr.hpp.
|
inlinevirtual |
Definition at line 4659 of file ncbistr.hpp.
CTempString_Storage::~CTempString_Storage | ( | void | ) |
Definition at line 7394 of file ncbistr.cpp.
|
inlinevirtual |
Definition at line 4538 of file ncbistr.hpp.
|
inlinevirtual |
Definition at line 4553 of file ncbistr.hpp.
|
inlinevirtual |
Definition at line 3273 of file ncbistr.hpp.
END_NCBI_NAMESPACE |
Definition at line 5878 of file ncbistr.hpp.
Empty "C" string (points to a '\0').
Definition at line 68 of file ncbistr.cpp.
Referenced by CJson_Document::CJson_Document(), CReportItem::CreateReportItem(), CSimpleBlobStore::CSimpleBlobStore(), CGenbankFormatter::FormatGenomeProject(), g_DiagUnknownFunction(), CTraversalNode::GenerateCode(), CDir::GetCwd(), CExceptionWrapper::GetErrCodeString(), CTL_RowResult::GetItemInternal(), CDB_BigDateTime::GetSQLTypeName(), CDB_BigDateTime::GetTimeFormat(), main(), CDB_String::operator const char *(), operator<<(), CNetScheduleDApp::Run(), CNetStorageDApp::Run(), CPubseqGatewayApp::Run(), CCleanup::s_CleanupNameStdBC(), IAuthorEditor::s_FixInitialsNew(), s_GetDiv(), s_OrganelleName(), CBDB_FieldString::Set(), CBDB_FieldLString::Set(), CDiscrepancyVisitorImpl< _Name >::Summarize(), CValidError_descr::ValidateSeqDescr(), CSeq_id::WhichFastaTag(), CDB_Stream::x_Append(), CDB_Exception::x_EndOfWhat(), CODBC_BCPInCmd::x_GetDataTerminator(), CSDB_ConnectionParam::x_GetName(), CDeflineGenerator::x_OrganelleName(), x_OrganelleName(), and CDeflineGenerator::x_SetPrefix().
Definition at line 71 of file ncbistr.cpp.
|
private |
Definition at line 4796 of file ncbistr.hpp.
Referenced by CStringPairs< TExtraValuesMap >::Merge(), and CStringPairs< TExtraValuesMap >::Parse().
|
private |
case sensitive when TRUE
Definition at line 4941 of file ncbistr.hpp.
Referenced by PNocase_Conditional_Generic< T >::GetCase(), and PNocase_Conditional_Generic< T >::SetCase().
Definition at line 208 of file ncbi_xstr.hpp.
Referenced by CTempXStr< _TChar >::CTempXStr(), CTempXStr< _TChar >::data(), CTempXStr< _TChar >::operator[](), and CTempXStr< _TChar >::x_length().
|
private |
Definition at line 4800 of file ncbistr.hpp.
Referenced by CStringPairs< TExtraValuesMap >::GetPairs(), CStringPairs< TExtraValuesMap >::Merge(), and CStringPairs< TExtraValuesMap >::Parse().
|
private |
Definition at line 1064 of file tempstr.hpp.
|
private |
Definition at line 4798 of file ncbistr.hpp.
Referenced by CStringPairs< TExtraValuesMap >::GetDecoder(), CStringPairs< TExtraValuesMap >::Parse(), and CStringPairs< TExtraValuesMap >::SetDecoder().
|
protected |
Definition at line 175 of file ncbistr_util.hpp.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do(), and CStrTokenizeBase::SetDelim().
|
private |
Definition at line 185 of file ncbistr_util.hpp.
|
private |
Definition at line 4840 of file ncbistr.hpp.
Referenced by CEncodedString::GetEncodedString(), and CEncodedString::IsEncoded().
|
private |
Definition at line 4799 of file ncbistr.hpp.
Referenced by CStringPairs< TExtraValuesMap >::GetEncoder(), CStringPairs< TExtraValuesMap >::Merge(), and CStringPairs< TExtraValuesMap >::SetEncoder().
|
private |
Definition at line 71 of file text_joiner.hpp.
|
private |
Definition at line 114 of file ncbistr_util.hpp.
Referenced by CTempStringList::Add(), and CTempStringList::Clear().
|
private |
Definition at line 4566 of file ncbistr.hpp.
Referenced by CStringEncoder_Url::CStringEncoder_Url().
|
private |
Definition at line 4579 of file ncbistr.hpp.
|
protected |
Definition at line 177 of file ncbistr_util.hpp.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do(), and CStrTokenizeBase::SetDelim().
|
private |
Definition at line 184 of file ncbistr_util.hpp.
Referenced by CStrTokenizeBase::SetDelim().
|
private |
Definition at line 115 of file ncbistr_util.hpp.
Referenced by CTempStringList::Add(), and CTempStringList::Clear().
|
mutableprivate |
Definition at line 209 of file ncbi_xstr.hpp.
Referenced by CTempXStr< _TChar >::CTempXStr(), CTempXStr< _TChar >::length(), and CTempXStr< _TChar >::x_length().
|
private |
Length of string.
Definition at line 205 of file tempstr.hpp.
Referenced by CTempString::assign(), CTempString::clear(), CTempString::empty(), CTempString::end(), CTempString::erase(), CTempString::length(), CTempString::operator[](), CTempString::size(), and CTempString::x_Init().
|
protected |
Definition at line 3281 of file ncbistr.hpp.
Referenced by NStr::CWrapDestStringList::Append().
|
private |
Definition at line 70 of file text_joiner.hpp.
|
private |
Definition at line 72 of file text_joiner.hpp.
|
private |
Definition at line 4839 of file ncbistr.hpp.
Referenced by CEncodedString::GetEncodedString(), CEncodedString::GetOriginalString(), and CEncodedString::IsEmpty().
|
private |
Error position.
Definition at line 4485 of file ncbistr.hpp.
Referenced by CParseTemplException< CSeqsetException >::CParseTemplException(), CParseTemplException< CSeqsetException >::GetPos(), and CParseTemplException< CSeqsetException >::ReportExtra().
|
protected |
Definition at line 176 of file ncbistr_util.hpp.
Referenced by CStrTokenizeBase::AtEnd(), CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do(), and CStrTokenizeBase::GetPos().
|
private |
Definition at line 116 of file ncbistr_util.hpp.
|
protected |
Definition at line 178 of file ncbistr_util.hpp.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
|
protected |
Definition at line 174 of file ncbistr_util.hpp.
Referenced by CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do().
|
private |
Stored pointer to string.
Definition at line 204 of file tempstr.hpp.
Referenced by CTempString::assign(), CTempString::begin(), CTempString::clear(), CTempString::data(), CTempString::end(), CTempString::find(), CTempString::operator[](), CTempString::rfind(), and CTempString::x_Init().
|
private |
Definition at line 397 of file ncbistr_util.hpp.
Referenced by CStrTokenPosAdapter< TPosContainer >::push_back(), CStrTokenPosAdapter< TPosContainer >::reserve(), CStrTokenPosAdapter< TPosContainer >::resize(), and CStrTokenPosAdapter< TPosContainer >::size().
|
private |
Definition at line 4797 of file ncbistr.hpp.
Referenced by CStringPairs< TExtraValuesMap >::Merge(), and CStringPairs< TExtraValuesMap >::Parse().
|
private |
Definition at line 1042 of file tempstr.hpp.
Referenced by CTempStringEx::assign(), CTempStringEx::clear(), CTempStringEx::HasZeroAtEnd(), and CTempStringEx::substr().
unique_ptr<SNode> CTempStringList::SNode::next |
Definition at line 111 of file ncbistr_util.hpp.
Referenced by CTempStringList::Add(), and CTempStringList::Clear().
Definition at line 72 of file tempstr.hpp.
Referenced by CReadUtil::AddGeneOntologyTerm(), CGff2Record::AssignFromGff(), CGapsEditor::ConvertNs2Gaps(), CSeqTableSetAnyObjField::CSeqTableSetAnyObjField(), CTempString::find(), CTempString::find_first_not_of(), CTempString::find_first_of(), CTempString::find_last_not_of(), CTempString::find_last_of(), CObjectIStreamJson::FindDeep(), CMatchString::operator=(), CFastaReader::ParseGapLine(), CMatchString::PopWeasel(), python::RetrieveStatementType(), CTempString::rfind(), s_FindFromNocase(), sFindBrackets(), SkipCommentAndBlank(), CGff2Record::TokenizeGFF(), CSourceModParser::x_ApplyMods(), CTitleParser::x_FindBrackets(), ICitationBase::x_GetLabelV1(), x_GetNextAttribute(), CTableImportDataSource::x_ParseEntry(), CTableImportDataSource::x_ParseQuotedEntry(), CShortReadFastaInputSource::x_ReadFastc(), CNCActiveHandler::x_ReadHttpDataPrefix(), and CFeatureTableReader_Imp::x_TrnaToAaString().
CTempString CTempStringList::SNode::str |
Definition at line 110 of file ncbistr_util.hpp.
Referenced by CTempStringList::Add(), and CTempStringList::Clear().
|
friend |
Definition at line 4372 of file ncbistr.hpp.