A RetroSearch Logo

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

Search Query:

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

NCBI C++ ToolKit: String Manipulations

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...
  typedef NCBI_NS_STD::string::size_type  SIZE_TYPE   typedef char32_t  TUnicodeSymbol   Unicode character. More...
  typedef basic_string< TUnicodeSymbolTStringUnicode   Unicode string. More...
  typedef char  TXChar   typedef string  TXString   typedef int  NStr::TNumToStringFlags   Bitwise OR of "ENumToStringFlags". More...
  typedef EStringToNumFlags  NStr::EConvErrFlags   Formerly split out. More...
  typedef int  NStr::TStringToNumFlags   Bitwise OR of "EStringToNumFlags". More...
  typedef TStringToNumFlags  NStr::TConvErrFlags   Formerly split out. More...
  typedef int  NStr::TSplitFlags   Bitwise OR of ESplitFlags. More...
  typedef int  NStr::TPrintableMode   Bitwise OR of EPrintableMode flags. More...
  typedef int  NStr::TSS_Flags   Bitwise OR of ESS_Flags. More...
  typedef int  NStr::TXmlEncode   typedef int  NStr::THtmlEncode   typedef int  NStr::THtmlDecode   typedef int  NStr::TWrapFlags   Bitwise OR of "EWrapFlags". More...
  typedef int  NStr::TDedentFlags   Bitwise OR of EDedentFlags. More...
  typedef TUnicodeSymbol  TCharUCS4   typedef TStringUnicode  TStringUCS4   typedef char16_t  TCharUCS2   Type for character in UCS-2 encoding. More...
  typedef basic_string< TCharUCS2TStringUCS2   Type for string in UCS-2 encoding. More...
  typedef int  CParseTemplException< TBase >::TErrCode   typedef TContainer  CStringPairs< TContainer >::TStrPairs   typedef TContainer::value_type  CStringPairs< TContainer >::TStrPair   The container's value type must be pair<string, string> or a compatible type. More...
  typedef vector< pair< string, string > >  TStringPairsVector   typedef CStringPairs< TStringPairsVectorCStringPairsParser   typedef PCase_Generic< stringPCase   typedef PCase_Generic< const char * >  PCase_CStr   typedef PNocase_Generic< stringPNocase   typedef PNocase_Generic< const char * >  PNocase_CStr   typedef PNocase_Conditional_Generic< stringPNocase_Conditional   typedef PNocase_Conditional_Generic< const char * >  PNocase_Conditional_CStr   typedef PEqualNocase_Generic< stringPEqualNocase   typedef PEqualNocase_Generic< const char * >  PEqualNocase_CStr   typedef PEqualNocase_Conditional_Generic< stringPEqualNocase_Conditional   typedef PEqualNocase_Conditional_Generic< const char * >  PEqualNocase_Conditional_CStr   typedef NStr::TSplitFlags  CStrTokenizeBase::TFlags   typedef TStr  CStrTokenize< TStr, TV, TP, TCount, TReserve >::TString   typedef TV  CStrTokenize< TStr, TV, TP, TCount, TReserve >::TContainer   typedef TP  CStrTokenize< TStr, TV, TP, TCount, TReserve >::TPosContainer   typedef TCount  CStrTokenize< TStr, TV, TP, TCount, TReserve >::TCountTrait   typedef TReserve  CStrTokenize< TStr, TV, TP, TCount, TReserve >::TReserveTrait   typedef CTempString::size_type  CTempString_Storage::size_type   typedef char *  CTempString_Storage::TBuffer   typedef list< TBufferCTempString_Storage::TData   enum   ENcbiStrings { eNcbiStrings_Stat , eNcbiStrings_PHID }   enum   XStr::ECase { XStr::eCase , XStr::eNocase }   enum   EEncoding {
  eEncoding_Unknown , eEncoding_UTF8 , eEncoding_Ascii , eEncoding_ISO8859_1 ,
  eEncoding_Windows_1252 , eEncoding_CESU8
}   enum   NStr::ENumToStringFlags {
  NStr::fUseLowercase = (1 << 4) , NStr::fWithRadix = (1 << 5) , NStr::fWithSign = (1 << 6) , NStr::fWithCommas = (1 << 7) ,
  NStr::fDoubleFixed = (1 << 8) , NStr::fDoubleScientific = (1 << 9) , NStr::fDoublePosix = (1 << 10) , NStr::fDoubleGeneral = fDoubleFixed | fDoubleScientific ,
  NStr::fDS_Binary = (1 << 11) , NStr::fDS_NoDecimalPoint = (1 << 12) , NStr::fDS_PutSpaceBeforeSuffix = (1 << 13) , NStr::fDS_ShortSuffix = (1 << 14) ,
  NStr::fDS_PutBSuffixToo = (1 << 15)
}   Number to string conversion flags. More...
  enum   NStr::EStringToNumFlags {
  NStr::fConvErr_NoThrow = (1 << 0) , NStr::fConvErr_NoErrMessage = (1 << 2) , NStr::fMandatorySign = (1 << 17) , NStr::fAllowCommas = (1 << 18) ,
  NStr::fAllowLeadingSpaces = (1 << 19) , NStr::fAllowLeadingSymbols = (1 << 20) | fAllowLeadingSpaces , NStr::fAllowTrailingSpaces = (1 << 21) , NStr::fAllowTrailingSymbols = (1 << 22) | fAllowTrailingSpaces ,
  NStr::fDecimalPosix = (1 << 23) , NStr::fDecimalPosixOrLocal = (1 << 24) , NStr::fDecimalPosixFinite = (1 << 25) , NStr::fDS_ForceBinary = (1 << 26) ,
  NStr::fDS_ProhibitFractions = (1 << 27) , NStr::fDS_ProhibitSpaceBeforeSuffix = (1 << 28)
}   String to number conversion flags. More...
  enum   NStr::ECase { NStr::eCase , NStr::eNocase }   Which type of string comparison. More...
  enum   NStr::EOccurrence { NStr::eFirst , NStr::eLast }   Whether it is the first or last occurrence. More...
  enum   NStr::EDirection { NStr::eForwardSearch = 0 , NStr::eReverseSearch }   Search direction for Find() methods. More...
  enum   NStr::ETrunc { NStr::eTrunc_Begin , NStr::eTrunc_End , NStr::eTrunc_Both }   Which end to truncate a string. More...
  enum   NStr::ESplitFlags {
  NStr::fSplit_MergeDelimiters = 1 << 0 , NStr::fSplit_Truncate_Begin = 1 << 1 , NStr::fSplit_Truncate_End = 1 << 2 , NStr::fSplit_Truncate = fSplit_Truncate_Begin | fSplit_Truncate_End ,
  NStr::fSplit_ByPattern = 1 << 3 , NStr::fSplit_CanEscape = 1 << 4 , NStr::fSplit_CanSingleQuote = 1 << 5 , NStr::fSplit_CanDoubleQuote = 1 << 6 ,
  NStr::fSplit_CanQuote = fSplit_CanSingleQuote | fSplit_CanDoubleQuote , NStr::fSplit_Tokenize = fSplit_MergeDelimiters | fSplit_Truncate
}   Flags for Split*() methods. More...
  enum   NStr::EMergeDelims { NStr::eMergeDelims = fSplit_MergeDelimiters | fSplit_Truncate , NStr::eNoMergeDelims = 0 }   Whether to merge adjacent delimiters. More...
  enum   NStr::EPrintableMode {
  NStr::fNewLine_Quote = 0 , NStr::eNewLine_Quote = fNewLine_Quote , NStr::fNewLine_Passthru = 1 , NStr::eNewLine_Passthru = fNewLine_Passthru ,
  NStr::fNonAscii_Passthru = 0 , NStr::fNonAscii_Quote = 2 , NStr::fPrintable_Full = 64
}   How to display printable strings. More...
  enum   NStr::ESS_Flags {
  NStr::fSS_alpha = 1 << 0 , NStr::fSS_digit = 1 << 1 , NStr::fSS_alnum = 1 << 2 , NStr::fSS_print = 1 << 3 ,
  NStr::fSS_cntrl = 1 << 4 , NStr::fSS_punct = 1 << 5 , NStr::fSS_Reject = 1 << 11 , NStr::fSS_Remove = 1 << 12 ,
  NStr::fSS_NoMerge = 1 << 13 , NStr::fSS_NoTruncate_Begin = 1 << 14 , NStr::fSS_NoTruncate_End = 1 << 15 , NStr::fSS_NoTruncate = fSS_NoTruncate_Begin | fSS_NoTruncate_End
}   Flags for Sanitize(). More...
  enum   NStr::EEscSeqRange {
  NStr::eEscSeqRange_Standard , NStr::eEscSeqRange_FirstByte , NStr::eEscSeqRange_Throw , NStr::eEscSeqRange_Errno ,
  NStr::eEscSeqRange_User
}   C-style escape sequences parsing mode. More...
  enum   NStr::EQuoted { NStr::eQuoted , NStr::eNotQuoted }   Define that string is quoted or not. More...
  enum   NStr::EXmlEncode { NStr::eXmlEnc_Contents = 0 , NStr::eXmlEnc_CommentSafe = 1 << 0 , NStr::eXmlEnc_Unsafe_Skip = 1 << 1 , NStr::eXmlEnc_Unsafe_Throw = 1 << 2 }   XML-encode flags. More...
  enum   NStr::EHtmlEncode {
  NStr::fHtmlEnc_EncodeAll = 0 , NStr::fHtmlEnc_SkipLiteralEntities = 1 << 1 , NStr::fHtmlEnc_SkipNumericEntities = 1 << 2 , NStr::fHtmlEnc_SkipEntities = fHtmlEnc_SkipLiteralEntities | fHtmlEnc_SkipNumericEntities ,
  NStr::fHtmlEnc_CheckPreencoded = 1 << 3
}   HTML-decode flags. More...
  enum   NStr::EHtmlDecode { NStr::fHtmlDec_CharRef_Entity = 1 , NStr::fHtmlDec_CharRef_Numeric = 1 << 1 , NStr::fHtmlDec_Encoding_Changed = 1 << 2 }   HTML-decode flags. More...
  enum   NStr::EJsonEncode { NStr::eJsonEnc_UTF8 , NStr::eJsonEnc_Quoted }   Json-encode flags. More...
  enum   NStr::EUrlEncode {
  NStr::eUrlEnc_SkipMarkChars , NStr::eUrlEnc_ProcessMarkChars , NStr::eUrlEnc_PercentOnly , NStr::eUrlEnc_Path ,
  NStr::eUrlEnc_URIScheme , NStr::eUrlEnc_URIUserinfo , NStr::eUrlEnc_URIHost , NStr::eUrlEnc_URIPath ,
  NStr::eUrlEnc_URIQueryName , NStr::eUrlEnc_URIQueryValue , NStr::eUrlEnc_URIFragment , NStr::eUrlEnc_Cookie ,
  NStr::eUrlEnc_None
}   URL-encode flags. More...
  enum   NStr::EUrlDecode { NStr::eUrlDec_All , NStr::eUrlDec_Percent }   URL decode flags. More...
  enum   NStr::ESqlEncode { NStr::eSqlEnc_Plain , NStr::eSqlEnc_TagNonASCII }   SQL encode flags. More...
  enum   NStr::EWrapFlags { NStr::fWrap_Hyphenate = 0x1 , NStr::fWrap_HTMLPre = 0x2 , NStr::fWrap_FlatFile = 0x4 }   How to wrap the words in a string to a new line. More...
  enum   NStr::EDedentFlags { NStr::fDedent_NormalizeEmptyLines = 1 << 0 , NStr::fDedent_SkipFirstLine = 1 << 1 , NStr::fDedent_SkipEmptyFirstLine = 1 << 2 }   Flags for Dedent() method. More...
  enum   CUtf8::EValidate { CUtf8::eNoValidate , CUtf8::eValidate }   How to verify character encoding of the source data. More...
  enum   CParseTemplException< TBase >::EErrCode { CParseTemplException< TBase >::eErr }   Error types that for exception class. More...
  enum   CStringException::EErrCode { CStringException::eConvert , CStringException::eBadArgs , CStringException::eFormat }   Error types that string classes can generate. More...
  enum   IStringDecoder::EStringType { IStringDecoder::eName , IStringDecoder::eValue }   Type of string to be decoded. More...
  enum   IStringEncoder::EStringType { IStringEncoder::eName , IStringEncoder::eValue }   Type of string to be decoded. More...
  enum   CTempStringEx::EZeroAtEnd { CTempStringEx::eNoZeroAtEnd , CTempStringEx::eHasZeroAtEnd }   const char *  g_GetNcbiString (ENcbiStrings what)     CTempXStr< _TChar >::CTempXStr (void)     CTempXStr< _TChar >::CTempXStr (const CTempXStr &lw)     CTempXStr< _TChar >::CTempXStr (const _TChar *str)     CTempXStr< _TChar >::CTempXStr (const _TChar *str, size_t len)     CTempXStr< _TChar >::CTempXStr (const _TChar *str, size_t pos, size_t len)     CTempXStr< _TChar >::CTempXStr (const basic_string< _TChar > &str)     CTempXStr< _TChar >::CTempXStr (const basic_string< _TChar > &str, size_t len)     CTempXStr< _TChar >::CTempXStr (const basic_string< _TChar > &str, size_t pos, size_t len)     CTempXStr< _TChar >::operator basic_string< _TChar > (void) const   const _TChar *  CTempXStr< _TChar >::data (void) const   size_t  CTempXStr< _TChar >::length (void) const   bool  CTempXStr< _TChar >::empty (void) const   _TChar  CTempXStr< _TChar >::operator[] (size_t pos) const   int  CTempXStr< _TChar >::CompareCase (const CTempXStr< _TChar > &pattern) const   int  CTempXStr< _TChar >::CompareNocase (const CTempXStr< _TChar > &pattern) const   static size_t  CTempXStr< _TChar >::x_npos (void)   size_t  CTempXStr< _TChar >::x_length (void) const   template<typename _TChar > static int  XStr::CompareCase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)   template<typename _TChar > static int  XStr::CompareCase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)   template<typename _TChar > static int  XStr::CompareCase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)   template<typename _TChar > static int  XStr::CompareCase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)   template<typename _TChar > static int  XStr::CompareNocase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)   template<typename _TChar > static int  XStr::CompareNocase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)   template<typename _TChar > static int  XStr::CompareNocase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)   template<typename _TChar > static int  XStr::CompareNocase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)   template<typename _TChar > static int  XStr::Compare (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern, ECase use_case=eCase)   template<typename _TChar > static int  XStr::strcmp (const _TChar *s1, const _TChar *s2)   template<typename _TChar > static int  XStr::strncmp (const _TChar *s1, const _TChar *s2, size_t n)   template<typename _TChar > static int  XStr::strcasecmp (const _TChar *s1, const _TChar *s2)   template<typename _TChar > static int  XStr::strncasecmp (const _TChar *s1, const _TChar *s2, size_t n)   template<typename _TChar > static int  XStr::CompareCase (const _TChar *s1, const _TChar *s2)   template<typename _TChar > static int  XStr::CompareCase (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2)   template<typename _TChar > static int  XStr::CompareNocase (const _TChar *s1, const _TChar *s2)   template<typename _TChar > static int  XStr::CompareNocase (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2)   template<typename _TChar > static int  XStr::Compare (const basic_string< _TChar > &s1, const _TChar *s2, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const _TChar *s1, const _TChar *s2, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2, ECase use_case=eCase)   template<typename _TChar > static int  XStr::Compare (const _TChar *s1, const basic_string< _TChar > &s2, ECase use_case=eCase)   static const stringCNcbiEmptyString::Get (void)   Get string. More...
  static const wstring &  CNcbiEmptyWString::Get (void)   Get string. More...
  const char *  impl_ToCString (const char *s)   const char *  impl_ToCString (const string &s)   template<typename TNumeric > static TNumeric  NStr::StringToNumeric (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to a numeric value. More...
  template<typename TNumeric > static bool  NStr::StringToNumeric (const CTempString str, TNumeric *value, TStringToNumFlags flags=0, int base=10)   Convert string to a numeric value. More...
  static int  NStr::StringToNonNegativeInt (const CTempString str, TStringToNumFlags flags=0)   Convert string to non-negative integer value. More...
  static int  NStr::StringToNumeric (const string &str)   static int  NStr::StringToInt (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to int. More...
  static unsigned int  NStr::StringToUInt (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to unsigned int. More...
  static long  NStr::StringToLong (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to long. More...
  static unsigned long  NStr::StringToULong (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to unsigned long. More...
  static double  NStr::StringToDoublePosix (const char *str, char **endptr=0, TStringToNumFlags flags=0)   Convert string to double-precision value (analog of strtod function) More...
  static double  NStr::StringToDouble (const CTempStringEx str, TStringToNumFlags flags=0)   Convert string to double. More...
  static double  NStr::StringToDoubleEx (const char *str, size_t size, TStringToNumFlags flags=0)   This version accepts zero-terminated string. More...
  static Int8  NStr::StringToInt8 (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to Int8. More...
  static Uint8  NStr::StringToUInt8 (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to Uint8. More...
  static Uint8  NStr::StringToUInt8_DataSize (const CTempString str, TStringToNumFlags flags=0)   Convert string that can contain "software" qualifiers to Uint8. More...
  static Uint8  NStr::StringToUInt8_DataSize (const CTempString str, TStringToNumFlags flags, int base)   Convert string to number of bytes. More...
  static size_t  NStr::StringToSizet (const CTempString str, TStringToNumFlags flags=0, int base=10)   Convert string to size_t. More...
  static const void *  NStr::StringToPtr (const CTempStringEx str, TStringToNumFlags flags=0)   Convert string to pointer. More...
  static int  NStr::HexChar (char ch)   Convert character to integer. More...
  template<typename TNumeric > static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type  NStr::NumericToString (TNumeric value, TNumToStringFlags flags=0, int base=10)   Convert numeric value to string. More...
  template<typename TStrictId > static enable_if< is_integral< typename TStrictId::TId >::value &&is_member_function_pointer< decltype(&TStrictId::Get)>::value, string >::type  NStr::NumericToString (TStrictId value, TNumToStringFlags flags=0, int base=10)   template<typename TNumeric > static void  NStr::NumericToString (string &out_str, TNumeric value, TNumToStringFlags flags=0, int base=10)   Convert numeric value to string. More...
  static string  NStr::IntToString (int value, TNumToStringFlags flags=0, int base=10)   Convert int to string. More...
  static string  NStr::IntToString (unsigned int value, TNumToStringFlags flags=0, int base=10)   static void  NStr::IntToString (string &out_str, int value, TNumToStringFlags flags=0, int base=10)   Convert int to string. More...
  static void  NStr::IntToString (string &out_str, unsigned int value, TNumToStringFlags flags=0, int base=10)   static string  NStr::UIntToString (unsigned int value, TNumToStringFlags flags=0, int base=10)   Convert UInt to string. More...
  static string  NStr::UIntToString (int value, TNumToStringFlags flags=0, int base=10)   static void  NStr::UIntToString (string &out_str, unsigned int value, TNumToStringFlags flags=0, int base=10)   Convert UInt to string. More...
  static void  NStr::UIntToString (string &out_str, int value, TNumToStringFlags flags=0, int base=10)   static string  NStr::LongToString (long value, TNumToStringFlags flags=0, int base=10)   Convert Int to string. More...
  static void  NStr::LongToString (string &out_str, long value, TNumToStringFlags flags=0, int base=10)   Convert Int to string. More...
  static string  NStr::ULongToString (unsigned long value, TNumToStringFlags flags=0, int base=10)   Convert unsigned long to string. More...
  static void  NStr::ULongToString (string &out_str, unsigned long value, TNumToStringFlags flags=0, int base=10)   Convert unsigned long to string. More...
  static string  NStr::Int8ToString (Int8 value, TNumToStringFlags flags=0, int base=10)   Convert Int8 to string. More...
  static void  NStr::Int8ToString (string &out_str, Int8 value, TNumToStringFlags flags=0, int base=10)   Convert Int8 to string. More...
  static string  NStr::UInt8ToString (Uint8 value, TNumToStringFlags flags=0, int base=10)   Convert UInt8 to string. More...
  static void  NStr::UInt8ToString (string &out_str, Uint8 value, TNumToStringFlags flags=0, int base=10)   Convert UInt8 to string. More...
  static string  NStr::UInt8ToString_DataSize (Uint8 value, TNumToStringFlags flags=0, unsigned int max_digits=3)   Convert UInt8 to string using "software" qualifiers. More...
  static void  NStr::UInt8ToString_DataSize (string &out_str, Uint8 value, TNumToStringFlags flags=0, unsigned int max_digits=3)   Convert UInt8 to string using "software" qualifiers. More...
  static string  NStr::DoubleToString (double value, int precision=-1, TNumToStringFlags flags=0)   Convert double to string. More...
  static void  NStr::DoubleToString (string &out_str, double value, int precision=-1, TNumToStringFlags flags=0)   Convert double to string. More...
  static SIZE_TYPE  NStr::DoubleToString (double value, unsigned int precision, char *buf, SIZE_TYPE buf_size, TNumToStringFlags flags=0)   Convert double to string with specified precision and place the result in the specified buffer. More...
  static SIZE_TYPE  NStr::DoubleToStringPosix (double value, unsigned int precision, char *buf, SIZE_TYPE buf_size)   Convert double to string with specified precision and put the result into a character buffer, in scientific format. More...
  static SIZE_TYPE  NStr::DoubleToString_Ecvt (double value, unsigned int precision, char *buf, SIZE_TYPE buf_size, int *dec, int *sign)   Convert double to string with specified precision. More...
  static string  NStr::SizetToString (size_t value, TNumToStringFlags flags=0, int base=10)   Convert size_t to string. More...
  static void  NStr::PtrToString (string &out_str, const void *ptr)   Convert pointer to string. More...
  static string  NStr::PtrToString (const void *ptr)   Convert pointer to string. More...
  static const string  NStr::BoolToString (bool value)   Convert bool to string. More...
  static bool  NStr::StringToBool (const CTempString str)   Convert string to bool. More...
  static string  NStr::FormatVarargs (const char *format, va_list args)   Handle an arbitrary printf-style format string. More...
  static int  NStr::CompareCase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)   Case-sensitive compare of a substring with another string. More...
  static int  NStr::CompareCase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2)   Case-sensitive compare of a substring with another string. More...
  static int  NStr::CompareCase (const char *s1, const char *s2)   Case-sensitive compare of two strings – char* version. More...
  static int  NStr::CompareCase (const CTempStringEx s1, const CTempStringEx s2)   Case-sensitive compare of two strings – CTempStringEx version. More...
  static int  NStr::CompareNocase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)   Case-insensitive compare of a substring with another string. More...
  static int  NStr::CompareNocase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2)   Case-insensitive compare of a substring with another string. More...
  static int  NStr::CompareNocase (const char *s1, const char *s2)   Case-insensitive compare of two strings – char* version. More...
  static int  NStr::CompareNocase (const CTempStringEx s1, const CTempStringEx s2)   Case-insensitive compare of two strings – CTempStringEx version. More...
  static int  NStr::Compare (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)   Compare of a substring with another string. More...
  static int  NStr::Compare (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2, ECase use_case=eCase)   Compare of a substring with another string. More...
  static int  NStr::Compare (const char *s1, const char *s2, ECase use_case=eCase)   Compare two strings – char* version. More...
  static int  NStr::Compare (const CTempStringEx s1, const CTempStringEx s2, ECase use_case=eCase)   Compare two strings – CTempStringEx version. More...
  static bool  NStr::EqualCase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)   Case-sensitive equality of a substring with another string. More...
  static bool  NStr::EqualCase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2)   Case-sensitive equality of a substring with another string. More...
  static bool  NStr::EqualCase (const char *s1, const char *s2)   Case-sensitive equality of two strings – char* version. More...
  static bool  NStr::EqualCase (const CTempStringEx s1, const CTempStringEx s2)   Case-sensitive equality of two strings. More...
  static bool  NStr::EqualNocase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)   Case-insensitive equality of a substring with another string. More...
  static bool  NStr::EqualNocase (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2)   Case-insensitive equality of a substring with another string. More...
  static bool  NStr::EqualNocase (const char *s1, const char *s2)   Case-insensitive equality of two strings – char* version. More...
  static bool  NStr::EqualNocase (const CTempStringEx s1, const CTempStringEx s2)   Case-insensitive equality of two strings. More...
  static bool  NStr::Equal (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)   Test for equality of a substring with another string. More...
  static bool  NStr::Equal (const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const CTempString s2, ECase use_case=eCase)   Test for equality of a substring with another string. More...
  static bool  NStr::Equal (const char *s1, const char *s2, ECase use_case=eCase)   Test for equality of two strings – char* version. More...
  static bool  NStr::Equal (const CTempStringEx s1, const CTempStringEx s2, ECase use_case=eCase)   Test for equality of two strings. More...
  static int  NStr::strcmp (const char *s1, const char *s2)   String compare. More...
  static int  NStr::strncmp (const char *s1, const char *s2, size_t n)   String compare up to specified number of characters. More...
  static int  NStr::strcasecmp (const char *s1, const char *s2)   Case-insensitive comparison of two zero-terminated strings. More...
  static int  NStr::strncasecmp (const char *s1, const char *s2, size_t n)   Case-insensitive comparison of two zero-terminated strings, narrowed to the specified number of characters. More...
  static size_t  NStr::strftime (char *s, size_t maxsize, const char *format, const struct tm *timeptr)   Wrapper for the function strftime() that corrects handling D and T time formats on MS Windows. More...
  static bool  NStr::MatchesMask (CTempString str, CTempString mask, ECase use_case=eCase)   Match "str" against the "mask". More...
  static bool  NStr::IsBlank (const CTempString str, SIZE_TYPE pos=0)   Check if a string is blank (has no text). More...
  static bool  NStr::IsLower (const CTempString str)   Checks if all letters in the given string have a lower case. More...
  static bool  NStr::IsUpper (const CTempString str)   Checks if all letters in the given string have a upper case. More...
  static stringNStr::ToLower (string &str)   Convert string to lower case – string& version. More...
  static char *  NStr::ToLower (char *str)   Convert string to lower case – char* version. More...
  static stringNStr::ToUpper (string &str)   Convert string to upper case – string& version. More...
  static char *  NStr::ToUpper (char *str)   Convert string to upper case – char* version. More...
  static void  NStr::ToLower (const char *)   Privatized ToLower() with const char* parameter to prevent passing of constant strings. More...
  static void  NStr::ToUpper (const char *)   Privatized ToUpper() with const char* parameter to prevent passing of constant strings. More...
  static bool  NStr::StartsWith (const CTempString str, const CTempString start, ECase use_case=eCase)   Check if a string starts with a specified prefix value. More...
  static bool  NStr::StartsWith (const CTempString str, char start, ECase use_case=eCase)   Check if a string starts with a specified character value. More...
  static bool  NStr::EndsWith (const CTempString str, const CTempString end, ECase use_case=eCase)   Check if a string ends with a specified suffix value. More...
  static bool  NStr::EndsWith (const CTempString str, char end, ECase use_case=eCase)   Check if a string ends with a specified character value. More...
  static SIZE_TYPE  NStr::CommonPrefixSize (const CTempString s1, const CTempString s2)   Determine the common prefix of two strings. More...
  static SIZE_TYPE  NStr::CommonSuffixSize (const CTempString s1, const CTempString s2)   Determine the common suffix of two strings. More...
  static SIZE_TYPE  NStr::CommonOverlapSize (const CTempString s1, const CTempString s2)   Determine if the suffix of one string is the prefix of another. More...
  static SIZE_TYPE  NStr::Find (const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)   Find the pattern in the string. More...
  static SIZE_TYPE  NStr::Find (const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst, ECase use_case=eCase)   Find the pattern in the specified range of a string. More...
  static SIZE_TYPE  NStr::Find (const CTempString str, const CTempString pattern, SIZE_TYPE start)   Wrapper for backward-compatibility. More...
  static SIZE_TYPE  NStr::FindCase (const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)   Find the pattern in the specified range of a string using a case sensitive search. More...
  static SIZE_TYPE  NStr::FindCase (const CTempString str, const CTempString pattern)   Wrappers for backward-compatibility. More...
  static SIZE_TYPE  NStr::FindCase (const CTempString str, const CTempString pattern, SIZE_TYPE start)   static SIZE_TYPE  NStr::FindNoCase (const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)   Find the pattern in the specified range of a string using a case insensitive search. More...
  static SIZE_TYPE  NStr::FindNoCase (const CTempString str, const CTempString pattern)   Wrapper for backward-compatibility. More...
  static SIZE_TYPE  NStr::FindNoCase (const CTempString str, const CTempString pattern, SIZE_TYPE start)   static const stringNStr::Find (const list< string > &lst, const CTempString val, ECase use_case=eCase)   Test for presence of a given string in a list or vector of strings. More...
  static const stringNStr::FindCase (const list< string > &lst, const CTempString val)   static const stringNStr::FindNoCase (const list< string > &lst, const CTempString val)   static const stringNStr::Find (const vector< string > &vec, const CTempString val, ECase use_case=eCase)   static const stringNStr::FindCase (const vector< string > &vec, const CTempString val)   static const stringNStr::FindNoCase (const vector< string > &vec, const CTempString val)   static SIZE_TYPE  NStr::FindWord (const CTempString str, const CTempString word, ECase use_case=eCase, EDirection direction=eForwardSearch)   Find given word in the string. More...
  static SIZE_TYPE  NStr::FindWord (const CTempString str, const CTempString word, EOccurrence which, ECase use_case=eCase)   Find given word in the string. More...
  static string  NStr::TruncateSpaces (const string &str, ETrunc where=eTrunc_Both)   Truncate whitespace in a string. More...
  static CTempString  NStr::TruncateSpaces_Unsafe (const CTempString str, ETrunc where=eTrunc_Both)   Truncate whitespace in a string. More...
  static CTempString  NStr::TruncateSpaces (const CTempString str, ETrunc where=eTrunc_Both)   static CTempString  NStr::TruncateSpaces (const char *str, ETrunc where=eTrunc_Both)   static void  NStr::TruncateSpacesInPlace (string &str, ETrunc where=eTrunc_Both)   Truncate whitespace in a string (in-place) More...
  static void  NStr::TruncateSpacesInPlace (CTempString &, ETrunc where=eTrunc_Both)   static void  NStr::TrimPrefixInPlace (string &str, const CTempString prefix, ECase use_case=eCase)   Trim prefix from a string (in-place) More...
  static void  NStr::TrimPrefixInPlace (CTempString &str, const CTempString prefix, ECase use_case=eCase)   static CTempString  NStr::TrimPrefix_Unsafe (const CTempString str, const CTempString prefix, ECase use_case=eCase)   Trim prefix from a string. More...
  static void  NStr::TrimSuffixInPlace (string &str, const CTempString suffix, ECase use_case=eCase)   Trim suffix from a string (in-place) More...
  static void  NStr::TrimSuffixInPlace (CTempString &str, const CTempString suffix, ECase use_case=eCase)   static CTempString  NStr::TrimSuffix_Unsafe (const CTempString str, const CTempString suffix, ECase use_case=eCase)   Trim suffix from a string. More...
  static stringNStr::Replace (const string &src, const string &search, const string &replace, string &dst, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)   Replace occurrences of a substring within a string. More...
  static string  NStr::Replace (const string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)   Replace occurrences of a substring within a string and returns the result as a new string. More...
  static stringNStr::ReplaceInPlace (string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)   Replace occurrences of a substring within a string. More...
  static list< string > &  NStr::Split (const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)   Split a string using specified delimiters. More...
  static vector< string > &  NStr::Split (const CTempString str, const CTempString delim, vector< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)   static list< CTempString > &  NStr::Split (const CTempString str, const CTempString delim, list< CTempString > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static vector< CTempString > &  NStr::Split (const CTempString str, const CTempString delim, vector< CTempString > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static list< CTempStringEx > &  NStr::Split (const CTempString str, const CTempString delim, list< CTempStringEx > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static vector< CTempStringEx > &  NStr::Split (const CTempString str, const CTempString delim, vector< CTempStringEx > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static bool  NStr::SplitInTwo (const CTempString str, const CTempString delim, string &str1, string &str2, TSplitFlags flags=0)   Split a string into two pieces using the specified delimiters. More...
  static bool  NStr::SplitInTwo (const CTempString str, const CTempString delim, CTempString &str1, CTempString &str2, TSplitFlags flags=0, CTempString_Storage *storage=NULL)   static bool  NStr::SplitInTwo (const CTempString str, const CTempString delim, CTempStringEx &str1, CTempStringEx &str2, TSplitFlags flags=0, CTempString_Storage *storage=NULL)   static list< string > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)   Variation of Split() with fSplit_ByPattern flag applied by default. More...
  static vector< string > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, vector< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)   static list< CTempString > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, list< CTempString > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static vector< CTempString > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, vector< CTempString > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static list< CTempStringEx > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, list< CTempStringEx > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   static vector< CTempStringEx > &  NStr::SplitByPattern (const CTempString str, const CTempString delim, vector< CTempStringEx > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL, CTempString_Storage *storage=NULL)   template<typename TContainer > static string  NStr::Join (const TContainer &arr, const CTempString &delim)   Join strings using the specified delimiter. More...
  template<typename TValue > static string  NStr::Join (const initializer_list< TValue > &arr, const CTempString &delim)   template<typename TInputIterator > static string  NStr::Join (TInputIterator from, TInputIterator to, const CTempString &delim)   template<typename TInputIterator > static string  NStr::JoinNumeric (TInputIterator from, TInputIterator to, const CTempString &delim)   template<typename TIterator , typename FTransform > static string  NStr::TransformJoin (TIterator from, TIterator to, const CTempString &delim, FTransform fnTransform)   static string  NStr::PrintableString (const CTempString str, TPrintableMode mode=fNewLine_Quote|fNonAscii_Passthru)   Get a printable version of the specified string. More...
  static string  NStr::Escape (const CTempString str, const CTempString metacharacters, char escape_char='\\')   Escape string (generic version). More...
  static string  NStr::Unescape (const CTempString str, char escape_char='\\')   Unescape string (generic version). More...
  static string  NStr::Quote (const CTempString str, char quote_char='"', char escape_char = '\\')   Quote string (generic version). More...
  static string  NStr::Unquote (const CTempString str, char escape_char='\\')   Unquote string (generic version). More...
  static string  NStr::Sanitize (CTempString str, TSS_Flags flags=fSS_print)   Sanitize a string, allowing only specified classes of characters. More...
  static string  NStr::Sanitize (CTempString str, CTempString allow_chars, CTempString reject_chars, char reject_replacement=' ', TSS_Flags flags=0)   Sanitize a string, allowing only specified characters or character classes. More...
  static string  NStr::ParseEscapes (const CTempString str, EEscSeqRange mode=eEscSeqRange_Standard, char user_char='?')   Parse C-style escape sequences in the specified string. More...
  static string  NStr::ParseQuoted (const CTempString str, size_t *n_read=NULL)   Discard C-style backslash escapes and extract a quoted string. More...
  static string  NStr::CEncode (const CTempString str, EQuoted quoted=eQuoted)   Encode a string for C/C++. More...
  static string  NStr::CParse (const CTempString str, EQuoted quoted=eQuoted)   Discard C-style backslash escapes. More...
  static string  NStr::JavaScriptEncode (const CTempString str)   Encode a string for JavaScript. More...
  static string  NStr::XmlEncode (const CTempString str, TXmlEncode flags=eXmlEnc_Contents)   Encode a string for XML. More...
  static string  NStr::HtmlEncode (const CTempString str, THtmlEncode flags=fHtmlEnc_EncodeAll)   Encode a string for HTML. More...
  static string  NStr::HtmlDecode (const CTempString str, EEncoding encoding=eEncoding_Unknown, THtmlDecode *result_flags=NULL)   Decode HTML entities and character references. More...
  static string  NStr::HtmlEntity (TUnicodeSymbol uch)   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. More...
  static string  NStr::JsonEncode (const CTempString str, EJsonEncode encoding=eJsonEnc_UTF8)   Encode a string for JSON. More...
  static string  NStr::JsonDecode (const CTempString str, size_t *n_read=NULL)   Decode a string encoded by JsonEncode. More...
  static string  NStr::ShellEncode (const string &str)   Quotes a string in Bourne Again Shell (BASH) syntax, in a way that disallows non-printable characters in the result. More...
  static string  NStr::URLEncode (const CTempString str, EUrlEncode flag=eUrlEnc_SkipMarkChars)   URL-encode string. More...
  static CStringUTF8  NStr::SQLEncode (const CStringUTF8 &str, ESqlEncode flag)   SQL-encode string. More...
  static CStringUTF8  NStr::SQLEncode (const CStringUTF8 &str)   static string  NStr::URLDecode (const CTempString str, EUrlDecode flag=eUrlDec_All)   URL-decode string. More...
  static void  NStr::URLDecodeInPlace (string &str, EUrlDecode flag=eUrlDec_All)   URL-decode string to itself. More...
  static bool  NStr::NeedsURLEncoding (const CTempString str, EUrlEncode flag=eUrlEnc_SkipMarkChars)   Check if the string needs the requested URL-encoding. More...
  static string  NStr::Base64Encode (const CTempString str, size_t line_len=0)   Base64-encode string. More...
  static string  NStr::Base64Decode (const CTempString str)   Base64-decode string. More...
  static bool  NStr::IsIPAddress (const CTempStringEx str)   Check if the string contains a valid IP address. More...
  template<typename _D > static void  NStr::WrapIt (const string &str, SIZE_TYPE width, _D &dest, TWrapFlags flags=0, const string *prefix=0, const string *prefix1=0)   Wrap the specified string into lines of a specified width. More...
  virtual  NStr::IWrapDest::~IWrapDest ()   virtual void  NStr::IWrapDest::Append (const string &s)=0   virtual void  NStr::IWrapDest::Append (const CTempString &s)=0     NStr::CWrapDestStringList::CWrapDestStringList (list< string > &l)   virtual void  NStr::CWrapDestStringList::Append (const string &s)   virtual void  NStr::CWrapDestStringList::Append (const CTempString &s)   static void  NStr::Wrap (const string &str, SIZE_TYPE width, IWrapDest &dest, TWrapFlags flags, const string *prefix, const string *prefix1)   static list< string > &  NStr::Wrap (const string &str, SIZE_TYPE width, list< string > &arr, TWrapFlags flags=0, const string *prefix=0, const string *prefix1=0)   static list< string > &  NStr::Wrap (const string &str, SIZE_TYPE width, list< string > &arr, TWrapFlags flags, const string &prefix, const string *prefix1=0)   static list< string > &  NStr::Wrap (const string &str, SIZE_TYPE width, list< string > &arr, TWrapFlags flags, const string &prefix, const string &prefix1)   static list< string > &  NStr::WrapList (const list< string > &l, SIZE_TYPE width, const string &delim, list< string > &arr, TWrapFlags flags=0, const string *prefix=0, const string *prefix1=0)   Wrap the list using the specified criteria. More...
  static list< string > &  NStr::WrapList (const list< string > &l, SIZE_TYPE width, const string &delim, list< string > &arr, TWrapFlags flags, const string &prefix, const string *prefix1=0)   static list< string > &  NStr::WrapList (const list< string > &l, SIZE_TYPE width, const string &delim, list< string > &arr, TWrapFlags flags, const string &prefix, const string &prefix1)   static list< string > &  NStr::Justify (const CTempString str, SIZE_TYPE width, list< string > &par, const CTempString *pfx=0, const CTempString *pfx1=0)   Justify the specified string into a series of lines of the same width. More...
  static list< string > &  NStr::Justify (const CTempString str, SIZE_TYPE width, list< string > &par, const CTempString pfx, const CTempString *pfx1=0)   static list< string > &  NStr::Justify (const CTempString str, SIZE_TYPE width, list< string > &par, const CTempString pfx, const CTempString pfx1)   static string  NStr::Dedent (const CTempString str, TDedentFlags flags=0)   Dedent multi-line string, removing common whitespace prefix for each line. More...
  static string  NStr::DedentR (const CTempString str)   static string  NStr::GetField (const CTempString str, size_t field_no, const CTempString delimiters, EMergeDelims merge=eNoMergeDelims)   Search for a field. More...
  static string  NStr::GetField (const CTempString str, size_t field_no, char delimiter, EMergeDelims merge=eNoMergeDelims)   Search for a field. More...
  static CTempString  NStr::GetField_Unsafe (const CTempString str, size_t field_no, const CTempString delimiters, EMergeDelims merge=eNoMergeDelims)   Search for a field. More...
  static CTempString  NStr::GetField_Unsafe (const CTempString str, size_t field_no, char delimiter, EMergeDelims merge=eNoMergeDelims)   Search for a field. More...
  static bool  NStr::x_ReportLimitsError (const CTempString str, TStringToNumFlags flags)   template<typename TNumeric , typename TSource > static bool  NStr::x_VerifyIntLimits (TSource v, const CTempString str, TStringToNumFlags flags)   template<typename TNumeric , typename TSource > static bool  NStr::x_VerifyFloatLimits (TSource v, const CTempString str, TStringToNumFlags flags)   template<typename TNumeric > static enable_if< is_integral< TNumeric >::value &&is_signed< TNumeric >::value &&(sizeof(TNumeric)< sizeof(int)), TNumeric >::type  NStr::x_StringToNumeric (const CTempString str, TStringToNumFlags flags, int base)   template<typename TNumeric > static enable_if< is_integral< TNumeric >::value &&is_signed< TNumeric >::value &&(sizeof(TNumeric)< sizeof(int)), bool >::type  NStr::x_StringToNumeric (const CTempString str, TNumeric *value, TStringToNumFlags flags, int base)   static bool  NStr::x_StringToNumeric (const CTempString str, long *value, TStringToNumFlags flags, int base)   static bool  NStr::x_StringToNumeric (const CTempString str, unsigned long *value, TStringToNumFlags flags, int base)   static bool  NStr::x_StringToNumeric (const CTempString str, float *value, TStringToNumFlags flags, int)   static bool  NStr::x_StringToNumeric (const CTempString str, double *value, TStringToNumFlags flags, int)   template<typename TStrictId > static enable_if< is_integral< typename TStrictId::TId >::value &&is_member_function_pointer< decltype(&TStrictId::Get)>::value, bool >::type  NStr::x_StringToNumeric (const CTempString str, TStrictId *value, TStringToNumFlags flags, int base)   template<typename TNumeric > static enable_if< is_integral< TNumeric >::value &&is_signed< TNumeric >::value &&(sizeof(TNumeric)<=sizeof(int) &&!is_same< TNumeric, long >::value), void >::type  NStr::x_NumericToString (string &out_str, TNumeric value, TNumToStringFlags flags, int base)   static void  NStr::x_NumericToString (string &out_str, long value, TNumToStringFlags flags, int base)   static void  NStr::x_NumericToString (string &out_str, unsigned long value, TNumToStringFlags flags, int base)   template<typename TStrictId > static enable_if< is_integral< typename TStrictId::TId >::value &&is_member_function_pointer< decltype(&TStrictId::Get)>::value, void >::type  NStr::x_NumericToString (string &out_str, TStrictId value, TNumToStringFlags flags, int base)   template<typename TIterator > static string  NStr::xx_Join (TIterator from, TIterator to, const CTempString &delim)   template<typename TIterator > static enable_if< is_same< typename TIterator::iterator_category, input_iterator_tag >::value &&is_convertible< typename TIterator::value_type, string >::value, string >::type  NStr::x_Join (TIterator from, TIterator to, const CTempString &delim)   template<typename TValue > static enable_if< is_convertible< TValue, string >::value, string >::type  NStr::x_Join (TValue *from, TValue *to, const CTempString &delim)   CNcbiOstreamoperator<< (CNcbiOstream &os, const TStringUCS2 &str)   Operator for writing TStringUCS2 to stream. More...
  static CStringUTF8  CUtf8::AsUTF8 (const CTempString &src, EEncoding encoding, EValidate validate=eNoValidate)   Convert into UTF8 from a C/C++ string. More...
  static CStringUTF8  CUtf8::AsUTF8 (const CTempString &src, const locale &lcl)   Convert into UTF8 from a C/C++ string. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), CStringUTF8 >::type  CUtf8::AsUTF8 (const basic_string< TChar > &src)   Convert into UTF8 from a Unicode C++ string. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), CStringUTF8 >::type  CUtf8::AsUTF8 (const TChar *src, SIZE_TYPE tchar_count=NCBI_NS_STD::string::npos)   Convert into UTF8 from a Unicode character buffer. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), CStringUTF8 & >::type  CUtf8::AppendAsUTF8 (CStringUTF8 &dest, const basic_string< TChar > &src)   Convert Unicode C++ string into UTF8 and append it to existing string. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), CStringUTF8 & >::type  CUtf8::AppendAsUTF8 (CStringUTF8 &dest, const TChar *src, SIZE_TYPE tchar_count=NCBI_NS_STD::string::npos)   Convert Unicode character buffer into UTF8 and append it to existing string. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), CStringUTF8 & >::type  CUtf8::AppendAsUTF8 (CStringUTF8 &dest, TChar ch)   Convert Unicode symbol into UTF8 and append it to existing string. More...
  static CStringUTF8CUtf8::AppendAsUTF8 (CStringUTF8 &dest, const CTempString &src, EEncoding encoding, EValidate validate=eNoValidate)   Convert non-Unicode C++ string into UTF8 and append it to existing string. More...
  static CStringUTF8CUtf8::AppendAsUTF8 (CStringUTF8 &dest, const CTempString &src, const locale &lcl)   Convert non-Unicode C++ string into UTF8 and append it to existing string. More...
  static CStringUTF8CUtf8::AppendAsUTF8 (CStringUTF8 &dest, char ch, EEncoding encoding, EValidate validate=eNoValidate)   Convert non-Unicode character into UTF8 and append it to existing string. More...
  static CStringUTF8CUtf8::AppendAsUTF8 (CStringUTF8 &dest, char ch, const locale &lcl)   Convert non-Unicode character into UTF8 and append it to existing string. More...
  static string  CUtf8::AsSingleByteString (const CTempString &src, EEncoding encoding, const char *substitute_on_error=0, EValidate validate=eNoValidate)   Convert UTF8 string into a single-byte character representation. More...
  static string  CUtf8::AsSingleByteString (const CTempString &src, const locale &lcl, const char *substitute_on_error=0, EValidate validate=eNoValidate)   template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), basic_string< TChar > >::type  CUtf8::AsBasicString (const CTempString &src, const TChar *substitute_on_error, EValidate validate=eNoValidate)   Convert UTF8 string into Unicode. More...
  template<typename TChar > static enable_if< is_integral< TChar >::value &&(1< sizeof(TChar)), basic_string< TChar > >::type  CUtf8::AsBasicString (const CTempString &src)   static SIZE_TYPE  CUtf8::GetSymbolCount (const CTempString &src)   Get the number of symbols (code points) in UTF8 string. More...
  static SIZE_TYPE  CUtf8::GetValidSymbolCount (const CTempString &src)   Get the number of valid UTF-8 symbols (code points) in buffer. More...
  static SIZE_TYPE  CUtf8::GetValidBytesCount (const CTempString &src)   Get the number of valid UTF-8 bytes (code units) in buffer. More...
  static SIZE_TYPE  CUtf8::EvaluateSymbolLength (const CTempString &src)   Check buffer for presence of UTF-8 byte sequence and return length of first symbol. More...
  static bool  CUtf8::EvaluateFirst (char ch, SIZE_TYPE &more)   Check that the character is valid first byte of an UTF8 byte sequence. More...
  static bool  CUtf8::EvaluateNext (char ch)   Check that the character is valid continuation byte of an UTF8 byte sequence. More...
  static bool  CUtf8::MatchEncoding (const CTempString &src, EEncoding encoding)   Check the encoding of the C/C++ string. More...
  static EEncoding  CUtf8::GuessEncoding (const CTempString &src)   Guess the encoding of the C/C++ string. More...
  static string  CUtf8::EncodingToString (EEncoding encoding)   Give Encoding name as string. More...
  static EEncoding  CUtf8::StringToEncoding (const CTempString &encoding_name)   Convert encoding name into EEncoding enum, taking into account synonyms as per http://www.iana.org/assignments/character-sets. More...
  static TUnicodeSymbol  CUtf8::CharToSymbol (char ch, EEncoding encoding)   Convert encoded character into Unicode. More...
  static TUnicodeSymbol  CUtf8::CharToSymbol (char ch, const locale &lcl)   Convert encoded character into Unicode. More...
  static char  CUtf8::SymbolToChar (TUnicodeSymbol sym, EEncoding encoding)   Convert Unicode code point into encoded character. More...
  static char  CUtf8::SymbolToChar (TUnicodeSymbol sym, const locale &lcl)   Convert Unicode code point into encoded character. More...
  static bool  CUtf8::IsWhiteSpace (TUnicodeSymbol sym)   Determines if a symbol is whitespace per http://unicode.org/charts/uca/chart_Whitespace.html. More...
  static CStringUTF8CUtf8::TruncateSpacesInPlace (CStringUTF8 &str, NStr::ETrunc side=NStr::eTrunc_Both)   Truncate whitespace in the string (in-place) More...
  static CStringUTF8  CUtf8::TruncateSpaces (const CTempString &str, NStr::ETrunc side=NStr::eTrunc_Both)   Truncate whitespace in the string. More...
  static CTempString  CUtf8::TruncateSpaces_Unsafe (const CTempString &str, NStr::ETrunc side=NStr::eTrunc_Both)   Truncate whitespace in the string. More...
  static TUnicodeSymbol  CUtf8::Decode (const char *&src)   Convert sequence of UTF8 code units into Unicode code point. More...
  static TUnicodeSymbol  CUtf8::Decode (string::const_iterator &src)   Convert sequence of UTF8 code units into Unicode code point. More...
  static TUnicodeSymbol  CUtf8::DecodeFirst (char ch, SIZE_TYPE &more)   Begin converting first character of UTF8 sequence into Unicode. More...
  static TUnicodeSymbol  CUtf8::DecodeNext (TUnicodeSymbol chU, char ch)   Convert next character of UTF8 sequence into Unicode. More...
  static void  CUtf8::x_Validate (const CTempString &str)   static SIZE_TYPE  CUtf8::x_GetValidSymbolCount (const CTempString &src, CTempString::const_iterator &err)   static CStringUTF8CUtf8::x_AppendChar (CStringUTF8 &u8str, TUnicodeSymbol ch)   static CStringUTF8CUtf8::x_Append (CStringUTF8 &u8str, const CTempString &src, EEncoding encoding, EValidate validate)   static CStringUTF8CUtf8::x_Append (CStringUTF8 &u8str, const CTempString &src, const locale &lcl)   template<typename TChar > static bool  CUtf8::x_TCharToUnicodeSymbol (TUnicodeSymbol &u, const TChar *src)   template<typename TChar > static CStringUTF8CUtf8::x_Append (CStringUTF8 &u8str, const TChar *src, SIZE_TYPE tchar_count)   template<typename TChar > static basic_string< TCharCUtf8::x_AsBasicString (const CTempString &src, const TChar *substitute_on_error, EValidate validate)   template<typename TIterator > static TUnicodeSymbol  CUtf8::x_Decode (TIterator &src)   static SIZE_TYPE  CUtf8::x_BytesNeeded (TUnicodeSymbol ch)   static bool  CUtf8::x_EvalFirst (char ch, SIZE_TYPE &more)   static bool  CUtf8::x_EvalNext (char ch)   static CTempString  CUtf8::x_GetErrorFragment (const CTempString &src)   virtual const char *  CParseTemplException< TBase >::GetErrCodeString (void) const override   Translate from the error code value to its string representation. More...
    CParseTemplException< TBase >::CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, string::size_type pos, EDiagSev severity=eDiag_Error)   Constructor. More...
    CParseTemplException< TBase >::CParseTemplException (const CParseTemplException< TBase > &other)   Constructor. More...
  virtual  CParseTemplException< TBase >::~CParseTemplException (void) noexcept   Destructor. More...
  virtual void  CParseTemplException< TBase >::ReportExtra (ostream &out) const override   Report error position. More...
  virtual const char *  CParseTemplException< TBase >::GetType (void) const override   Get exception class type. More...
  TErrCode  CParseTemplException< TBase >::GetErrCode (void) const   Get error code. More...
  string::size_type  CParseTemplException< TBase >::GetPos (void) const noexcept   Get error position. More...
    CParseTemplException< TBase >::CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, const string &message, string::size_type pos, EDiagSev severity, CException::TFlags flags)     CParseTemplException< TBase >::CParseTemplException (void)   Constructor. More...
  virtual const CExceptionCParseTemplException< TBase >::x_Clone (void) const override   Helper clone method. More...
  virtual const char *  CStringException::GetErrCodeString (void) const override   Translate from the error code value to its string representation. More...
    CStringException::NCBI_EXCEPTION_DEFAULT2 (CStringException, CParseTemplException< CCoreException >, std::string::size_type)   virtual string  IStringDecoder::Decode (const CTempString src, EStringType stype) const =0   Decode the string. More...
  virtual  IStringDecoder::~IStringDecoder (void)   virtual string  IStringEncoder::Encode (const CTempString src, EStringType stype) const =0   Encode the string. More...
  virtual  IStringEncoder::~IStringEncoder (void)     CStringDecoder_Url::CStringDecoder_Url (NStr::EUrlDecode flag=NStr::eUrlDec_All)   virtual string  CStringDecoder_Url::Decode (const CTempString src, EStringType stype) const     CStringEncoder_Url::CStringEncoder_Url (NStr::EUrlEncode flag=NStr::eUrlEnc_SkipMarkChars)   virtual string  CStringEncoder_Url::Encode (const CTempString src, EStringType stype) const     CStringPairs< TContainer >::CStringPairs (IStringDecoder *decoder=NULL, EOwnership own_decoder=eTakeOwnership, IStringEncoder *encoder=NULL, EOwnership own_encoder=eTakeOwnership)   Create parser with the specified decoder/encoder and default separators. More...
    CStringPairs< TContainer >::CStringPairs (const CTempString arg_sep, const CTempString val_sep, IStringDecoder *decoder=NULL, EOwnership own_decoder=eTakeOwnership, IStringEncoder *encoder=NULL, EOwnership own_encoder=eTakeOwnership)   Create parser with the specified parameters. More...
    CStringPairs< TContainer >::CStringPairs (NStr::EUrlDecode decode_flag, NStr::EUrlEncode encode_flag)   Create parser with the selected URL-encoding/decoding options and default separators. More...
  virtual  CStringPairs< TContainer >::~CStringPairs (void)   void  CStringPairs< TContainer >::SetDecoder (IStringDecoder *decoder, EOwnership own=eTakeOwnership)   Set string decoder. More...
  IStringDecoderCStringPairs< TContainer >::GetDecoder (void)   Get decoder or NULL. Does not affect decoder ownership. More...
  void  CStringPairs< TContainer >::SetEncoder (IStringEncoder *encoder, EOwnership own=eTakeOwnership)   Set string encoder. More...
  IStringEncoderCStringPairs< TContainer >::GetEncoder (void)   Get encoder or NULL. Does not affect encoder ownership. More...
  void  CStringPairs< TContainer >::Parse (const CTempString str, NStr::EMergeDelims merge_argsep=NStr::eMergeDelims)   Parse the string. More...
  static void  CStringPairs< TContainer >::Parse (TStrPairs &pairs, const CTempString str, const CTempString arg_sep, const CTempString val_sep, IStringDecoder *decoder=NULL, EOwnership own=eTakeOwnership, NStr::EMergeDelims merge_argsep=NStr::eMergeDelims)   Parse the string using the provided decoder, put data into the container. More...
  string  CStringPairs< TContainer >::Merge (void) const   Merge name-value pairs into a single string using the currently set separators and the provided encoder if any. More...
  static string  CStringPairs< TContainer >::Merge (const TStrPairs &pairs, const string &arg_sep, const string &val_sep, IStringEncoder *encoder=NULL, EOwnership own=eTakeOwnership)   Merge name-value pairs from the provided container, separators and encoder. More...
  const TStrPairsCStringPairs< TContainer >::GetPairs (void) const   Read data. More...
  TStrPairsCStringPairs< TContainer >::GetPairs (void)   Get non-const data. More...
    CEncodedString::CEncodedString (void)     CEncodedString::CEncodedString (const CTempString s, NStr::EUrlEncode flag=NStr::eUrlEnc_SkipMarkChars)   void  CEncodedString::SetString (const CTempString s, NStr::EUrlEncode flag=NStr::eUrlEnc_SkipMarkChars)   Set new original string. More...
  bool  CEncodedString::IsEncoded (void) const   Check if the original string was encoded. More...
  const stringCEncodedString::GetOriginalString (void) const   Get the original unencoded string. More...
  const stringCEncodedString::GetEncodedString (void) const   Get encoded string. More...
  bool  CEncodedString::IsEmpty (void) const   Check if the string is empty. More...
  int  PCase_Generic< T >::Compare (const T &s1, const T &s2) const   Return difference between "s1" and "s2". More...
  bool  PCase_Generic< T >::Less (const T &s1, const T &s2) const   Return TRUE if s1 < s2. More...
  bool  PCase_Generic< T >::Equals (const T &s1, const T &s2) const   Return TRUE if s1 == s2. More...
  bool  PCase_Generic< T >::operator() (const T &s1, const T &s2) const   Return TRUE if s1 < s2. More...
  int  PNocase_Generic< T >::Compare (const T &s1, const T &s2) const   Return difference between "s1" and "s2". More...
  bool  PNocase_Generic< T >::Less (const T &s1, const T &s2) const   Return TRUE if s1 < s2. More...
  bool  PNocase_Generic< T >::Equals (const T &s1, const T &s2) const   Return TRUE if s1 == s2. More...
  bool  PNocase_Generic< T >::operator() (const T &s1, const T &s2) const   Return TRUE if s1 < s2 ignoring case. More...
    PNocase_Conditional_Generic< T >::PNocase_Conditional_Generic (NStr::ECase case_sens=NStr::eCase)   Construction. More...
  NStr::ECase  PNocase_Conditional_Generic< T >::GetCase () const   Get comparison type. More...
  void  PNocase_Conditional_Generic< T >::SetCase (NStr::ECase case_sens)   Set comparison type. More...
  int  PNocase_Conditional_Generic< T >::Compare (const T &s1, const T &s2) const   Return difference between "s1" and "s2". More...
  bool  PNocase_Conditional_Generic< T >::Less (const T &s1, const T &s2) const   Return TRUE if s1 < s2. More...
  bool  PNocase_Conditional_Generic< T >::Equals (const T &s1, const T &s2) const   Return TRUE if s1 == s2. More...
  bool  PNocase_Conditional_Generic< T >::operator() (const T &s1, const T &s2) const   Return TRUE if s1 < s2 ignoring case. More...
  bool  PEqualNocase_Generic< T >::operator() (const T &s1, const T &s2) const   Return TRUE if s1 < s2 ignoring case. More...
    PEqualNocase_Conditional_Generic< T >::PEqualNocase_Conditional_Generic (NStr::ECase case_sens=NStr::eCase)   Construction. More...
  bool  PEqualNocase_Conditional_Generic< T >::operator() (const T &s1, const T &s2) const   Return TRUE if s1 < s2 ignoring case. More...
  bool  PQuickStringLess::operator() (const CTempString s1, const CTempString s2) const   template<class Arg1 , class Arg2 , class Pred > bool  AStrEquiv (const Arg1 &x, const Arg2 &y, Pred pr)   Check equivalence of arguments using predicate. More...
  void  CStrDummyTokenPos::push_back (string::size_type)   void  CStrDummyTokenPos::reserve (string::size_type)   static size_t  CStrDummyTokenCount::Count (CStrTokenizeBase &)   static void  CStrDummyTargetReserve< TV, TP >::Reserve (CStrTokenizeBase &, TV &, TP &)     CTempStringList::CTempStringList (CTempString_Storage *storage)   void  CTempStringList::Add (const CTempString &s)   void  CTempStringList::Clear (void)   void  CTempStringList::Join (string *s) const   void  CTempStringList::Join (CTempString *s) const   void  CTempStringList::Join (CTempStringEx *s) const   size_t  CTempStringList::GetSize (void) const     CTempStringList::SNode::SNode ()     CTempStringList::SNode::SNode (const CTempString &s)     CStrTokenizeBase::CStrTokenizeBase (const CTempString &str, const CTempString &delim, TFlags flags, CTempString_Storage *storage)   SIZE_TYPE  CStrTokenizeBase::GetPos (void) const   bool  CStrTokenizeBase::AtEnd (void) const   bool  CStrTokenizeBase::Advance (CTempStringList *part_collector)   Return TRUE if it found some text and put it into collector. More...
  bool  CStrTokenizeBase::Advance (CTempStringList *part_collector, SIZE_TYPE *ptr_part_start, SIZE_TYPE *ptr_delim_pos)   void  CStrTokenizeBase::SkipDelims (void)   Skip all delimiters starting from current position. More...
  void  CStrTokenizeBase::MergeDelims (void)   Assumes that we already have a delimiter on the previous position, so just skip all subsequent, depending on flags. More...
  void  CStrTokenizeBase::SetDelim (const CTempString &delim)   void  CStrTokenizeBase::x_ExtendInternalDelim ()   void  CStrTokenizeBase::x_SkipDelims (bool force_skip)     CStrTokenize< TStr, TV, TP, TCount, TReserve >::CStrTokenize (const TString &str, const TString &delim, TFlags flags, CTempString_Storage *storage)   Constructor. More...
  void  CStrTokenize< TStr, TV, TP, TCount, TReserve >::Do (TContainer &target, TPosContainer &token_pos, const TString &empty_str=TString())   Tokenize the string using the specified set of char delimiters. More...
  static size_t  CStringTokenCount::Count (CStrTokenizeBase &tokenizer)   static void  CStrTargetReserve< TV, TP, TCount >::Reserve (CStrTokenizeBase &tokenizer, TV &target, TP &token_pos)     CStrTokenPosAdapter< TPosContainer >::CStrTokenPosAdapter (TPosContainer *token_pos)   If token_pos construction parameter is NULL all calls are ignored. More...
  void  CStrTokenPosAdapter< TPosContainer >::push_back (string::size_type pos)   void  CStrTokenPosAdapter< TPosContainer >::reserve (string::size_type capacity)   string::size_type  CStrTokenPosAdapter< TPosContainer >::size ()   void  CStrTokenPosAdapter< TPosContainer >::resize (string::size_type newsize)     CTempString::CTempString (void)     CTempString::CTempString (const char *str)     CTempString::CTempString (const char *str, size_type len)     CTempString::CTempString (const char *str, size_type pos, size_type len)   Use CTempString(const char* str + pos, size_type len - pos) instead. More...
    CTempString::CTempString (const string &str)     CTempString::CTempString (const string &str, size_type len)   Use CTempString(const string& str, 0, size_type len) instead. More...
    CTempString::CTempString (const string &str, size_type pos, size_type len)     CTempString::CTempString (const CTempString &str)     CTempString::CTempString (const CTempString &str, size_type pos)     CTempString::CTempString (const CTempString &str, size_type pos, size_type len)   void  CTempString::Copy (string &dst, size_type pos, size_type len) const   Copy a substring into a string Somewhat similar to basic_string::assign() More...
    CTempString::operator string (void) const   void  CTempString::x_Init (const char *str, size_type str_len, size_type pos, size_type len)   void  CTempString::x_Init (const char *str, size_type str_len, size_type pos)   string  g_CTempString_plus (const char *str1, size_t len1, const char *str2, size_t len2)   string  operator+ (const char *str1, const CTempString str2)   string  operator+ (const CTempString str1, const char *str2)   string  operator+ (const string &str1, const CTempString str2)   string  operator+ (const CTempString str1, const string &str2)   string  operator+ (const CTempString str1, const CTempString str2)   CNcbiOstreamoperator<< (CNcbiOstream &out, const CTempString str)   template<size_t Size> CTempString  literal (const char(&str)[Size])   Templatized initialization from a string literal. More...
  bool  operator== (const char *str1, const CTempString str2)   bool  operator== (const string &str1, const CTempString str2)   bool  operator!= (const char *str1, const CTempString str2)   bool  operator!= (const string &str1, const CTempString str2)   bool  operator< (const char *str1, const CTempString str2)   bool  operator< (const string &str1, const CTempString str2)   bool  operator> (const char *str1, const CTempString str2)   bool  operator> (const string &str1, const CTempString str2)     CTempStringEx::CTempStringEx (void)     CTempStringEx::CTempStringEx (const char *str)     CTempStringEx::CTempStringEx (const char *str, size_type len)     CTempStringEx::CTempStringEx (const char *str, size_type len, EZeroAtEnd zero_at_end)     CTempStringEx::CTempStringEx (const string &str)     CTempStringEx::CTempStringEx (const string &str, size_type pos, size_type len)     CTempStringEx::CTempStringEx (const CTempString &str)     CTempStringEx::CTempStringEx (const CTempString &str, size_type pos)     CTempStringEx::CTempStringEx (const CTempString &str, size_type pos, size_type len)   CTempStringExCTempStringEx::assign (const char *str, size_type len)   Assign new values to the content of the a string. More...
  CTempStringExCTempStringEx::assign (const char *str, size_type len, EZeroAtEnd zero_at_end)   CTempStringExCTempStringEx::assign (const CTempString &str)   CTempStringExCTempStringEx::assign (const CTempStringEx &str)   CTempStringExCTempStringEx::assign (const CTempString str, size_type pos, size_type count)   void  CTempStringEx::clear (void)   Clear value to an empty string. More...
  CTempStringEx  CTempStringEx::substr (size_type pos) const   Obtain a substring from this string, beginning at a given offset. More...
  CTempStringEx  CTempStringEx::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...
  bool  CTempStringEx::HasZeroAtEnd (void) const     CTempString_Storage::CTempString_Storage (void)     CTempString_Storage::~CTempString_Storage (void)   char *  CTempString_Storage::Allocate (CTempString::size_type len)     CTextJoiner< num_prealloc, TIn, TOut >::CTextJoiner ()   CTextJoinerCTextJoiner< num_prealloc, TIn, TOut >::Add (const TIn &s)   void  CTextJoiner< num_prealloc, TIn, TOut >::Join (TOut *result) const   CTempStringCTempString::assign (const char *src_str, size_type len)   Assign new values to the content of the a string. More...
  CTempStringCTempString::assign (const CTempString src_str)   CTempStringCTempString::assign (const CTempString src_str, size_type pos, size_type len)   CTempStringCTempString::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   ◆ _T_CSTRING #define _T_CSTRING (   x )    (x)

Definition at line 182 of file ncbistr.hpp.

◆ _T_STDSTRING #define _T_STDSTRING (   x )    (x)

Definition at line 180 of file ncbistr.hpp.

◆ _T_XCSTRING ◆ _T_XSTRING #define _T_XSTRING (   x )    (x)

Definition at line 179 of file ncbistr.hpp.

◆ _TX ◆ kEmptyStr ◆ kEmptyWStr ◆ kEmptyXCStr ◆ kEmptyXStr ◆ NCBI_TEMPSTR_DESTROY_COPY #define NCBI_TEMPSTR_DESTROY_COPY ( )

Definition at line 294 of file tempstr.hpp.

◆ NCBI_TEMPSTR_MAKE_COPY #define NCBI_TEMPSTR_MAKE_COPY ( )

Definition at line 293 of file tempstr.hpp.

◆ NCBI_TEXT ◆ NcbiEmptyCStr ◆ NcbiEmptyString ◆ NcbiEmptyWCStr ◆ NcbiEmptyWString ◆ NcbiEmptyXCStr ◆ NcbiEmptyXString ◆ NPOS #define NPOS   NCBI_NS_STD::string::npos ◆ const_iterator ◆ CStringPairsParser ◆ EConvErrFlags ◆ PCase ◆ PCase_CStr ◆ PEqualNocase ◆ PEqualNocase_Conditional ◆ PEqualNocase_Conditional_CStr ◆ PEqualNocase_CStr ◆ PNocase ◆ PNocase_Conditional ◆ PNocase_Conditional_CStr ◆ PNocase_CStr ◆ SIZE_TYPE typedef NCBI_NS_STD::string::size_type SIZE_TYPE ◆ size_type [1/2] ◆ size_type [2/2] ◆ TBuffer ◆ TCharUCS2 ◆ TCharUCS4 ◆ TContainer

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Definition at line 230 of file ncbistr_util.hpp.

◆ TConvErrFlags ◆ TCountTrait

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Definition at line 232 of file ncbistr_util.hpp.

◆ TData ◆ TDedentFlags ◆ TErrCode ◆ TFlags ◆ THtmlDecode ◆ THtmlEncode ◆ TNumToStringFlags

Bitwise OR of "ENumToStringFlags".

Definition at line 266 of file ncbistr.hpp.

◆ TPosContainer

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Definition at line 231 of file ncbistr_util.hpp.

◆ TPrintableMode

Bitwise OR of EPrintableMode flags.

Definition at line 2738 of file ncbistr.hpp.

◆ TReserveTrait

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Definition at line 233 of file ncbistr_util.hpp.

◆ TSplitFlags ◆ TSS_Flags ◆ TString

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Definition at line 229 of file ncbistr_util.hpp.

◆ TStringPairsVector ◆ TStringToNumFlags

Bitwise OR of "EStringToNumFlags".

Definition at line 311 of file ncbistr.hpp.

◆ TStringUCS2 ◆ TStringUCS4 ◆ TStringUnicode ◆ TStrPair

template<class TContainer >

◆ TStrPairs

template<class TContainer >

◆ TUnicodeSymbol ◆ TWrapFlags ◆ TXChar ◆ TXmlEncode ◆ TXString ◆ value_type ◆ ECase [1/2] Enumerator eCase 

Case sensitive compare.

eNocase 

Case insensitive compare.

Definition at line 222 of file ncbi_xstr.hpp.

◆ ECase [2/2]

Which type of string comparison.

Enumerator eCase 

Case sensitive compare.

eNocase 

Case insensitive compare.

Definition at line 1204 of file ncbistr.hpp.

◆ EDedentFlags

Flags for Dedent() method.

Enumerator fDedent_NormalizeEmptyLines 

Each line containing only whitespace will be normalized to a single newline character in the output.

Such lines are excluded from detecting common whitespace prefix.

fDedent_SkipFirstLine 

Ignore first line and skip it from the result.

fDedent_SkipEmptyFirstLine 

Ignore first line and skip it from the result, if it is empty only.

Definition at line 3409 of file ncbistr.hpp.

◆ 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.

◆ EEncoding Enumerator eEncoding_Unknown  eEncoding_UTF8  eEncoding_Ascii  eEncoding_ISO8859_1 

Note: From the point of view of the C++.

Toolkit, the ISO 8859-1 character set includes symbols 0x00 through 0xFF except 0x80 through 0x9F.

eEncoding_Windows_1252  eEncoding_CESU8 

Definition at line 199 of file ncbistr.hpp.

◆ EErrCode [1/2] ◆ EErrCode [2/2]

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.

◆ 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.

Enumerator eEscSeqRange_Standard 

Set char to the last (least significant byte) of the escape sequence (default).

eEscSeqRange_FirstByte 

Set char to the first byte of the escape sequence.

eEscSeqRange_Throw 

Throw an exception.

eEscSeqRange_Errno 

Set errno to ERANGE, return empty string.

eEscSeqRange_User 

Set char to the user value passed in another parameter.

Definition at line 2940 of file ncbistr.hpp.

◆ 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.

◆ EHtmlEncode

HTML-decode flags.

Enumerator fHtmlEnc_EncodeAll 

Encode all symbols.

fHtmlEnc_SkipLiteralEntities 

Skip "&entity;".

fHtmlEnc_SkipNumericEntities 

Skip "&#NNNN;".

fHtmlEnc_SkipEntities  fHtmlEnc_CheckPreencoded 

Print warning if some pre-encoded entity found in the string.

Definition at line 3049 of file ncbistr.hpp.

◆ EJsonEncode ◆ 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.

◆ ENcbiStrings Enumerator eNcbiStrings_Stat  eNcbiStrings_PHID 

Definition at line 54 of file ncbi_strings.h.

◆ ENumToStringFlags

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.

◆ EOccurrence

Whether it is the first or last occurrence.

Deprecated:
Enumerator eFirst 

First occurrence.

eLast 

Last occurrence.

Definition at line 1939 of file ncbistr.hpp.

◆ EPrintableMode

How to display printable strings.

Assists in making a printable version of "str".

Enumerator fNewLine_Quote 

Display "\n" instead of actual linebreak.

eNewLine_Quote  fNewLine_Passthru 

Break the line at every "\n" occurrence.

eNewLine_Passthru  fNonAscii_Passthru 

Allow non-ASCII but printable characters.

fNonAscii_Quote 

Octal for all non-ASCII characters.

fPrintable_Full 

Show all octal digits at all times.

Definition at line 2729 of file ncbistr.hpp.

◆ 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.

◆ ESplitFlags

Flags for Split*() methods.

Note
With quote support enabled, doubling a quote character suppresses its special meaning, as does escaping it if that's enabled too; unescaped trailing backslashes and unbalanced quotes result in exceptions.
All escape symbols, single or double quotes became removed if a corresponding fSplit_Can* flag is used.
Enumerator fSplit_MergeDelimiters 

Merge adjacent delimiters.

fSplit_Truncate_Begin 

Truncate leading delimiters.

fSplit_Truncate_End 

Truncate trailing delimiters.

fSplit_Truncate  fSplit_ByPattern 

Require full delimiter strings.

fSplit_CanEscape 

Allow \... escaping.

fSplit_CanSingleQuote 

Allow '...' quoting.

fSplit_CanDoubleQuote 

Allow "..." quoting.

fSplit_CanQuote  fSplit_Tokenize 

All delimiters are merged and trimmed, to get non-empty tokens only.

Definition at line 2499 of file ncbistr.hpp.

◆ 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.

◆ ESS_Flags

Flags for Sanitize().

Enumerator fSS_alpha 

Check on isalpha()

fSS_digit 

Check on isdigit()

fSS_alnum 

Check on isalnum()

fSS_print 

Check on isprint()

fSS_cntrl 

Check on iscntrl()

fSS_punct 

Check on ispunct()

fSS_Reject 

Reject specified characters, allow all other.

Revert default behavior, that allow specified characters and reject all other.

fSS_Remove 

Remove (rather than replace) rejected chars.

fSS_NoMerge 

Do not merge adjacent spaces (rejected chars)

fSS_NoTruncate_Begin 

Do not truncate leading spaces.

fSS_NoTruncate_End 

Do not truncate trailing spaces.

fSS_NoTruncate 

Definition at line 2835 of file ncbistr.hpp.

◆ EStringToNumFlags

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.

◆ EStringType [1/2] ◆ EStringType [2/2] ◆ 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.

◆ EUrlDecode

URL decode flags.

Enumerator eUrlDec_All 

Decode '+' to space.

eUrlDec_Percent 

Decode only XX.

Definition at line 3159 of file ncbistr.hpp.

◆ EUrlEncode

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.

◆ EValidate

How to verify character encoding of the source data.

Enumerator eNoValidate  eValidate 

Definition at line 3870 of file ncbistr.hpp.

◆ 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.

◆ 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.

https://www.w3.org/TR/xml11/#NT-Char

eXmlEnc_Unsafe_Throw 

Definition at line 3027 of file ncbistr.hpp.

◆ EZeroAtEnd Enumerator eNoZeroAtEnd 

For compatibility with older code.

eHasZeroAtEnd 

Definition at line 913 of file tempstr.hpp.

◆ Add() [1/2] ◆ Add() [2/2]

template<size_t num_prealloc, typename TIn , typename TOut >

◆ Advance() [1/2] ◆ Advance() [2/2] ◆ Allocate() ◆ Append() [1/4] ◆ Append() [2/4] ◆ Append() [3/4] virtual void NStr::CWrapDestStringList::Append ( const strings ) inlinevirtual ◆ Append() [4/4] ◆ AppendAsUTF8() [1/7]

Convert non-Unicode character into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [2/7]

Convert non-Unicode character into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [3/7]

template<typename TChar >

Convert Unicode C++ string into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [4/7]

Convert non-Unicode C++ string into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [5/7]

Convert non-Unicode C++ string into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [6/7]

template<typename TChar >

Convert Unicode character buffer into UTF8 and append it to existing string.

Parameters
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().

◆ AppendAsUTF8() [7/7]

template<typename TChar >

Convert Unicode symbol into UTF8 and append it to existing string.

Parameters
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().

◆ AsBasicString() [1/2]

template<typename TChar >

◆ AsBasicString() [2/2]

template<typename TChar >

Convert UTF8 string into Unicode.

Can throw a CStringException if the conversion is impossible or the string has invalid UTF-8 encoding.

Parameters
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
Attention
Only for TStringUnicode, TStringUCS4, TStringUCS2, wstring types

Definition at line 4102 of file ncbistr.hpp.

References validate(), and CUtf8::x_AsBasicString().

◆ assign() [1/8]

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().

◆ assign() [2/8] ◆ assign() [3/8] ◆ assign() [4/8] ◆ assign() [5/8] ◆ assign() [6/8] ◆ assign() [7/8] ◆ assign() [8/8] ◆ AsSingleByteString() [1/2] ◆ AsSingleByteString() [2/2] ◆ AStrEquiv()

template<class Arg1 , class Arg2 , class Pred >

Check equivalence of arguments using predicate.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ AsUTF8() [1/4]

template<typename TChar >

Convert into UTF8 from a Unicode C++ string.

Parameters
Attention
Only for TStringUnicode, TStringUCS4, TStringUCS2, wstring types

Definition at line 3913 of file ncbistr.hpp.

References CUtf8::x_Append().

◆ AsUTF8() [2/4] ◆ AsUTF8() [3/4]

Convert into UTF8 from a C/C++ string.

Parameters
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(), CNcbiSample_Dbapi_Simple::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().

◆ AsUTF8() [4/4]

template<typename TChar >

Convert into UTF8 from a Unicode character buffer.

Parameters
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().

◆ AtEnd() bool CStrTokenizeBase::AtEnd ( void  ) const inline ◆ Base64Decode() ◆ Base64Encode() ◆ begin()

Return an iterator to the string's starting position.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CGff2Record::TokenizeGFF(), CMemoryLineReader::UngetLine(), CBufferedLineReader::UngetLine(), CWigBufferedLineReader::UngetLine(), CDB_Numeric::x_MakeFromString(), CFeatureTableReader_Imp::x_TokenizeLenient(), and CFeatureTableReader_Imp::x_TokenizeStrict().

◆ BoolToString()

Convert bool to string.

Parameters
value Boolean value to be converted.
Returns
One of: 'true, 'false'
Note
Don't change errno.

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().

◆ CEncode() ◆ CEncodedString() [1/2] ◆ CEncodedString() [2/2] CEncodedString::CEncodedString ( void  ) inline

Definition at line 4819 of file ncbistr.hpp.

◆ CharToSymbol() [1/2]

Convert encoded character into Unicode.

Parameters
ch Encoded character lcl Character locale
Returns
Unicode code point (symbol)

Definition at line 6950 of file ncbistr.cpp.

◆ CharToSymbol() [2/2] ◆ Clear() void CTempStringList::Clear ( void  ) inline ◆ clear() [1/2] void CTempString::clear ( void  ) 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().

◆ clear() [2/2] void CTempStringEx::clear ( void  ) inline ◆ CommonOverlapSize()

Determine if the suffix of one string is the prefix of another.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
The number of characters common to the end of the first string and the start of the second string.

Definition at line 3092 of file ncbistr.cpp.

◆ CommonPrefixSize() ◆ CommonSuffixSize() ◆ Compare() [1/15]

template<typename _TChar >

◆ Compare() [2/15]

template<typename _TChar >

◆ Compare() [3/15]

template<typename _TChar >

◆ Compare() [4/15]

template<typename _TChar >

◆ Compare() [5/15]

template<typename _TChar >

◆ Compare() [6/15]

template<typename _TChar >

◆ Compare() [7/15]

template<typename _TChar >

◆ Compare() [8/15]

template<typename _TChar >

◆ Compare() [9/15]

Compare two strings – char* version.

Parameters
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).
Returns
See also
Other forms of overloaded Compare() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5307 of file ncbistr.hpp.

References NStr::CompareCase(), NStr::CompareNocase(), and NStr::eCase.

◆ Compare() [10/15]

Compare of a substring with another string.

Parameters
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).
Returns
See also
Other forms of overloaded Compare() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ Compare() [11/15]

Compare of a substring with another string.

Parameters
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).
Returns
See also
Other forms of overloaded Compare() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5299 of file ncbistr.hpp.

References NStr::CompareCase(), NStr::CompareNocase(), NStr::eCase, n, and CTempString::substr().

◆ compare() ◆ Compare() [12/15]

Compare two strings – CTempStringEx version.

Parameters
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).
Returns
See also
Other forms of overloaded Compare() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5313 of file ncbistr.hpp.

References NStr::CompareCase(), NStr::CompareNocase(), and NStr::eCase.

◆ Compare() [13/15] ◆ Compare() [14/15] ◆ Compare() [15/15] ◆ CompareCase() [1/11]

template<typename _TChar >

◆ CompareCase() [2/11]

template<typename _TChar >

◆ CompareCase() [3/11]

template<typename _TChar >

◆ CompareCase() [4/11]

template<typename _TChar >

static int XStr::CompareCase ( const basic_string< _TChar > &  s1, const basic_string< _TChar > &  s2  ) inlinestatic ◆ CompareCase() [5/11]

template<typename _TChar >

◆ CompareCase() [6/11]

template<typename _TChar >

◆ CompareCase() [7/11]

Case-sensitive compare of two strings – char* version.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
CompareNocase(), Compare() versions with same argument types.

Definition at line 5279 of file ncbistr.hpp.

References NStr::strcmp().

◆ CompareCase() [8/11]

Case-sensitive compare of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded CompareCase() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), and CSortedProteins::x_SortProteinNames().

◆ CompareCase() [9/11]

Case-sensitive compare of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded CompareCase() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 158 of file ncbistr.cpp.

References CTempString::data(), CTempString::empty(), CTempString::length(), n, and NPOS.

◆ CompareCase() [10/11] ◆ CompareCase() [11/11]

template<typename _TChar >

◆ CompareNocase() [1/11]

template<typename _TChar >

◆ CompareNocase() [2/11]

template<typename _TChar >

◆ CompareNocase() [3/11]

template<typename _TChar >

◆ CompareNocase() [4/11]

template<typename _TChar >

static int XStr::CompareNocase ( const basic_string< _TChar > &  s1, const basic_string< _TChar > &  s2  ) inlinestatic ◆ CompareNocase() [5/11]

template<typename _TChar >

◆ CompareNocase() [6/11]

template<typename _TChar >

◆ CompareNocase() [7/11]

Case-insensitive compare of two strings – char* version.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
CompareCase(), Compare() versions with same argument types.

Definition at line 5285 of file ncbistr.hpp.

References NStr::strcasecmp().

◆ CompareNocase() [8/11]

Case-insensitive compare of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded CompareNocase() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CRtProfiler::CheckDoReport(), SInputValidator::CheckEntry(), subfuse::CmpEntry(), CSeq_id::Compare(), CSeqsRange::Compare(), NStr::Compare(), CBDB_FieldStringCase::Compare(), CBiosampleFieldDiff::CompareAllButSequenceID(), 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(), CBlastFormatUtil::CreateSeqAnnotFromSeqAlignSet(), CBlastOptionsFactory::CreateTask(), CVarTrackFactory::CreateTracks(), CRemoteAppLauncher::CRemoteAppLauncher(), CTime::DayOfWeekNameToNum(), SLibProjectT::DoCreate(), EnabledDelayBuffers(), NStr::EqualNocase(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), fix_pub::ExtractConsortiums(), CCompressedFile::FileExists(), FixUSAAbbreviationInAffil(), fta_cmp_gene_refs(), fta_cmp_gene_syns(), fta_cmp_locusyn(), fta_sort_quals(), CCodeGenerator::GenerateCvsignore(), CCodeGenerator::GenerateFileList(), CRemoteAppTimeoutReporter::Get(), CUser_object::GetCategory(), GetCharsetEncodingForm(), CAlignFormatUtil::GetDbType(), SNetStorage::SConfig::GetDefaultStorage(), SNetStorage::SConfig::GetErrMode(), CUser_object::GetExperimentType(), CTreeQueryExec::GetFeatureIdNoCase(), CBDB_BufferManager::GetFieldIndex(), CDataLoaderFactory::GetIsDefault(), CCgiApplication::GetLogOpt(), CSpectrumSet::GetMGFBlock(), SCombinedNetStorageConfig::GetMode(), GetProteinWeights(), CGridCgiContext::GetQueryStringEntryValue(), CGridCgiContext::GetRequestEntryValue(), CTestArguments::GetServerName(), CCPPToolkitConnParams::GetServerType(), 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<(), CBDB_ConfigStructureParser::ParseStructureLine(), CBlastFormat::PrintArchive(), CProjectTreeBuilder::ProcessDir(), CDataTool::ProcessModules(), ProductNamesAreSimilar(), CNetScheduleServer::ReadServicesConfig(), CNetScheduleServer::ResolveService(), CGridCommandLineInterfaceApp::Run(), CBDB_FileDumperApp::Run(), CNcbiSample_Dbapi_Advanced_Features::RunSample(), 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_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(), SourceFileExt(), CConnTest::StatefulOkay(), CNetScheduleAPI::StringToStatus(), CNcbiDiag::StrToSeverityLevel(), sx_InitFillNewMemoryMode(), CReportTrim::TrimSeqGraphs(), TrimSequenceAndAnnotation(), CSrcFeatValidator::Validate(), CImpFeatValidator::Validate(), CValidError_imp::ValidateAuthorList(), CValidError_imp::ValidateBadNameStd(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateOrgRef(), CValidError_bioseqset::ValidatePopSet(), CValidError_bioseq::ValidateSecondaryAccConflict(), CValidError_bioseq::ValidateSeqDescContext(), CValidError_bioseq::ValidateSeqId(), CValidError_desc::ValidateUser(), CValidError_bioseq::ValidateWGSMaster(), 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(), SPubseqGatewaySettings::x_ValidateStatisticsSection(), CRNAValidator::x_ValidateTrnaCodons(), CRNAValidator::x_ValidateTrnaType(), SGridWorkerNodeImpl::x_WNCoreInit(), and CGtfReader::xProcessQualifierSpecialCase().

◆ CompareNocase() [9/11]

Case-insensitive compare of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded CompareNocase() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 248 of file ncbistr.cpp.

References CTempString::data(), CTempString::empty(), CTempString::length(), n, NPOS, and tolower().

◆ CompareNocase() [10/11] ◆ CompareNocase() [11/11]

template<typename _TChar >

◆ Copy() ◆ Count() [1/2] ◆ Count() [2/2] ◆ CParse()

Discard C-style backslash escapes.

Parameters
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.
Returns
String with parsed C-style escape sequences.
See also
CEncode

Definition at line 3972 of file ncbistr.cpp.

Referenced by s_DecodeMetadataValue().

◆ CParseTemplException() [1/4] ◆ CParseTemplException() [2/4]

Constructor.

Report "pos" along with "what".

Definition at line 4410 of file ncbistr.hpp.

◆ CParseTemplException() [3/4] ◆ CParseTemplException() [4/4] ◆ CStringDecoder_Url() ◆ CStringEncoder_Url() ◆ CStringPairs() [1/3]

template<class TContainer >

Create parser with the specified parameters.

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.

◆ CStringPairs() [2/3]

template<class TContainer >

Create parser with the specified decoder/encoder and default separators.

Parameters
decoder String decoder (Url, Xml etc.) own_decoder Decoder ownership flag decoder String encoder (Url, Xml etc.), optional own_encoder Encoder ownership flag, optional
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 4605 of file ncbistr.hpp.

◆ CStringPairs() [3/3]

template<class TContainer >

Create parser with the selected URL-encoding/decoding options and default separators.

Parameters
decode_flag URL-decoding flag encode_flag URL-encoding flag

Definition at line 4650 of file ncbistr.hpp.

◆ CStrTokenize()

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Constructor.

Parameters
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.

◆ CStrTokenizeBase() ◆ CStrTokenPosAdapter()

template<class TPosContainer >

If token_pos construction parameter is NULL all calls are ignored.

Definition at line 376 of file ncbistr_util.hpp.

◆ CTempString() [1/10] CTempString::CTempString ( const char *  str ) inline ◆ CTempString() [2/10] ◆ CTempString() [3/10] ◆ CTempString() [4/10] ◆ CTempString() [5/10] ◆ CTempString() [6/10] ◆ CTempString() [7/10] ◆ CTempString() [8/10] ◆ CTempString() [9/10] ◆ CTempString() [10/10] CTempString::CTempString ( void  ) inline ◆ CTempString_Storage() CTempString_Storage::CTempString_Storage ( void  )

Definition at line 7413 of file ncbistr.cpp.

◆ CTempStringEx() [1/9] CTempStringEx::CTempStringEx ( const char *  str ) inline

Definition at line 921 of file tempstr.hpp.

◆ CTempStringEx() [2/9] ◆ CTempStringEx() [3/9] ◆ CTempStringEx() [4/9] ◆ CTempStringEx() [5/9] ◆ CTempStringEx() [6/9] ◆ CTempStringEx() [7/9] ◆ CTempStringEx() [8/9] ◆ CTempStringEx() [9/9] CTempStringEx::CTempStringEx ( void  ) inline ◆ CTempStringList() ◆ CTempXStr() [1/8] ◆ CTempXStr() [2/8] ◆ CTempXStr() [3/8]

template<typename _TChar >

◆ CTempXStr() [4/8] ◆ CTempXStr() [5/8] ◆ CTempXStr() [6/8]

template<typename _TChar >

◆ CTempXStr() [7/8] ◆ CTempXStr() [8/8] ◆ CTextJoiner()

template<size_t num_prealloc, typename TIn = string, typename TOut = basic_string<typename TIn::value_type>>

Definition at line 64 of file text_joiner.hpp.

◆ CWrapDestStringList() NStr::CWrapDestStringList::CWrapDestStringList ( list< string > &  l ) inline

Definition at line 3283 of file ncbistr.hpp.

◆ data() [1/2]

template<typename _TChar >

◆ data() [2/2] const char * CTempString::data ( void  ) const inline

Return a pointer to the array represented.

As with std::basic_string<>, this is not guaranteed to be NULL terminated.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), 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(), CThread::SetCurrentThreadName(), CTL_BCPInCmd::SetHints(), sFindBrackets(), 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().

◆ Decode() [1/4] ◆ Decode() [2/4] ◆ Decode() [3/4] ◆ Decode() [4/4] ◆ DecodeFirst() ◆ DecodeNext() ◆ Dedent()

Dedent multi-line string, removing common whitespace prefix for each line.

Parameters
str String to be dedented. flags Optional flags to tune up how to dedent string.
Returns
String with removed common whitespace indentation.
Note
Empty lines, and lines containing whitespace only with fDedent_NormalizeEmptyLines flag, are not used in computing common whitespace prefix.
Assumes that whitespace prefixes are the same on each line, in other words, if a common prefix have a mix of spaces and tabulation characters, it should be the same for each line. Or this method can works incorrectly. Also, you can use Replace() first to replace tabulations and make whitespace consistent across lines.
See also
Replace, DedentR
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5494 of file ncbistr.cpp.

Referenced by NStr::DedentR().

◆ DedentR() ◆ Do()

template<class TStr , class TV , class TP = CStrDummyTokenPos, class TCount = CStrDummyTokenCount, class TReserve = CStrDummyTargetReserve<TV, TP>>

Tokenize the string using the specified set of char delimiters.

Parameters
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.

◆ DoubleToString() [1/3]

Convert double to string.

Parameters
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:
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ DoubleToString() [2/3]

Convert double to string with specified precision and place the result in the specified buffer.

Parameters
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.
Returns

Definition at line 2353 of file ncbistr.cpp.

◆ DoubleToString() [3/3]

Convert double to string.

Parameters
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:
Note

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.

◆ DoubleToString_Ecvt()

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.

Parameters
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
Returns
The number of bytes written into "buf".

Definition at line 2442 of file ncbistr.cpp.

Referenced by CObjectOStreamAsn::WriteDouble2().

◆ DoubleToStringPosix() SIZE_TYPE NStr::DoubleToStringPosix ( double  value, unsigned int  precision, char *  buf, SIZE_TYPE  buf_size  ) 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.

Parameters
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".
Returns
The number of bytes written into "buf".

Definition at line 2653 of file ncbistr.cpp.

Referenced by CObjectOStreamAsnBinary::WriteDouble2(), CObjectOStreamJson::WriteDouble2(), and CObjectOStreamXml::WriteDouble2().

◆ empty() [1/2]

template<typename _TChar >

◆ empty() [2/2] bool CTempString::empty ( void  ) const 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(), CGff2Reader::xAssignAnnotId(), CReaderBase::xIsCommentLine(), and CGtfReader::xIsCommentLine().

◆ Encode() [1/2] ◆ Encode() [2/2] ◆ EncodingToString() ◆ end()

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++(), CDB_Numeric::x_MakeFromString(), and CFeatureTableReader_Imp::x_TokenizeLenient().

◆ EndsWith() [1/2]

Check if a string ends with a specified character value.

Parameters
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().

◆ EndsWith() [2/2]

Check if a string ends with a specified suffix value.

Parameters
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.
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5424 of file ncbistr.hpp.

References NStr::Equal(), CTempString::size(), and str().

Referenced by CSeqTableLocColumns::AddColumn(), AddComment(), 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(), CGBSeqFormatter::FormatAccession(), 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(), CFeatureTableReader_Imp::ParseTrnaExtString(), 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(), s_RemoveSuffixFromNames(), 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(), 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(), CVcfReader::xProcessMetaLineFilter(), CVcfReader::xProcessMetaLineFormat(), CVcfReader::xProcessMetaLineInfo(), CGff3Reader::xUpdateAnnotFeature(), and CNewCleanup_imp::xUpdateSeqfeatCitGenLabel().

◆ Equal() [1/4]

Test for equality of two strings – char* version.

Parameters
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).
Returns
See also
EqualNocase(), Equal() versions with similar argument types.

Definition at line 5394 of file ncbistr.hpp.

References NStr::eCase, NStr::EqualCase(), and NStr::EqualNocase().

◆ Equal() [2/4]

Test for equality of a substring with another string.

Parameters
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).
Returns
See also
Other forms of overloaded Equal() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), 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(), x_GetUpdatedDbTagName(), CNewCleanup_imp::x_HandleTrnaProductGBQual(), CEnvironmentRegistry::x_HasSection(), 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().

◆ Equal() [3/4]

Test for equality of a substring with another string.

Parameters
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).
Returns
See also
Other forms of overloaded Equal() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5386 of file ncbistr.hpp.

References NStr::eCase, NStr::EqualCase(), NStr::EqualNocase(), n, and CTempString::substr().

◆ Equal() [4/4]

Test for equality of two strings.

Parameters
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).
Returns
See also
EqualNocase(), Equal() versions with similar argument types.

Definition at line 5400 of file ncbistr.hpp.

References NStr::eCase, NStr::EqualCase(), and NStr::EqualNocase().

◆ EqualCase() [1/4]

Case-sensitive equality of two strings – char* version.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
EqualCase(), Equal() versions with same argument types.

Definition at line 5331 of file ncbistr.hpp.

References n, and NStr::strncmp().

◆ EqualCase() [2/4]

Case-sensitive equality of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded EqualCase() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5319 of file ncbistr.hpp.

References n, and CTempString::substr().

Referenced by CSrcTableDbxrefColumn::AddToBioSource(), NMacroUtil::ApplyFirstName(), NMacroUtil::ApplyMiddleInitial(), CheckDivCode(), 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(), CCountries::NewFixCountry(), CNewCleanup_imp::OrgnameBC(), 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().

◆ EqualCase() [3/4]

Case-sensitive equality of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded EqualCase() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5325 of file ncbistr.hpp.

References n, and CTempString::substr().

◆ EqualCase() [4/4]

Case-sensitive equality of two strings.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
EqualCase(), Equal() versions with same argument types.

Definition at line 5341 of file ncbistr.hpp.

◆ EqualNocase() [1/4]

Case-insensitive equality of two strings – char* version.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
EqualCase(), Equal() versions with same argument types.

Definition at line 5359 of file ncbistr.hpp.

References n, and NStr::strncasecmp().

◆ EqualNocase() [2/4]

Case-insensitive equality of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded EqualNocase() with differences in argument types: char* vs. CTempString[Ex]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CheckContigEverywhere(), CheckDelGbblockSourceFromDescrs(), CheckDivCode(), CheckEmblContigEverywhere(), CComment_rule::CheckFieldValue(), CheckFocusInOrgs(), CheckForENV(), CPrimerTableCommandConverter::CheckForMixedValues(), CValidError_bioseq::CheckForMultipleStructuredComments(), CheckForUnusualFullLengthOrgs(), CheckGBBlock(), COrgMod::CheckMultipleVouchers(), CheckNeedSYNFocus(), CSeqTechDlg::CheckSequencingTechnology(), CheckSourceFeatLocAccs(), CheckSourceOverlap(), CheckStrainReply(), CkQualMatchToken(), CLatLonCountryId::Classify(), CCleanup::CleanupAffil(), CDBLinkTableCommandConverter::ClearAllValues(), CStructuredCommentCommandConverter::ClearAllValues(), CSrcTableTaxonIdColumn::ClearInBioSource(), CGenericStructuredCommentColumn::ClearInComment(), CGbQualColumn::ClearInFeature(), CMiscSeqTableColumn::CMiscSeqTableColumn(), CBiosampleFieldDiff::CompareAllButSequenceID(), pub_report::CompareAuthorNames(), CompareDescrFeatSources(), 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(), CreateRawBioSources(), CGraphTrackFactory::CreateTracks(), CSeqIdGuesser::CSeqIdGuesser(), CNewCleanup_imp::DbtagBC(), DbxrefQualToDbtag(), CSequenceEditingEventHandler::DeleteSpecificStructuredComment(), CSampleNetCacheClient::DemoPutRead(), DoesSingleStringMatchConstraint(), CExploreProcess::DoOneBioseq(), EndAdded(), NStr::Equal(), CSeq_id_Textseq_Info::TKey::EqualAcc(), CMQueryFunctionValue::Evaluate(), CSGQueryFunctionCompare::Evaluate(), CSequenceEditingEventHandler::ExportStructuredCommentsTable(), ExtractGnomonModelNum(), fill_orgref(), FillAccsBySource(), CEditingActionDescUserObject::Find(), CEditingActionDescLocalId::Find(), CEditingActionDescComment::Find(), CComment_set::FindCommentRuleEx(), COrgMod::FindInstitutionCode(), FindMatchInOrgRef(), CSeq_id_General_Tree::FindOrCreate(), CEditingActionDescUserObject::FindRelated(), pub_report::FirstOrLastAuthorMatches(), fix_taxname_dot(), 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_evidence(), fta_check_exception(), fta_check_mga_keywords(), fta_check_old_locus_tags(), fta_fix_tpa_keywords(), fta_get_aa_from_string(), fta_if_special_org(), 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(), GBQualSplit(), CNewCleanup_imp::GeneFeatBC(), 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(), GetDRlineDataSP(), CEditObjectFeaturePropagate::GetEditCommand(), CFlatFileViewContext::GetEditObject(), GetEmblBlockXref(), GetEmblGBBlock(), NMItemData::GetExistingTextDescr(), NMacroUtil::GetFeatSubtype(), GetFieldFromWizardObject(), CFieldChoicePanel::GetFieldName(), CMolInfoFieldType::GetFieldType(), CFieldNamePanel::GetFieldTypeFromName(), GetFirstGBQualMatch(), GetFlatBiomol(), 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(), GetResidue(), 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(), GetSourceDbtag(), GetSprotDescr(), 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(), 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(), COrgMod::IsIsolateValid(), 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(), ParseSourceFeat(), PickTheDescrSource(), CGBQualPanel::PopulateGBQuals(), CExperimentListPanel::PopulateGBQuals(), CInferenceListPanel::PopulateGBQuals(), CCountryExtreme::PreferTo(), CBiosampleFieldDiff::Print(), CHTMLPageStat::PrintBegin(), PrintBioseqXML(), ProcessBulkBioSample(), PropagateSuppliedLineage(), CNewCleanup_imp::ProtFeatfBC(), CNewCleanup_imp::ProtrefBC(), CVariantDescriptors::PushBack(), QSbuf_ParseDefline(), 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_FeatHasFiveInferenceGBQuals(), s_FeatHasInferenceGBQual(), 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(), 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(), SourceFeatStructFillIn(), SPFeatGeneral(), SpFeatKeyNameValid(), SPParseDefinition(), SpProcFeatBlk(), CHydraServer::start_element(), CPMCIDConverterServer::start_element(), StringEquNI(), 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(), x_GetUpdatedDbTagName(), 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(), x_InferenceInSeqs(), 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(), XMLCheckContigEverywhere(), XMLInitialEntry(), XMLRefs(), and CAlnScannerNexus::xProcessDimensions().

◆ EqualNocase() [3/4]

Case-insensitive equality of a substring with another string.

Parameters
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.
Returns
See also
Other forms of overloaded EqualNocase() with differences in argument types: char* vs. CTempString[Ex]

Definition at line 5353 of file ncbistr.hpp.

References NStr::CompareNocase(), n, and CTempString::substr().

◆ EqualNocase() [4/4] ◆ Equals() [1/3] ◆ Equals() [2/3] ◆ Equals() [3/3] ◆ erase() void CTempString::erase ( size_type  pos = 0 ) inline ◆ Escape()

Escape string (generic version).

Prefix any occurrences of the metacharacters with the escape character.

Parameters
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".
Returns
Escaped string.
See also
Unescape, PrintableString, Join

Definition at line 3843 of file ncbistr.cpp.

◆ EvaluateFirst() ◆ EvaluateNext()

Check that the character is valid continuation byte of an UTF8 byte sequence.

Parameters
Returns
true, if this is a valid byte

Definition at line 4164 of file ncbistr.hpp.

References CUtf8::x_EvalNext().

◆ EvaluateSymbolLength() ◆ find() [1/2] ◆ find() [2/2]

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().

◆ Find() [1/5]

Find the pattern in the string.

Parameters
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.
Returns
Start of the found pattern in the string. Or NPOS if there is no occurrence of the pattern in the string.
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 2882 of file ncbistr.cpp.

Referenced by CBlkEdtFeatLocationPanel::AddCommand(), AddDefaultSentinelFeats(), AddExceptionsToShortIntron(), MoleculeIdentifier::AddFields(), CPCRSetList::AddFwdName(), CPCRSetList::AddFwdSeq(), AddMiscRNAFeatures(), 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(), CSeqDBFileMemMap::Init(), 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_RemoveValueFromNote(), s_ReplaceArg(), s_RptUnitIsBaseRange(), s_ShortenLatLon(), s_StartsWithNcrnaName(), s_StringHasPMID(), s_TitleEndsInOrganism(), s_TruncateLatLon(), s_UnregisterDataLoader(), s_UpdateTitleString(), 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().

◆ Find() [2/5] ◆ Find() [3/5]

Find the pattern in the specified range of a string.

Parameters
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.
Returns
See also
FindCase, FindNoCase, FindWord
Deprecated:
Use
Find

(

str

, pattern, [use_case], [direction], [occurrence])

static const char * str(char *buf, int n)

static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)

Find the pattern in the string.

method instead. For example:

@ eCase

Case sensitive compare.

can be replaced by

@ eReverseSearch

Search in a backward direction.

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

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

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().

◆ Find() [4/5]

Test for presence of a given string in a list or vector of strings.

Definition at line 3017 of file ncbistr.cpp.

◆ Find() [5/5] ◆ find_first_not_of()

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(), and CFeatureTableReader_Imp::x_TokenizeStrict().

◆ find_first_of()

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(), CPubseqGatewayApp::x_GetPeerIdParameter(), CPubseqGatewayApp::x_GetPeerUserAgentParameter(), CSeq_id::x_IdentifyAccession(), and CWGSDb_Impl::x_InitIdParams().

◆ find_last_not_of() ◆ find_last_of() ◆ FindCase() [1/5] ◆ FindCase() [2/5] ◆ FindCase() [3/5]

Find the pattern in the specified range of a string using a case sensitive search.

Parameters
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".
Returns
See also
Find
Deprecated:

Use Find() method without [start:end] range.

Use one of the next methods instead:

Find

(

str

, pattern, [use_case], [direction], [occurrence])

static SIZE_TYPE FindCase(const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)

Find the pattern in the specified range of a string using a case sensitive search.

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.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ FindCase() [4/5] ◆ FindCase() [5/5] ◆ FindNoCase() [1/5] ◆ FindNoCase() [2/5] ◆ FindNoCase() [3/5]

Find the pattern in the specified range of a string using a case insensitive search.

Parameters
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".
Returns
See also
Find
Deprecated:
Use one of the next methods instead:
Find

(

str

, pattern, [use_case], [direction], [occurrence])

static SIZE_TYPE FindNoCase(const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)

Find the pattern in the specified range of a string using a case insensitive search.

For example:

can be replaced by

@ eNocase

Case insensitive compare.

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.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CValidError_bioseq::CheckSourceDescriptor(), 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(), GetSPDate(), 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(), CDiscrepancyContext::IsProkaryotic(), 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(), CFeatureTableReader_Imp::ParseTrnaExtString(), 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_HtmlizeStructuredCommentData(), 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_imp::ValidateBadAffil(), 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_imp::ValidateSubSource(), 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(), 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().

◆ FindNoCase() [4/5] ◆ FindNoCase() [5/5] ◆ FindWord() [1/2]

Find given word in the string.

Parameters
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".
Returns

Definition at line 3051 of file ncbistr.cpp.

References isalnum().

Referenced by NStr::FindWord(), and CMiscFeatValidator::Validate().

◆ FindWord() [2/2]

Find given word in the string.

This function honors word boundaries:

Parameters
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.
Returns
See also
Find
Deprecated:
Use FindWord() variant with EDirection parameter:

static SIZE_TYPE FindWord(const CTempString str, const CTempString word, ECase use_case=eCase, EDirection direction=eForwardSearch)

Find given word in the string.

Definition at line 2230 of file ncbistr.hpp.

References NStr::eFirst, NStr::eForwardSearch, NStr::eReverseSearch, NStr::FindWord(), and str().

◆ FormatVarargs() string NStr::FormatVarargs ( const char *  format, va_list  args  ) static

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().

◆ g_CTempString_plus() string g_CTempString_plus ( const char *  str1, size_t  len1, const char *  str2, size_t  len2  ) inline ◆ g_GetNcbiString() ◆ Get() [1/2] ◆ Get() [2/2] ◆ GetCase() ◆ GetDecoder()

template<class TContainer >

◆ GetEncodedString() const string& CEncodedString::GetEncodedString ( void  ) const inline ◆ GetEncoder()

template<class TContainer >

◆ GetErrCode()

Get error code.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ GetErrCodeString() [1/2] ◆ GetErrCodeString() [2/2] const char * CStringException::GetErrCodeString ( void  ) const overridevirtual ◆ GetField() [1/2]

Search for a field.

Parameters
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.
Returns
Found field; or empty string if the required field is not found.
Note
Field 0 spans up to the delimiter or the end-of-string.

Definition at line 6525 of file ncbistr.cpp.

◆ GetField() [2/2]

Search for a field.

Parameters
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.
Returns
Found field; or empty string if the required field is not found.
Note
Field 0 spans up to the first-found delimiter or the end-of-string.

Definition at line 6512 of file ncbistr.cpp.

◆ GetField_Unsafe() [1/2]

Search for a field.

Avoid memory allocation at the expense of some usage safety.

Parameters
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.
Returns
Found field; or empty string if the required field is not found.
Note
Field 0 spans up to the delimiter or the end-of-string.
Warning
The return value stores a pointer to the input string 'str' so the return object validity time matches lifetime of the input 'str'.

Definition at line 6551 of file ncbistr.cpp.

◆ GetField_Unsafe() [2/2]

Search for a field.

Avoid memory allocation at the expense of some usage safety.

Parameters
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.
Returns
Found field; or empty string if the required field is not found.
Note
Field 0 spans up to the first-found delimiter or the end-of-string.
Warning
The return value stores a pointer to the input string 'str' so the return object validity time matches lifetime of the input 'str'.

Definition at line 6538 of file ncbistr.cpp.

◆ GetOriginalString() const string& CEncodedString::GetOriginalString ( void  ) const inline ◆ GetPairs() [1/2]

template<class TContainer >

◆ GetPairs() [2/2]

template<class TContainer >

◆ GetPos() [1/2] SIZE_TYPE CStrTokenizeBase::GetPos ( void  ) const inline ◆ GetPos() [2/2] ◆ GetSize() ◆ GetSymbolCount() ◆ GetType() ◆ GetValidBytesCount() ◆ GetValidSymbolCount() ◆ GuessEncoding() ◆ HasZeroAtEnd() bool CTempStringEx::HasZeroAtEnd ( void  ) const 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().

◆ HexChar() int NStr::HexChar ( char  ch ) inlinestatic ◆ HtmlDecode() ◆ HtmlEncode()

Encode a string for HTML.

Replace relevant characters by predefined entities.

Parameters
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().

◆ HtmlEntity()

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().

◆ impl_ToCString() [1/2] ◆ impl_ToCString() [2/2] ◆ Int8ToString() [1/2]

Convert Int8 to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ Int8ToString() [2/2]

Convert Int8 to string.

Parameters
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.
Note

Definition at line 2026 of file ncbistr.cpp.

◆ IntToString() [1/4]

Convert int to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CSdbapiTest::Run(), CCgiApplication::Run(), CAgpValidateApplication::Run(), CDbapiTestSpeedApp::RunSample(), CNcbiSample_Dbapi_Advanced_Features::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_GetUserObjectTypeOrClass(), 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(), CGtfReader::xAssignFeatureId(), CGff3FlybaseWriter::xAssignTaxid(), 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().

◆ IntToString() [2/4]

Convert int to string.

Parameters
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.
Note

Definition at line 1863 of file ncbistr.cpp.

◆ IntToString() [3/4] ◆ IntToString() [4/4] ◆ IsBlank()

Check if a string is blank (has no text).

Parameters
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(), 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(), CFeatureTableReader_Imp::ParseTrnaExtString(), 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_IsHugeMode(), 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_RemoveTaxnameFromProtRef(), 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(), s_UpdateTitleString(), 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(), x_GetUpdatedDbTagName(), 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(), 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().

◆ IsEmpty() bool CEncodedString::IsEmpty ( void  ) const inline ◆ IsEncoded() bool CEncodedString::IsEncoded ( void  ) const inline ◆ IsIPAddress() ◆ IsLower()

Checks if all letters in the given string have a lower case.

Parameters
str String to be checked.
Returns
TRUE if all letter characters in the string are lowercase according to the current C locale (std::islower()). All non-letter characters will be ignored. TRUE if empty or no letters.

Definition at line 433 of file ncbistr.cpp.

References i, isalpha(), islower(), len, and str().

◆ IsUpper() ◆ IsWhiteSpace() ◆ JavaScriptEncode() ◆ Join() [1/7]

template<typename TValue >

◆ Join() [2/7]

template<typename TContainer >

Join strings using the specified delimiter.

Parameters
arr Array of strings to be joined. delim Delimiter used to join the string.
Returns
The strings in "arr" are joined into a single string, separated with "delim".
See also
Split

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(), CDiscrepancyVisitorImpl< _Name >::Autofix(), 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().

◆ Join() [3/7] ◆ Join() [4/7] ◆ Join() [5/7] void CTempStringList::Join ( strings ) const ◆ Join() [6/7]

template<typename TInputIterator >

◆ Join() [7/7]

template<size_t num_prealloc, typename TIn , typename TOut >

void CTextJoiner< num_prealloc, TIn, TOut >::Join ( TOut *  result ) const inline ◆ JoinNumeric()

template<typename TInputIterator >

◆ JsonDecode()

Decode a string encoded by JsonEncode.

Parameters
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.
See also
JsonEncode
Warning
This method only supports strings encoded by JsonEncode-specific encodings.

Definition at line 4986 of file ncbistr.cpp.

Referenced by CJsonParser::ParseString().

◆ JsonEncode()

Encode a string for JSON.

Parameters
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.
Warning
This method is not intended to work with strings that already have UTF-8 encoding, except simple eJsonEnc_Quoted mode, that just quote a string, without any real encoding. Passed string have no information on encoding and JsonEncode() cannot detect it. So, with default eJsonEnc_UTF8 mode such strings will be re-encoded again, so you will have double UTF-8 encoded string as result, that is not what you may expect. Be aware.
Returns
JSON encoded string

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().

◆ Justify() [1/3]

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.

Note
Words exceeding the specified "width" will not be split between lines but occupy individual lines (which will be wider than "width").
Parameters
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.
Returns
Return "par", the list of justified lines (a paragraph).
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5409 of file ncbistr.cpp.

Referenced by NStr::Justify(), CConnTest::PostCheck(), and CConnTest::PreCheck().

◆ Justify() [2/3] ◆ Justify() [3/3] ◆ length() [1/2]

template<typename _TChar >

size_t CTempXStr< _TChar >::length ( void  ) const inline ◆ length() [2/2]

Return the length of the represented array.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ Less() [1/3] ◆ Less() [2/3] ◆ Less() [3/3] ◆ literal()

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(), CNewCleanup_imp::RemoveZeroLengthLiterals(), 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().

◆ LongToString() [1/2]

Convert Int to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ LongToString() [2/2]

Convert Int to string.

Parameters
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.
Note

Definition at line 1880 of file ncbistr.cpp.

◆ MatchEncoding()

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

Parameters
src Source string encoding Character encoding form to check against
Returns
Boolean result: encoding is same or compatible

Definition at line 6767 of file ncbistr.cpp.

◆ MatchesMask()

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.

Parameters
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).

Note
In the above, each double backslash denotes a single graphical backslash character (C string notation is used).
Unlike shell globbing, "[--0]" *does* match the slash character '/' (along with '-', '.', and '0' that all fall within the range).
Parameters
use_case Whether to do a case sensitive compare for letters (eCase – default), or a case-insensitive compare (eNocase).
Returns
Return TRUE if "str" matches "mask", and FALSE otherwise (including patter errors).
See also
CRegexp, CRegexpUtil

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().

◆ Merge() [1/2]

template<class TContainer >

Merge name-value pairs from the provided container, separators and encoder.

Delete the encoder if the ownership flag allows.

Parameters
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.

◆ Merge() [2/2]

template<class TContainer >

◆ MergeDelims() void CStrTokenizeBase::MergeDelims ( void  ) inline ◆ NCBI_EXCEPTION_DEFAULT2() ◆ NeedsURLEncoding() ◆ NumericToString() [1/3]

template<typename TNumeric >

Convert numeric value to string.

Parameters
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.
Note

Definition at line 704 of file ncbistr.hpp.

References flags, rapidjson::value, and NStr::x_NumericToString().

◆ NumericToString() [2/3]

template<typename TNumeric >

Convert numeric value to string.

Parameters
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.
Returns

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(), CPSGDataLoader_Impl::CPSGDataLoader_Impl(), 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(), 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(), CPSGL_Processor::x_Format(), 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(), 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(), 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().

◆ NumericToString() [3/3]

template<typename TStrictId >

◆ operator basic_string< _TChar >()

template<typename _TChar >

CTempXStr< _TChar >::operator basic_string< _TChar > ( void  ) const inline ◆ operator string() CTempString::operator string ( void  ) const inline ◆ operator!=() [1/3] ◆ operator!=() [2/3] ◆ operator!=() [3/3] ◆ operator()() [1/6] ◆ operator()() [2/6] ◆ operator()() [3/6] ◆ operator()() [4/6] ◆ operator()() [5/6] ◆ operator()() [6/6] ◆ operator+() [1/5] ◆ operator+() [2/5] ◆ operator+() [3/5] ◆ operator+() [4/5] ◆ operator+() [5/5] ◆ operator<() [1/3] ◆ operator<() [2/3] ◆ operator<() [3/3] ◆ operator<<() [1/2]

Operator for writing TStringUCS2 to stream.

Operator is needed for using in SDBAPI.

Definition at line 3848 of file ncbistr.hpp.

References str().

◆ operator<<() [2/2] ◆ operator=() ◆ operator==() [1/3] ◆ operator==() [2/3] ◆ operator==() [3/3] ◆ operator>() [1/3] ◆ operator>() [2/3] ◆ operator>() [3/3] ◆ operator[]() [1/2]

template<typename _TChar >

_TChar CTempXStr< _TChar >::operator[] ( size_t  pos ) const inline ◆ operator[]() [2/2] char CTempString::operator[] ( size_type  pos ) const inline ◆ Parse() [1/2]

template<class TContainer >

◆ Parse() [2/2]

template<class TContainer >

Parse the string using the provided decoder, put data into the container.

Parameters
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.

◆ ParseEscapes()

Parse C-style escape sequences in the specified string.

Parse escape sequences including all those produced by PrintableString.

Parameters
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.
Returns
String with parsed C-style escape sequences.
See also
EEscSeqFlags, PrintableString, CEncode, CParse

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().

◆ ParseQuoted() ◆ PEqualNocase_Conditional_Generic() ◆ PNocase_Conditional_Generic() ◆ PrintableString()

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.

Parameters
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.
Returns
Return a printable version of "str".
See also
ParseEscapes, Escape, CEncode, CParse, Sanitize

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().

◆ PtrToString() [1/2]

Convert pointer to string.

Parameters
str Pointer to be converted.
Returns

Definition at line 2752 of file ncbistr.cpp.

◆ PtrToString() [2/2] void NStr::PtrToString ( stringout_str, const void *  ptr  ) static

Convert pointer to string.

Parameters
out_str Output string variable. str Pointer to be converted.
Note

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().

◆ push_back() [1/2]

template<class TPosContainer >

◆ push_back() [2/2] void CStrDummyTokenPos::push_back ( string::size_type  ) inline

Definition at line 57 of file ncbistr_util.hpp.

◆ Quote()

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).

Parameters
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".
Returns
Quoted string.
See also
Unquote, ParseQuoted, CEncode

Definition at line 3888 of file ncbistr.cpp.

Referenced by CCassPrm::AsStringForDebug(), CCassConnection::Prepare(), ProduceCassandraFutureErrorMessage(), ProduceCassandraQueryErrorMessage(), CCassQuery::Restart(), NMacroUtil::TransformForCSV(), CCassQuery::Wait(), CBlastTabularInfo::x_PrintSubjectBlastName(), CBlastTabularInfo::x_PrintSubjectBlastNames(), CBlastTabularInfo::x_PrintSubjectCommonName(), CBlastTabularInfo::x_PrintSubjectCommonNames(), CBlastTabularInfo::x_PrintSubjectSciName(), and CBlastTabularInfo::x_PrintSubjectSciNames().

◆ Replace() [1/2]

Replace occurrences of a substring within a string and returns the result as a new string.

Parameters
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.
Returns
A new string containing the result of replacing the "search" string with "replace" in "src"
Note
After replacing each occurence of the "search" string with "replace" this function move current search position behind a new replacement in the resulting string, so it doesn't search over any part of the inserted "replace".
See also
Versioning of Replace() that has a destination parameter to accept result.

Definition at line 3385 of file ncbistr.cpp.

◆ Replace() [2/2]

Replace occurrences of a substring within a string.

Parameters
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.
Returns
Result of replacing the "search" string with "replace" in "src". This value is placed in "dst" as well.
Note
After replacing each occurence of the "search" string with "replace" this function move current search position behind a new replacement in the resulting string, so it doesn't search over any part of the inserted "replace".
See also
Versioning of Replace() that returns a new string.
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ ReplaceInPlace()

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.

Parameters
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".
Note
After replacing each occurence of the "search" string with "replace" this function move current search position behind a new replacement in the resulting string, so it doesn't search over any part of the inserted "replace".
Parameters
num_replace Optional pointer to a value which receives number of replacements occurred.
Returns
Result of replacing the "search" string with "replace" in "src".
See also
Replace
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 3396 of file ncbistr.cpp.

Referenced by 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(), 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().

◆ ReportExtra() ◆ Reserve() [1/2] ◆ Reserve() [2/2] ◆ reserve() [1/2]

template<class TPosContainer >

◆ reserve() [2/2] void CStrDummyTokenPos::reserve ( string::size_type  ) inline

Definition at line 58 of file ncbistr_util.hpp.

◆ resize()

template<class TPosContainer >

◆ rfind() [1/2] ◆ rfind() [2/2] ◆ Sanitize() [1/2]

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.

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().

◆ Sanitize() [2/2]

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.

Definition at line 2878 of file ncbistr.hpp.

References flags, and str().

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().

◆ SetCase() ◆ SetDecoder()

template<class TContainer >

◆ SetDelim() ◆ SetEncoder()

template<class TContainer >

◆ SetString() ◆ ShellEncode()

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.

Note
The BASH shell has extensions beyond Bourne Shell quoting. Also, this is very different from C Shell quoting, and MS Windows Command Prompt quoting rules.

Definition at line 4671 of file ncbistr.cpp.

Referenced by CNcbiApplicationAPI::AppStart().

◆ size() [1/2]

template<class TPosContainer >

◆ size() [2/2]

Return the length of the represented array.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), 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(), 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(), CReaderBase::xIsTrackLine(), and NStr::xx_Join().

◆ SizetToString()

Convert size_t to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ SkipDelims() void CStrTokenizeBase::SkipDelims ( void  ) inline ◆ SNode() [1/2] ◆ SNode() [2/2] ◆ Split() [1/6] ◆ Split() [2/6] ◆ Split() [3/6]

Split a string using specified delimiters.

Parameters
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".
Attention
Modifying source CTempString object or destroying it, will invalidate results.
Returns
The list "arr" is also returned.
See also
ESplitFlags, SplitInTwo, SplitByPattern
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), GetSPDate(), 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::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_GetCodeBreakSeqLocMix(), 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(), SPSG_UserArgsBuilder::MergeValues::s_ReadMultivalued(), 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_UpdateTraceState(), 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(), CPubseqGatewayApp::x_PrepareConfigJson(), 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().

◆ Split() [4/6] ◆ Split() [5/6] ◆ Split() [6/6] ◆ SplitByPattern() [1/6] ◆ SplitByPattern() [2/6] ◆ SplitByPattern() [3/6]

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().

◆ SplitByPattern() [4/6] ◆ SplitByPattern() [5/6] ◆ SplitByPattern() [6/6] ◆ SplitInTwo() [1/3] ◆ SplitInTwo() [2/3] ◆ SplitInTwo() [3/3]

Split a string into two pieces using the specified delimiters.

Parameters
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.
Attention
Modifying source CTempString object or destroying it, will invalidate results.
Returns
true if a symbol from "delim" was found in "str", false if not. This lets you distinguish when there were no delimiters and when the very last character was the first delimiter.
See also
ESplitFlags, Split
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CDBConnectionFactory::CServiceInfo::GetOptions(), 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(), 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_CleanUpNullTerms(), 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(), s_UpdateTraceState(), 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(), CFastCgiApplicationMT::x_RunFastCGI(), 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().

◆ SQLEncode() [1/2] ◆ SQLEncode() [2/2]

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.

Parameters
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.
Returns
Encoded string with added outer single quotes

Definition at line 6131 of file ncbistr.cpp.

Referenced by CNcbiSample_Dbapi_Simple::DemoDynamicSql(), CSdbapiSimpleApp::DemoDynamicSql(), NStr::SQLEncode(), CPubseqReader::x_ConnectAtSlot(), CPubseq2Reader::x_ConnectAtSlot(), and CId2FetchApp::x_InitPubSeqConnection().

◆ StartsWith() [1/2]

Check if a string starts with a specified character value.

Parameters
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().

◆ StartsWith() [2/2]

Check if a string starts with a specified prefix value.

Parameters
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.
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CkLocusLinePos(), 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(), fta_fix_tpa_keywords(), fta_strip_pub_comment(), g_GenericStatToJson(), g_ProcessJobInfo(), g_WorkerNodeInfoToJson(), NSearchFeatPanel::GatherFeatures(), gb_refs_common(), CNewCleanup_imp::GBQualSeqFeatBC(), CAliasTypeStrings::GenerateCode(), CDeflineGenerator::GenerateDefline(), get_auth_consortium(), CValidError_feat::GetAccessionsFromInferenceString(), CProjectsLstFileFilter::GetAllowedTagsInfo(), CSeqUtils::GetAnnotSelector(), GetAsnDataViaHTTPS(), CPubField::GetAuthorField(), CConvertCdsToMiscFeat::GetCommand(), CEditSequenceEnds::GetCommand(), CReadBlastApp::getCoreDataType(), CDDTypedAnnotDialog::GetData(), GetDescrEmblBlock(), CValidErrorFormat::GetDescriptorContent(), GetDescrSPBlock(), GetDiscrepancyCaseName(), CBlastOptionsFactory::GetDocumentation(), CGetDOIFromCitGen::GetDOI(), CGetDOIFromCitArt::GetDOI(), GetEmblDescr(), GetEmblMolInfo(), NMItemData::GetExistingTextDescr(), CMsvcProjectMakefile::GetExtraFiles(), CAutoDefFeatureClause_Base::GetFeatureClausePhrases(), CValidErrorFormat::GetFeatureContentLabel(), CFieldChoicePanel::GetFieldName(), CProteinFieldPanel::GetFieldName(), CFieldNamePanel::GetFieldTypeFromName(), CWGSDataLoader_Impl::GetFileInfoByGeneral(), GetFlatBiomol(), COrgName::GetFlatName(), CUnculturedTaxnameQual::GetFormatErrors(), CApplyFeatQualTreeItemData::GetFunction(), CApplyRNAQualTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CEditRNAQualTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CRmvRNAQualTreeItemData::GetFunction(), CRmvOutsideRNAQualTreeItemData::GetFunction(), GetGenBankDescr(), 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(), GetSPDescrComment(), GetSPDescrTitle(), 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(), InitialEntry(), CIdMapperConfig::Initialize(), impl::CRowInfo_SP_SQL_Server::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(), journal(), 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(), ParseRLDataSP(), CAutoDefParsedtRNAClause::ParseString(), CFeatureTableReader_Imp::ParseTrnaExtString(), 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(), QSbuf_ParseDefline(), 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_CleanUpNullTerms(), 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_GetEmblInst(), 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(), 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_ProcessTranscriptId(), s_ReadPerClientConfig(), s_RemoveAliasComponents(), s_RemoveBracketedOrgFromEnd(), s_RemoveInitial(), 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(), s_TrimFeatQuals(), 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(), SourceFeatStructFillIn(), sParseGeneOntologyTerm(), SpecificHostValueToCheck(), SPFeatProtRef(), SPParseDefinition(), SprotIndex(), 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::ValidateSeqId(), 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(), 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(), CFeatTableEdit::xFeatureAddProteinIdCds(), CFeatTableEdit::xFeatureAddProteinIdDefault(), CFeatTableEdit::xFeatureAddProteinIdMrna(), CFeatTableEdit::xFeatureAddTranscriptIdCds(), CFeatTableEdit::xFeatureAddTranscriptIdDefault(), CFeatTableEdit::xFeatureAddTranscriptIdMrna(), xgbparselex_ver(), CBedReader::xGetData(), CWiggleReader::xGetData(), CGffIdGenerator::xGetIdForRna(), 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(), XMLGetDescr(), CVcfReader::xNormalizeData(), CGff2Record::xNormalizedAttributeValue(), CReaderBase::xParseBrowserLine(), CWiggleReader::xParseBrowserLine(), CReaderBase::xParseComment(), CVcfReader::xParseData(), 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(), C5ColLineReader::xSplitLine(), and CNewCleanup_imp::xUpdateSeqfeatCitGenLabel().

◆ strcasecmp() [1/2]

template<typename _TChar >

◆ strcasecmp() [2/2] ◆ strcmp() [1/2]

template<typename _TChar >

◆ strcmp() [2/2]

String compare.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
strncmp(), strcasecmp(), strncasecmp()
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ strftime() size_t NStr::strftime ( char *  s, size_t  maxsize, const char *  format, const struct tm *  timeptr  ) inlinestatic ◆ StringToBool()

Convert string to bool.

Parameters
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'.
Returns

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().

◆ StringToDouble()

Convert string to double.

Parameters
str String to be converted. flags How to convert string to value. Do not support fAllowCommas flag.
Returns
Note

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().

◆ StringToDoubleEx() ◆ StringToDoublePosix()

Convert string to double-precision value (analog of strtod function)

Parameters
str String to be converted. endptr Pointer to character that stops scan.
Returns
Double-precision value. This function always uses dot as decimal separator.
Note

Definition at line 980 of file ncbistr.cpp.

Referenced by CTableDataBioTreeContainer::GetRealValue(), CObjectIStreamAsn::ReadDouble(), CObjectIStreamAsnBinary::ReadDouble(), CObjectIStreamJson::ReadDouble(), and CObjectIStreamXml::ReadDouble().

◆ StringToEncoding() ◆ StringToInt()

Convert string to int.

Parameters
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.
Returns

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(), CkCdRegion(), CkNonTerSP(), CollectGapFeats(), 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(), GetSourceDbtag(), 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_GetCodeBreakSeqLocMix(), 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(), CReaderBase::xSetBrowserRegion(), CBedReader::xSetFeatureColorFromItemRgb(), CBedReader::xSetFeatureDisplayData(), CMicroArrayReader::xSetFeatureDisplayData(), CBedReader::xSetFeatureLocation(), CMicroArrayReader::xSetFeatureLocation(), CBedReader::xSetFeatureLocationCds(), CBedReader::xSetFeatureLocationThick(), CBedReader::xSetFeatureScore(), CMultiReaderApp::xSetFlags(), and CGff2Reader::xSetSplicedExon().

◆ StringToInt8()

Convert string to Int8.

Parameters
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.
Returns

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().

◆ StringToLong()

Convert string to long.

Parameters
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.
Returns

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().

◆ StringToNonNegativeInt()

Convert string to non-negative integer value.

Parameters
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.
Returns

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().

◆ StringToNumeric() [1/3]

template<typename TNumeric >

Convert string to a numeric value.

Parameters
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.
Returns

Definition at line 356 of file ncbistr.hpp.

References flags, str(), rapidjson::value, and NStr::x_StringToNumeric().

◆ StringToNumeric() [2/3]

template<typename TNumeric >

Convert string to a numeric value.

Parameters
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.
Returns

Definition at line 330 of file ncbistr.hpp.

References flags, and str().

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(), CDBConnectionFactory::CServiceInfo::GetOptions(), CNcbiTest::GetRandomSeed(), impl::CDriverContext::MakeConnection(), CProcessor::OffsetId(), CPubmedFetchApplication::Run(), s_IsNumericId(), s_ParseInt(), CDirEntry::SetOwner(), CDBPoolBalancer::x_GetPoolMax(), CMakeBlastDBApp::x_ProcessMaskData(), CODBC_Connection::x_SetConnAttributesBefore(), and SAccGuide::x_SplitSpecial().

◆ StringToNumeric() [3/3] ◆ StringToPtr()

Convert string to pointer.

Parameters
str String to be converted. flags How to convert string to value. Only fConvErr_NoErrMessage flag is supported here.
Returns
Pointer value corresponding to its string representation.

Definition at line 2772 of file ncbistr.cpp.

Referenced by CPluginObject::PostRead(), and CDataLoaderFactory::x_GetObjectManager().

◆ StringToSizet()

Convert string to size_t.

Parameters
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.
Returns

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().

◆ StringToUInt()

Convert string to unsigned int.

Parameters
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.
Returns

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(), CNcbiSample_Dbapi_Simple::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(), CAlnFormatGuesser::xSampleIsSequin(), CBedReader::xSetFeatureLocationBlock(), and CBedReader::xSetFeatureLocationRna().

◆ StringToUInt8()

Convert string to Uint8.

Parameters
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.
Returns

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().

◆ StringToUInt8_DataSize() [1/2]

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.

Parameters
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.
Returns
Deprecated:
Use StringToUInt8_DataSize(str, flags) instead.

Definition at line 1455 of file ncbistr.cpp.

◆ StringToUInt8_DataSize() [2/2]

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.

Parameters
str String to be converted. flags How to convert string to value.
Returns

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().

◆ StringToULong()

Convert string to unsigned long.

Parameters
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.
Returns

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().

◆ strncasecmp() [1/2]

template<typename _TChar >

◆ strncasecmp() [2/2] int NStr::strncasecmp ( const char *  s1, const char *  s2, size_t  n  ) inlinestatic

Case-insensitive comparison of two zero-terminated strings, narrowed to the specified number of characters.

Parameters
s1 String to be compared – operand 1. s2 String to be compared – operand 2.
Returns
See also
strcmp(), strcasecmp(), strcasecmp()
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ strncmp() [1/2]

template<typename _TChar >

◆ strncmp() [2/2] ◆ substr() [1/4]

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

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), 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(), 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(), CGff2Reader::xIsFastaMarker(), CGff2Reader::xIsSequenceRegion(), CGff2Record::xNormalizedAttributeValue(), and CGvfReader::xParseStructuredComment().

◆ substr() [2/4]

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().

◆ substr() [3/4] ◆ substr() [4/4] ◆ SymbolToChar() [1/2] ◆ SymbolToChar() [2/2] ◆ ToLower() [1/3] char * NStr::ToLower ( char *  str ) static

Convert string to lower case – char* version.

Parameters
str String to be converted.
Returns
Lower cased string.

Definition at line 395 of file ncbistr.cpp.

References str(), and tolower().

◆ ToLower() [2/3]

Privatized ToLower() with const char* parameter to prevent passing of constant strings.

◆ ToLower() [3/3]

Convert string to lower case – string& version.

Parameters
str String to be converted.
Returns
Lower cased string.

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(), CFlatFileGenerator::GetFTableAnticodonText(), 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(), s_CleanUpNullTerms(), 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(), 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().

◆ ToUpper() [1/3] char * NStr::ToUpper ( char *  str ) static

Convert string to upper case – char* version.

Parameters
str String to be converted.
Returns
Upper cased string.

Definition at line 414 of file ncbistr.cpp.

References str(), and toupper().

◆ ToUpper() [2/3]

Privatized ToUpper() with const char* parameter to prevent passing of constant strings.

◆ ToUpper() [3/3]

Convert string to upper case – string& version.

Parameters
str String to be converted.
Returns
Upper cased string.

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(), CEnvironmentRegistry::x_HasSection(), 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().

◆ TransformJoin()

template<typename TIterator , typename FTransform >

◆ TrimPrefix_Unsafe()

Trim prefix from a string.

"Unsafe" counterpart to TrimPrefixInPlace().

Parameters
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.
Attention
The lifespan of the result string is the same as one of the source. So, for example, if the source is temporary string, or it changes somehow, then the result will be invalid right away (will point to already released or wrong range in the memory).
See also
TrimPrefixInPlace

Definition at line 3257 of file ncbistr.cpp.

◆ TrimPrefixInPlace() [1/2] ◆ TrimPrefixInPlace() [2/2]

Trim prefix from a string (in-place)

Parameters
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().

◆ TrimSuffix_Unsafe()

Trim suffix from a string.

"Unsafe" counterpart to TrimSuffixInPlace().

Parameters
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.
Attention
The lifespan of the result string is the same as one of the source. So, for example, if the source is temporary string, or it changes somehow, then the result will be invalid right away (will point to already released or wrong range in the memory).
See also
TrimSuffixInPlace

Definition at line 3293 of file ncbistr.cpp.

Referenced by CAliasTypeStrings::GenerateCode().

◆ TrimSuffixInPlace() [1/2] ◆ TrimSuffixInPlace() [2/2]

Trim suffix from a string (in-place)

Parameters
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().

◆ TruncateSpaces() [1/4] ◆ TruncateSpaces() [2/4] ◆ TruncateSpaces() [3/4] ◆ TruncateSpaces() [4/4]

Truncate whitespace in a string.

Parameters
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).
See also
TruncateSpaces_Unsafe

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_UpdateTraceState(), 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(), SPubseqGatewaySettings::x_GetPercentValue(), CShowBlastDefline::x_InitFormattingInfo(), SPubseqGatewaySettings::x_IsPercentValue(), 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().

◆ TruncateSpaces_Unsafe() [1/2] ◆ TruncateSpaces_Unsafe() [2/2]

Truncate whitespace in a string.

It can be faster but it is also more dangerous than TruncateSpaces()

Parameters
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).
Attention
The lifespan of the result string is the same as one of the source. So, for example, if the source is temporary string, or it changes somehow, then the result will be invalid right away (will point to already released or wrong range in the memory).
See also
TruncateSpaces

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().

◆ TruncateSpacesInPlace() [1/3]

Truncate whitespace in the string (in-place)

Parameters
src UTF8 string side Which end of the string to truncate whitespace from. Default is to truncate whitespace from both ends.
Returns
Reference to src
See also
IsWhiteSpace, TruncateSpaces_Unsafe, TruncateSpaces

Definition at line 7221 of file ncbistr.cpp.

◆ TruncateSpacesInPlace() [2/3] ◆ TruncateSpacesInPlace() [3/3]

Truncate whitespace in a string (in-place)

Parameters
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(), CQueryParsePanel::AddQueryText(), 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(), CFeatureTableReader_Imp::ParseTrnaExtString(), 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(), s_UpdateTitleString(), 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(), x_GetUpdatedDbTagName(), 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(), 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().

◆ UInt8ToString() [1/2]

Convert UInt8 to string.

Parameters
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.
Note

Definition at line 2053 of file ncbistr.cpp.

◆ UInt8ToString() [2/2]

Convert UInt8 to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ UInt8ToString_DataSize() [1/2]

Convert UInt8 to string using "software" qualifiers.

See notes and details of how function works in the comments to UInt8ToString_DataSize() above.

Parameters
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.

◆ UInt8ToString_DataSize() [2/2]

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).

Parameters
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)
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ UIntToString() [1/4] ◆ UIntToString() [2/4] ◆ UIntToString() [3/4]

Convert UInt to string.

Parameters
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.
Note

Definition at line 5121 of file ncbistr.hpp.

References flags, NStr::ULongToString(), and rapidjson::value.

◆ UIntToString() [4/4]

Convert UInt to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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(), CNcbiSample_Dbapi_Simple::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().

◆ ULongToString() [1/2]

Convert unsigned long to string.

Parameters
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.
Note

Definition at line 1897 of file ncbistr.cpp.

◆ ULongToString() [2/2]

Convert unsigned long to string.

Parameters
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.
Returns
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ Unescape()

Unescape string (generic version).

Remove escape characters added by Escape().

Parameters
str The string to be processed. escape_char Character used for escaping.
Returns
Unescaped string.
See also
Escape

Definition at line 3861 of file ncbistr.cpp.

◆ Unquote()

Unquote string (generic version).

Remove quotation added by Quote(). Uses first character as quoting character.

Parameters
str The string to be processed. escape_char Character used for escaping.
Returns
Unquoted string.
See also
Quote, ParseQuoted, CEncode

Definition at line 3909 of file ncbistr.cpp.

◆ URLDecode()

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().

◆ URLDecodeInPlace() ◆ URLEncode()

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().

◆ Wrap() [1/4]
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ Wrap() [2/4] ◆ Wrap() [3/4] ◆ Wrap() [4/4] ◆ WrapIt()

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.

Parameters
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.
Returns
Return "arr", the list of wrapped lines.

Definition at line 5083 of file ncbistr.cpp.

Referenced by NStr::Wrap().

◆ WrapList() [1/3] ◆ WrapList() [2/3] ◆ WrapList() [3/3]

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.

Parameters
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.
Returns
Return "arr", the wrapped list.
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5357 of file ncbistr.cpp.

Referenced by CArgDescriptions::CPrintUsage::AddSynopsis(), and NStr::WrapList().

◆ x_Append() [1/3] ◆ x_Append() [2/3] ◆ x_Append() [3/3]

template<typename TChar >

◆ x_AppendChar() ◆ x_AsBasicString()

template<typename TChar >

◆ x_BytesNeeded() ◆ x_Clone()

template<class TBase >

inlineoverrideprotectedvirtual ◆ x_Decode()

template<typename TIterator >

◆ x_EvalFirst() ◆ x_EvalNext() bool CUtf8::x_EvalNext ( char  ch ) staticprivate ◆ x_ExtendInternalDelim() void CStrTokenizeBase::x_ExtendInternalDelim ( ) private ◆ x_GetErrorFragment() ◆ x_GetValidSymbolCount() ◆ x_Init() [1/2] ◆ x_Init() [2/2] ◆ x_Join() [1/2]

template<typename TIterator >

◆ x_Join() [2/2]

template<typename TValue >

◆ x_length()

template<typename _TChar >

size_t CTempXStr< _TChar >::x_length ( void  ) const inlineprivate ◆ x_npos()

template<typename _TChar >

◆ x_NumericToString() [1/4] ◆ x_NumericToString() [2/4]

template<typename TNumeric >

◆ x_NumericToString() [3/4]

template<typename TStrictId >

◆ x_NumericToString() [4/4] ◆ x_ReportLimitsError() ◆ x_SkipDelims() void CStrTokenizeBase::x_SkipDelims ( bool  force_skip ) private ◆ x_StringToNumeric() [1/7] ◆ x_StringToNumeric() [2/7] ◆ x_StringToNumeric() [3/7] ◆ x_StringToNumeric() [4/7]

template<typename TNumeric >

◆ x_StringToNumeric() [5/7]

template<typename TStrictId >

◆ x_StringToNumeric() [6/7]

template<typename TNumeric >

◆ x_StringToNumeric() [7/7] ◆ x_TCharToUnicodeSymbol()

template<typename TChar >

◆ x_Validate() ◆ x_VerifyFloatLimits()

template<typename TNumeric , typename TSource >

◆ x_VerifyIntLimits()

template<typename TNumeric , typename TSource >

◆ XmlEncode()

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().

◆ xx_Join()

template<typename TIterator >

◆ ~CParseTemplException() ◆ ~CStringPairs()

template<class TContainer >

◆ ~CTempString_Storage() CTempString_Storage::~CTempString_Storage ( void  )

Definition at line 7418 of file ncbistr.cpp.

◆ ~IStringDecoder() virtual IStringDecoder::~IStringDecoder ( void  ) inlinevirtual ◆ ~IStringEncoder() virtual IStringEncoder::~IStringEncoder ( void  ) inlinevirtual ◆ ~IWrapDest() virtual NStr::IWrapDest::~IWrapDest ( ) inlinevirtual

Definition at line 3273 of file ncbistr.hpp.

◆ END_NCBI_NAMESPACE ◆ kEmptyCStr

Empty "C" string (points to a '\0').

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 68 of file ncbistr.cpp.

Referenced by CJson_Document::CJson_Document(), 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().

◆ kEmptyWCStr ◆ m_ArgSep

template<class TContainer >

◆ m_CaseSensitive ◆ m_Data [1/3]

template<typename _TChar >

◆ m_Data [2/3]

template<class TContainer >

◆ m_Data [3/3] ◆ m_Decoder

template<class TContainer >

◆ m_Delim ◆ m_DelimStorage ◆ m_Encoded unique_ptr<string> CEncodedString::m_Encoded private ◆ m_Encoder

template<class TContainer >

◆ m_ExtraStorage

template<size_t num_prealloc, typename TIn = string, typename TOut = basic_string<typename TIn::value_type>>

unique_ptr<vector<TIn> > CTextJoiner< num_prealloc, TIn, TOut >::m_ExtraStorage private

Definition at line 71 of file text_joiner.hpp.

◆ m_FirstNode SNode CTempStringList::m_FirstNode private ◆ m_Flag [1/2] ◆ m_Flag [2/2] ◆ m_Flags TFlags CStrTokenizeBase::m_Flags protected ◆ m_InternalDelim ◆ m_LastNode SNode* CTempStringList::m_LastNode private ◆ m_Length [1/2]

template<typename _TChar >

◆ m_Length [2/2] ◆ m_list list<string>& NStr::CWrapDestStringList::m_list protected ◆ m_MainStorage

template<size_t num_prealloc, typename TIn = string, typename TOut = basic_string<typename TIn::value_type>>

TIn CTextJoiner< num_prealloc, TIn, TOut >::m_MainStorage[num_prealloc] private

Definition at line 70 of file text_joiner.hpp.

◆ m_MainStorageUsage

template<size_t num_prealloc, typename TIn = string, typename TOut = basic_string<typename TIn::value_type>>

size_t CTextJoiner< num_prealloc, TIn, TOut >::m_MainStorageUsage private

Definition at line 72 of file text_joiner.hpp.

◆ m_Original string CEncodedString::m_Original private ◆ m_Pos [1/2] ◆ m_Pos [2/2] ◆ m_Storage [1/2] ◆ m_Storage [2/2] ◆ m_Str ◆ m_String const char* CTempString::m_String private ◆ m_TokenPos

template<class TPosContainer >

◆ m_ValSep

template<class TContainer >

◆ m_ZeroAtEnd ◆ next unique_ptr<SNode> CTempStringList::SNode::next ◆ npos

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(), GetSPDate(), 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().

◆ str ◆ CStringUTF8_DEPRECATED

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

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

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