NCBI C++ ToolKit
Macros | Functions | Variables
ncbictype.hpp File Reference

Catch attempts to call ctype functions with bad types. More...

#include <corelib/ncbistl.hpp>
#include <corelib/ncbitype.h>
#include <cctype>
+ Include dependency graph for ncbictype.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_STRICT_CTYPE_ARGS
 
#define NCBI_STRICT_CTYPE_ARGS_ACTIVE
 
#define NCBI_DEFINE_CTYPE_FUNC(name)
 

Functions

int isalpha (Uchar c)
 
int isalpha (char c)
 
template<class C >
int isalpha (C c)
 
int isalnum (Uchar c)
 
int isalnum (char c)
 
template<class C >
int isalnum (C c)
 
int iscntrl (Uchar c)
 
int iscntrl (char c)
 
template<class C >
int iscntrl (C c)
 
int isdigit (Uchar c)
 
int isdigit (char c)
 
template<class C >
int isdigit (C c)
 
int isgraph (Uchar c)
 
int isgraph (char c)
 
template<class C >
int isgraph (C c)
 
int islower (Uchar c)
 
int islower (char c)
 
template<class C >
int islower (C c)
 
int isprint (Uchar c)
 
int isprint (char c)
 
template<class C >
int isprint (C c)
 
int ispunct (Uchar c)
 
int ispunct (char c)
 
template<class C >
int ispunct (C c)
 
int isspace (Uchar c)
 
int isspace (char c)
 
template<class C >
int isspace (C c)
 
int isupper (Uchar c)
 
int isupper (char c)
 
template<class C >
int isupper (C c)
 
int isxdigit (Uchar c)
 
int isxdigit (char c)
 
template<class C >
int isxdigit (C c)
 
int tolower (Uchar c)
 
int tolower (char c)
 
template<class C >
int tolower (C c)
 
int toupper (Uchar c)
 
int toupper (char c)
 
template<class C >
int toupper (C c)
 

Variables

 BEGIN_STD_NAMESPACE
 
 END_STD_NAMESPACE
 

Detailed Description

Catch attempts to call ctype functions with bad types.

Definition in file ncbictype.hpp.

Macro Definition Documentation

◆ NCBI_DEFINE_CTYPE_FUNC

#define NCBI_DEFINE_CTYPE_FUNC (   name)
Value:
inline int name(Uchar c) { return name(int(c)); } \
inline int name(char c) { return name(Uchar(c)); } \
template<class C> inline int name(C c) \
{ \
return See_the_standard_on_proper_argument_type_for_ctype_functions(c); \
return 0; /* to avoid a compilation warning */ \
}
#define C(s)
Definition: common.h:231
unsigned char Uchar
Alias for unsigned char.
Definition: ncbitype.h:95

Definition at line 52 of file ncbictype.hpp.

◆ NCBI_STRICT_CTYPE_ARGS

#define NCBI_STRICT_CTYPE_ARGS

Definition at line 43 of file ncbictype.hpp.

◆ NCBI_STRICT_CTYPE_ARGS_ACTIVE

#define NCBI_STRICT_CTYPE_ARGS_ACTIVE

Definition at line 48 of file ncbictype.hpp.

Function Documentation

◆ isalnum() [1/3]

template<class C >
int isalnum ( C  c)
inline

Definition at line 62 of file ncbictype.hpp.

◆ isalnum() [2/3]

int isalnum ( char  c)
inline

Definition at line 62 of file ncbictype.hpp.

◆ isalnum() [3/3]

int isalnum ( Uchar  c)
inline

Definition at line 62 of file ncbictype.hpp.

Referenced by MoleculeIdentifier::AddFields(), CArgDescSynopsis::CArgDescSynopsis(), CkGeneNameSP(), CkNumberType(), CRYPT_DecodeString(), CSeqDB_ColumnReader::CSeqDB_ColumnReader(), CWriteDB_ColumnBuilder::CWriteDB_ColumnBuilder(), DTDPublicModuleName(), CNcbiEnvRegMapper::EnvToReg(), SAccGuide::Find(), NStr::FindWord(), impl::g_SubstituteParam(), get_art(), get_auth(), CFileCode::GetDefineBase(), CAgpFastaComparator::CTmpSeqVecStorage::GetFileName(), GetPublicModuleName(), CHTMLHelper::HTMLDecode(), CObjectIStreamAsn::IdChar(), IdChar(), Identifier(), IsAlNum(), DTDLexer::IsIdentifierSymbol(), CFormatGuess::IsLineHgvs(), SNetStorage::SLimits::SNamespace::IsValid(), SNetStorage::SLimits::SAttrName::IsValid(), SNetStorage::SLimits::SUserNamespace::IsValid(), SNetStorage::SLimits::SUserName::IsValid(), grid::netschedule::limits::SClientNode::IsValidChar(), grid::netschedule::limits::SClientSession::IsValidChar(), grid::netschedule::limits::SQueueName::IsValidChar(), grid::netschedule::limits::SJobGroup::IsValidChar(), grid::netschedule::limits::SAffinity::IsValidChar(), grid::netschedule::limits::SAuthToken::IsValidChar(), IsValidHitID(), CRequestContext::IsValidSessionID(), CHttpCookie::IsValidValue(), main(), NcbiDecrypt(), Nlm_StrIPCmp(), Nlm_StrNIPCmp(), NormalizeStatKeyName(), CNotAlnum::operator()(), CIsAlnum::operator()(), CIsNotAlnum::operator()(), CNetCacheKey::ParseBlobKey(), CCompoundIDDumpParser::ParseID(), pcre_maketables(), QSbuf_ParseDefline(), CBlastInputReader::ReadOneSeq(), s_EncodeMetadataName(), s_ExtractKey(), s_FindInMapAsPrefix(), s_FixPages(), s_IsAllowedSymbol(), s_IsArgNameChar(), s_IsGoodCharForRadix(), s_IsNameSectionSymbol(), s_ParseDateTime(), s_ReplaceArg(), s_ReplaceNonAlphaNum(), sAbbreviate(), NStr::Sanitize(), CExprParser::Scan(), tds7_build_param_def_from_params(), tds7_write_param_def_from_params(), tds_next_placeholder_ucs2le(), TrimSpacesAndJunkFromEnds(), CSubSource::x_GenericRepliconNameValid(), CSeq_id::x_IdentifyAccession(), CNcbiTestApplication::x_InitCommonParserVars(), x_IsIdentifier(), CLocusItem::x_NameHasBadChars(), CRegexpTemplateTester::x_ParseVarName(), CCompoundIDDumpParser::x_ReadUint8(), and xIsWordBoundary().

◆ isalpha() [1/3]

template<class C >
int isalpha ( C  c)
inline

Definition at line 61 of file ncbictype.hpp.

◆ isalpha() [2/3]

int isalpha ( char  c)
inline

Definition at line 61 of file ncbictype.hpp.

◆ isalpha() [3/3]

int isalpha ( Uchar  c)
inline

Definition at line 61 of file ncbictype.hpp.

Referenced by AddToIndexBlk(), AdvancedStringCompare(), AdvancedStringMatch(), CTimeSpan::AssignFromSmartString(), CValidator::BadCharsInAuthorName(), BlastKmerGetCompressedTranslationTable(), BlastScoreBlkNucleotideMatrixRead(), BOOST_AUTO_TEST_CASE(), TKmerMethods< TKmerCounts >::BuildCompressedTranslation(), CCountries::CapitalizeFirstLetterOfEveryWord(), CheckDate(), CheckLegalQual(), CkLabelType(), ContainsLetters(), CCountries::ContainsMultipleCountryNames(), ContainsSgml(), CSeqAnnotFromFasta::CountNonAlphaToPositions(), CStrainRequest::CStrainRequest(), CSeqAnnotFromFasta::DetermineMasterIndex(), DisallowCharacter(), CRemoveTextOptions::EditText(), EmblIndex(), FilterDefine(), FindInstCodeAndSpecID(), FindWithOptions(), CObjectIStreamAsn::FirstIdChar(), FirstIdChar(), FixCapitalization(), FixCapitalizationInElement(), FixCapitalizationInString(), CFixProductNames::FixCaps(), CSubSource::FixDateFormat(), CDense_seg::FromTranscript(), fta_if_wgs_acc(), get_pat(), CWGSDataLoader_Impl::GetFileInfoByAcc(), CWGSDataLoader_Impl::GetFileInfoByGeneral(), GetFirstAuthor(), GetFirstInitial(), GetNameCategory(), CAutoDef::GetOneDefLine(), GetSeqData(), GetStrainCandidates(), CHTMLHelper::HTMLDecode(), CDB_BigDateTime::Identify(), IgnoreStrain(), init_symbol_type_table(), CCriteria_REFSEQ::is(), is_alphabetic(), IsAllRptUnitSeqChars(), isAlpha(), IsCapInitialsCorrect(), IsCapNameCorrect(), IsLikelyTaxname(), CFormatGuess::IsLineFlatFileSequence(), NStr::IsLower(), CSeqAnnotFromFasta::isNotAlpha(), NStr::IsUpper(), CPCRPrimerSeq::IsValid(), IsWGSAccession(), CAlignFormatUtil::IsWGSPattern(), CWord_substitution::IsWordBoundary(), XPrintTotalsItem::line(), LoadStructureViaCache(), DTDLexer::LookupEntity(), JSDLexer::LookupIdentifier(), XSDLexer::LookupLexeme(), DTDLexer::LookupToken(), JSDLexer::LookupToken(), CSeqAnnotFromFasta::MakeAsIsSeqAnnot(), CSeqAnnotFromFasta::MakeIBMSeqAnnot(), MoveMiddleToFirst(), CScanner::Next(), CScanner::NextASNSelector(), CScanner::NextNamedAnnot(), Nlm_StrLower(), Nlm_StrUpper(), NotName(), CDiagLexParser::Parse(), ParseAttributes(), CCleanup::ParseCodeBreak(), CCompoundIDDumpParser::ParseID(), CAutoDefParsedtRNAClause::ParseString(), CJsonParser::ParseValue(), CWGSResolver_Ids::ParseWGSAcc(), CWGSResolver_Ids::ParseWGSPrefix(), pcre_maketables(), PrintTabular(), Prosite2Regex(), PrositePatternLength(), ReplaceInPlaceWholeWordNoCase(), CWGSClient::ResolveGeneral(), CWGSClient::ResolveWGSAcc(), s_AllLowerCase(), s_BuildCompressedTranslation(), IAuthorEditor::s_CapitalizeInitial(), CCleanup::s_CleanupNameStdBC(), s_ContainsWholeWord(), s_ConvertChar(), s_FillCdsStartPosition(), s_FindWholeName(), s_FindWholeWord(), IAuthorEditor::s_FixInitialsNew(), s_FixPages(), s_FlyCG_PtoR(), s_GetFileSystemInfo(), CMacroFunction_AuthorFix::s_GetFirstNameInitialsWithoutStops(), CParseTextMarker::s_GetLettersPosition(), s_GoodLetters(), s_GuessId(), s_HasWindowsDriveLetter(), s_HTMLEncode(), CMacroFunction_AuthorFix::s_InsertInitialPeriods(), s_InsertSpacesBetweenTokens(), s_IsAllowedSymbol(), s_IsVDBWGSScaffold(), s_LooksLikeNucSeqData(), s_ParseCaseVariant(), s_PartialAtGapOrNs(), s_ReplaceInPlaceWholeWordNoCase(), s_RestoreCaseVariant(), s_RetrieveMessage(), s_SetTrnaProduct(), s_ToArchiveName(), s_ToFilesystemPath(), s_WholeWordReplaceNocase(), s_Win_IsDiskPath(), NStr::Sanitize(), ScanSequence(), SCigarAlignment::SCigarAlignment(), SeqDB_CombinePath(), sGetPrefixLength(), SLoadTokens::SLoadTokens(), SpAddToIndexBlk(), sParseAccessionPrefix(), CDirEntry::SplitPathEx(), CWGSDb_Impl::SProtAccInfo::SProtAccInfo(), SprotIndex(), SSeqIdRange::SSeqIdRange(), CHTMLHelper::StripSpecialChars(), CHTMLHelper::StripTags(), tds_readpassphrase(), CFormatGuess::TestFormatTextAsn(), CDataTypeModule::ToAsnName(), ValidateAccessionString(), CValidError_bioseq::ValidateRawConst(), x_4Word(), CString_constraint::x_AdvancedStringMatch(), x_CheckDomain(), CDisplaySeqalign::x_DisplayRowDataSet(), CPsiBlastInputClustalW::x_ExtractAlignmentData(), CPsiBlastInputClustalW::x_ExtractQueryFromMsa(), x_FlyCG_PtoR(), CSubSource::x_GetDateTokens(), CDisplaySeqalign::x_GetFeatureInfo(), CScoreBuilderBase::x_GetMatrixCounts(), CSeq_id::x_IdentifyAccession(), CStrainRequest::x_IgnoreStrain(), CLatLonCountryMap::x_InitFromDefaultList(), CLatLonCountryMap::x_InitFromFile(), x_IsBadBioSampleFormat(), CString_constraint::x_IsFirstCap(), CString_constraint::x_IsFirstEachCap(), x_IsIdentifier(), CSingleFeatValidator::x_IsMostlyNs(), CValidError_bioseq::x_IsPartialAtSpliceSiteOrGap(), CTraversalSpecFileParser::x_IsValidPattern(), CAgpValidateApplication::x_LoadLenFa(), CSeqDBIsam::x_MakeFilenames(), x_mkenv(), CDisplaySeqalign::x_OutputSeq(), CTraversalSpecFileParser::x_ParseOutputClassNameClause(), CRegexpTemplateTester::x_ParseVarName(), CPhyTreeFormatter::x_PrintNewickTree(), CSearch_func::x_ProductContainsTerm(), CCountries::x_RemoveDelimitersFromEnds(), SAccGuide::x_SplitSpecial(), CValidError_imp::x_ValidatePages(), and CSingleFeatValidator::x_ValidateRptUnitSeqVal().

◆ iscntrl() [1/3]

template<class C >
int iscntrl ( C  c)
inline

Definition at line 63 of file ncbictype.hpp.

◆ iscntrl() [2/3]

int iscntrl ( char  c)
inline

Definition at line 63 of file ncbictype.hpp.

◆ iscntrl() [3/3]

int iscntrl ( Uchar  c)
inline

◆ isdigit() [1/3]

template<class C >
int isdigit ( C  c)
inline

Definition at line 64 of file ncbictype.hpp.

◆ isdigit() [2/3]

int isdigit ( char  c)
inline

Definition at line 64 of file ncbictype.hpp.

◆ isdigit() [3/3]

int isdigit ( Uchar  c)
inline

Definition at line 64 of file ncbictype.hpp.

Referenced by CVersion::AddComponentVersion(), CAccPatternCounter::AddName(), AddToIndexBlk(), CTimeSpan::AssignFromSmartString(), BlastScoreBlkNucleotideMatrixRead(), bzopen_or_bzdopen(), CheckAccession(), CkBracketType(), CkDateFormat(), CkLabelType(), CkQualEcnum(), CkQualPosaa(), CkQualTokenType(), ConnNetInfo_ParseURL(), DBLB_GetServer(), decode_number(), DisallowCharacter(), dns_txt(), CRemoveTextOptions::EditText(), EmblSegment(), ExpandTildes(), FilterDefine(), FindInstCodeAndSpecID(), CFixProductNames::FixCaps(), CSubSource::FixDateFormat(), CFlatSubmitterSeqidQVal::Format(), CSNPBlobId::FromSatString(), CDense_seg::FromTranscript(), fta_add_hist(), fta_if_wgs_acc(), CCodeGenerator::GenerateModuleCPP(), CCodeGenerator::GenerateModuleHPP(), get_error(), get_full_date(), get_pat(), get_sub(), get_value(), CObjectIStreamAsn::GetChoiceIndex(), GetCitBookOld(), GetCitPatent(), GetCitSerialFromQual(), GetDataFromRN(), CDate_std::GetDate(), CWGSDataLoader_Impl::GetFileInfoByAcc(), CSeqUtils::GetGIString(), GetLenSubNode(), CObjectIStreamAsn::GetMemberIndex(), GetNextExon(), CExonSelectorApplication::GetNextExon(), GetNonConsensusSpliceCount(), CFindEditSequence::GetPattern(), GetSpanFromHyphenInString(), GetSPDescrTitle(), GetSPSeqLoc(), SCigarAlignment::GuessFormat(), CJsonNode::GuessType(), Has4Numbers(), HasECnumberPattern(), CHTMLHelper::HTMLDecode(), IgnoreStrain(), init_symbol_type_table(), is_dd_mon_yyyy(), is_numeric(), is_numeric_dateformat(), is_timeformat(), IsAllRptUnitSeqChars(), CPDB_seq_id::IsChainConflict(), IsDigit(), CSubSource::IsISOFormatDateOnly(), CSubSource::IsISOFormatTime(), IsNewAccessFormat(), CValidError_imp::IsSerialNumberInComment(), IsStringInSpan(), CProt_ref::IsValidECNumberFormat(), IsValidHitID(), IsWGSAccession(), CAlignFormatUtil::IsWGSPattern(), journal(), JSDLexer::LookupNumber(), DTDLexer::LookupToken(), JSDLexer::LookupToken(), main(), MakeDatePtr(), CDBParamVariant::MakeName(), fix_pub::MULooksLikeISSN(), NCBI_simple_atof(), CScanner::Next(), CScanner::NextASNSelector(), CScanner::NextNamedAnnot(), BadECNumberChar::operator()(), CDiagLexParser::Parse(), parse_const_param(), CNetCacheKey::ParseBlobKey(), CFastaReader::ParseGapLine(), CNetScheduleKey::ParseJobKey(), CCSRABlobId::ParseReadId(), CJsonParser::ParseValue(), CWGSResolver_Ids::ParseWGSAcc(), CWGSResolver_Ids::ParseWGSPrefix(), ParseYear(), pcre_compile2(), pcre_maketables(), PrintTabular(), QSbuf_ParseDefline(), CObjectIStreamJson::ReadInt8(), CObjectIStreamAsn::ReadNumber(), ReadNumberOrRange(), CObjectIStreamJson::ReadUint8(), ResetCapitalization(), CWGSClient::ResolveWGSAcc(), s_AltitudeIsValid(), s_CollectNumberAndUnits(), s_CompareDescriptions(), s_ContainsDigits(), s_ConvertChar(), s_ConvertVersionInfo(), s_CountNumeric(), s_CreateAnchorPatternForMarkedIDs(), s_EndsWithDigitsAndVersion(), s_ExtractFilterIndex(), s_FixPages(), s_FlyCG_PtoR(), s_GetAlignmentMismatches(), s_GetAttributes(), s_GetDigits(), CParseTextMarker::s_GetDigitsPosition(), s_GetFASTAExpectedNumbers(), s_GetOneNexusSizeComment(), s_GoodDigits(), s_HTMLEncode(), s_HTMLizeExperimentQual(), s_InsertSpacesBetweenTokens(), s_IsAllDigits(), s_IsAllDigitsOrPeriods(), s_IsAllDigitsOrSpaces(), s_IsAllNumbers(), s_IsAllowedSymbol(), s_IsDouble(), s_IsGoodCharForRadix(), s_IsIPAddress(), s_IsLegalECNumber(), s_IsNumericString(), s_IsOnlyNumbersAndSpaces(), s_IsRNASpacer(), s_IsrRNA(), s_IsSeperatorNeeded(), s_IsSuccessor(), s_IsTwoNumbersSeparatedBySpace(), s_IsValidDotVersion(), s_IsVDBWGSScaffold(), s_ParsePAXNumeric(), s_ParseTime(), s_ParseVersion(), s_RemoveSpacesWithinNumbers(), CAlignShadow::s_RunLengthEncode(), s_SeqDB_IsBinaryNumericList(), s_SkipDigits(), s_SocketConnectorBuilder(), s_StringHasPMID(), s_TestResultTreeContainer(), s_TestTree(), s_Update(), NStr::Sanitize(), SCigarAlignment::SCigarAlignment(), SeqFeatPub(), SERV_LBDNS_Open(), SERV_Update(), CQueryFuncPromoteBase::SetCompareType(), SLoadTokens::SLoadTokens(), sNotAllDigits(), SOCK_isipEx(), SpAddToIndexBlk(), sParseAccessionPrefix(), SSeqIdRange::SSeqIdRange(), store_numeric_date(), CDirEntry::StringToMode(), CSeqDBIsam::StringToOids(), CHTMLHelper::StripSpecialChars(), sx_AllDigits(), sx_ExtractFilterIndex(), sx_IsNA(), CDataTypeModule::ToAsnName(), ValidateAccessionString(), CValidError_feat::ValidateInferenceAccession(), CValidError_bioseq::ValidateSeqId(), CValidError_imp::ValidateSubSource(), CArgDescriptions::VerifyName(), variation::CHgvsParser::x_AsHgvsInstExpression(), CNCMessageHandler::x_AssignCmdParams(), x_CheckDomain(), CSearch_func::x_ContainsThreeOrMoreNumbersTogether(), CDBSourceItem::x_ExtractLinkableSource(), CGencollIdMapper::x_FindChromosomeSequence(), x_FlyCG_PtoR(), CSubSource::x_GetDateTokens(), CAltitudePanel::x_GetNumber(), CNetServProtoParserBase::x_GetToken(), CSeq_id::x_IdentifyAccession(), CStrainRequest::x_IgnoreStrain(), CTimeSpan::x_Init(), CTime::x_Init(), CDensegGraphicDataSource::x_InitCigar(), CLatLonCountryMap::x_InitFromDefaultList(), CLatLonCountryMap::x_InitFromFile(), CPhyTreeFormatter::x_InitTreeFeatures(), x_IsBadBioProjectFormat(), x_IsBadBioSampleFormat(), x_IsBadSRAFormat(), CString_constraint::x_IsFirstCap(), CString_constraint::x_IsFirstEachCap(), x_IsNotAltBioSampleFormat(), x_mkenv(), CTar::x_ParsePAXData(), CPhyTreeFormatter::x_PrintNewickTree(), CCompoundIDDumpParser::x_ReadInt8(), CCompoundIDDumpParser::x_ReadUint8(), CSearch_func::x_StringContainsUnderscore(), CFeatureTableReader_Imp::x_StringToLongNoThrow(), CProtValidator::x_ValidateECNumbers(), CSingleFeatValidator::x_ValidateGbQual(), CSingleFeatValidator::x_ValidateLabelVal(), CValidError_imp::x_ValidatePages(), CSingleFeatValidator::x_ValidateRptUnitSeqVal(), CSingleFeatValidator::x_ValidateRptUnitVal(), xgbparselex_ver(), and XMLRefs().

◆ isgraph() [1/3]

template<class C >
int isgraph ( C  c)
inline

Definition at line 65 of file ncbictype.hpp.

◆ isgraph() [2/3]

int isgraph ( char  c)
inline

Definition at line 65 of file ncbictype.hpp.

◆ isgraph() [3/3]

int isgraph ( Uchar  c)
inline

◆ islower() [1/3]

template<class C >
int islower ( C  c)
inline

Definition at line 66 of file ncbictype.hpp.

◆ islower() [2/3]

int islower ( char  c)
inline

Definition at line 66 of file ncbictype.hpp.

◆ islower() [3/3]

int islower ( Uchar  c)
inline

◆ isprint() [1/3]

template<class C >
int isprint ( C  c)
inline

Definition at line 67 of file ncbictype.hpp.

◆ isprint() [2/3]

int isprint ( char  c)
inline

Definition at line 67 of file ncbictype.hpp.

◆ isprint() [3/3]

int isprint ( Uchar  c)
inline

◆ ispunct() [1/3]

template<class C >
int ispunct ( C  c)
inline

Definition at line 68 of file ncbictype.hpp.

◆ ispunct() [2/3]

int ispunct ( char  c)
inline

Definition at line 68 of file ncbictype.hpp.

◆ ispunct() [3/3]

int ispunct ( Uchar  c)
inline

◆ isspace() [1/3]

template<class C >
int isspace ( C  c)
inline

Definition at line 69 of file ncbictype.hpp.

◆ isspace() [2/3]

int isspace ( char  c)
inline

Definition at line 69 of file ncbictype.hpp.

◆ isspace() [3/3]

int isspace ( Uchar  c)
inline

Definition at line 69 of file ncbictype.hpp.

Referenced by CVersion::AddComponentVersion(), addFlagsFromEnvVar(), AdvancedStringCompare(), AffilStreetEndsWith(), CTimeSpan::AssignFromSmartString(), BlastKmerGetCompressedTranslationTable(), BlastScoreBlkNucleotideMatrixRead(), BOOST_AUTO_TEST_CASE(), TKmerMethods< TKmerCounts >::BuildCompressedTranslation(), CAlignFormatUtil::BuildUserUrl(), CAutoDefMobileElementClause::CAutoDefMobileElementClause(), CBoyerMooreMatcher::CBoyerMooreMatcher(), CFastaReader::CheckDataLine(), CleanSpaces(), ConvertToEntrezTerm(), CCountries::CountryFixupItem(), decode_number(), eraseInitialWhiteSpace(), eraseWhiteSpace(), FindBackSemicolon(), FindSemicolon(), CFlatNumberQVal::Format(), fta_fix_orgref(), g_LegacyStatToJson(), g_WorkerNodeInfoToJson(), get_art(), get_unpub(), get_value(), get_whole_book(), GetCitBookOld(), GetGBBlock(), CBioSource::GetGenomeByOrganelle(), CBioSource::GetOriginByString(), CFindEditSequence::GetPattern(), GetSpanFromHyphenInString(), ind_subdbp(), init_symbol_type_table(), isAllWhiteSpace(), CBDB_FieldString::IsBlank(), CBDB_FieldLString::IsBlank(), NStr::IsBlank(), CFormatGuess::IsLineFlatFileSequence(), isNoWhiteSpace(), isSpace(), CAutoDefFeatureClause_Base::IsuORF(), DTDLexer::LookupEntity(), XSDLexer::LookupLexeme(), main(), CJsonParser::MoreNodes(), NCBI_HasSpaces(), NCBI_simple_atof(), NcbiMessagePlusError(), NcbiParseIPRange(), NcbiStringToIPv4(), NcbiStringToIPv6(), CReadBlastApp::next_w(), CAttrListParser::NextAttribute(), CIsSpace::operator()(), CIsNotSpace::operator()(), SHTTP_StatusData::Parse(), CDiagLexParser::Parse(), CJsonParser::ParseArray(), CCleanup::ParseCodeBreak(), CBDB_ConfigStructureParser::ParseConfigFile(), CFastaDeflineReader::ParseDefline(), CFeatureTableReader_Imp::ParseInitialFeatureLine(), CJsonParser::ParseJSON(), CJsonParser::ParseObject(), pcre_maketables(), PIsSpace(), DTDLexer::ProcessComment(), XSDLexer::ProcessDocumentation(), COStreamBuffer::PutEolAtWordEnd(), QSbuf_ParseDefline(), QSbuf_ParseScores(), CdTreeStream::read(), read_pattern_file(), CObjectIStreamAsn::ReadAnyContent(), CPhrap_Contig::ReadBaseQualities(), CReadBlastApp::ReadBlast(), CPhrap_Seq::ReadData(), CCommentItem::RemoveExcessNewlines(), RemoveSpaces(), RemoveWhitespace_CJL(), CCgi2RCgiApp::RenderPage(), CAsnElementPrimitive::RenderValue(), ReplaceInPlaceWholeWordNoCase(), ResetCapitalization(), s_BuildCompressedTranslation(), s_CreateAnchorPatternForMarkedIDs(), s_DoesTextContainOnlyTheseWords(), s_DoLog(), s_EndsWithStrain(), s_FlyCG_PtoR(), s_GetAttrByTag(), s_GetAttributes(), s_GetInitialsFromForeName(), s_GetNexusTypechar(), s_GetOneNexusSizeComment(), s_GetProductFlagFromCDSProductNames(), s_HttpAny_Read(), s_IsAllowedSymbol(), s_IsContentTypeDefined(), s_IsOnlyNumbersAndSpaces(), s_IsOrganismComment(), s_IsTwoNumbersSeparatedBySpace(), s_IsWholeWord(), s_LineIndicatesOrder(), s_LineInfoMergeAndStripSpaces(), s_LineInfoReaderAdvancePastSpace(), s_LooksLikeNucSeqData(), s_ModifyUserHeader(), s_Ncbid_Read(), s_NormalizeLinkageEvidenceString(), s_OctalToNum(), s_ParseHeader(), s_ReadHeader(), s_RemoveCommentFromLine(), s_RemoveSpacesWithinNumbers(), s_SendRcpt(), s_SockRead(), s_StringToAddr(), s_Update(), s_WrapOutputLine(), sAbbreviate(), CExprParser::Scan(), SERV_ReadInfoEx(), CReadBlastApp::skip_space(), CCompoundIDDumpParser::SkipSpace(), SkipSpaces(), CCompoundIDDumpParser::SkipSpaceToNextToken(), SkipToSpace(), CIStreamBuffer::SkipWs(), SLoadTokens::SLoadTokens(), SOCK_StringToHostPortEx(), CAlnScannerNexus::sStripCommentsOutsideCommand(), StripSpaces(), StripUnimportantCharacters(), tata_save(), CFormatGuess::TestFormatBinaryAsn(), TrimSpaces(), URL_ConnectEx(), CGeneValidator::Validate(), CValidError_bioseq::ValidateSeqId(), CValidError_imp::ValidateSourceQualTags(), CObjectOStream::AsnIo::Write(), x_4Word(), CHTMLPage::x_ApplyFilters(), CNewCleanup_imp::x_CleanupECNumber(), CBlastTabular::x_Deserialize(), CDBSourceItem::x_ExtractLinkableSource(), CCleanupApp::x_FeatureOptionsValid(), x_FlyCG_PtoR(), x_FTPFeatCB(), x_GetChar(), x_GetDtabFromHeader(), CAltitudePanel::x_GetNumber(), CNetServProtoParserBase::x_GetToken(), CTime::x_Init(), CString_constraint::x_IsSkippable(), x_IsValidParam(), CCleanupApp::x_KOptionsValid(), CHTMLPage::x_LoadTemplateLib(), CFormatGuess::x_LooksLikeCLUSTALConservedInfo(), CAutoDefFeatureClause_Base::x_MeetAltSpliceRules(), CNewCleanup_imp::x_MendSatelliteQualifier(), x_mkenv(), CFeatureTableReader_Imp::x_ParseTrnaExtString(), CRegexpTemplateTester::x_ParseVarName(), CString_constraint::x_PartialCompare(), IRWRegistry::x_Read(), x_ReadChunkHead(), CCountries::x_RemoveDelimitersFromEnds(), x_StrcatCRLF(), x_TagValueMatches(), CFeatureTableReader_Imp::x_TokenizeLenient(), x_Trim(), x_trim(), CSingleFeatValidator::x_ValidateGbQual(), CSingleFeatValidator::x_ValidateLabelVal(), CCleanupApp::x_XOptionsValid(), and xgbparselex_ver().

◆ isupper() [1/3]

template<class C >
int isupper ( C  c)
inline

Definition at line 70 of file ncbictype.hpp.

◆ isupper() [2/3]

int isupper ( char  c)
inline

Definition at line 70 of file ncbictype.hpp.

◆ isupper() [3/3]

int isupper ( Uchar  c)
inline

◆ isxdigit() [1/3]

template<class C >
int isxdigit ( C  c)
inline

Definition at line 71 of file ncbictype.hpp.

◆ isxdigit() [2/3]

int isxdigit ( char  c)
inline

Definition at line 71 of file ncbictype.hpp.

◆ isxdigit() [3/3]

int isxdigit ( Uchar  c)
inline

◆ tolower() [1/3]

template<class C >
int tolower ( C  c)
inline

Definition at line 72 of file ncbictype.hpp.

◆ tolower() [2/3]

int tolower ( char  c)
inline

Definition at line 72 of file ncbictype.hpp.

◆ tolower() [3/3]

int tolower ( Uchar  c)
inline
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 72 of file ncbictype.hpp.

Referenced by CProteinAlignText::AddProtText(), AlignmentDisplay::AlignmentDisplay(), CFastaReader::CanonicalizeString(), check_hex(), NStr::CompareNocase(), CSubstMatrix::CSubstMatrix(), Residue::Draw(), NStr::EndsWith(), CBlastDBExtractor::ExtractSeqData(), CAlignCollapser::FilterAlignments(), FixCapitalization(), FixCapitalizationInString(), CFixProductNames::FixCaps(), BlockMultipleAlignment::GetCharacterAt(), BlockMultipleAlignment::GetCharacterTraitsAt(), DisplayRowFromSequence::GetCharacterTraitsAt(), GetDNAConv(), CDictionaryUtil::GetEditDistance(), GetFirstInitial(), CConvertStrandTreeItemData::GetFunction(), CConvertLocTypeTreeItemData::GetFunction(), CSetExceptionsTreeItemData::GetFunction(), CConvertStrandTreeItemData::GetMacroDescription(), CConvertLocTypeTreeItemData::GetMacroDescription(), CSetExceptionsTreeItemData::GetMacroDescription(), CDictionaryUtil::GetMetaphone(), CSeq_id_PDB_Info::GetPackedSeqId(), CSeqTextDataSourceInterval::GetSeqData(), init_symbol_type_table(), CPaintSequence::InsertChar(), InvertCase(), CPCRPrimerSeq::IsValid(), XPrintTotalsItem::line(), Locase(), main(), CMSHits::MakePepString(), MakeWrongCap(), NCBI_strcasecmp(), NCBI_strlwr(), NCBI_strncasecmp(), CScanner::Next(), Nlm_StrLower(), NormalizeStatKeyName(), pub_report::NormalizeTitle(), CECitMatch_Request::NormalizeTitle(), odbc_db_is_microsoft(), odbc_driver_is_freetds(), CPaintSequence::OnChar(), PEqualNocase::operator()(), CompareNoCase::operator()(), operator<<(), pcre_maketables(), CMaskWriterFasta::Print(), ProcessStream(), ResetCapitalization(), s_ComputeBtopAndIdentity(), s_ConvertChar(), s_ExtractKey(), s_IsGoodCharForRadix(), CAdapterSearchApplication::s_MaskQuery(), s_MaskQuerySeq(), s_MatchesMask(), s_NCBISM_StartsWith(), s_ParseCaseVariant(), s_RestoreCaseVariant(), s_SetCompositionBasedStats(), SameRootDirs(), CQueryFuncPromoteBase::SetCompareType(), CSGAlignmentJob::SetSortBy(), SLoadTokens::SLoadTokens(), SMatrix::SMatrix(), NStr::StartsWith(), NStr::strcasecmp(), Splines::string_to_splineType(), NStr::strncasecmp(), strncmpic(), StrToLower(), CSeqVectorTypes::sx_GetConvertTable(), tds_read_conf_section(), tds_readpassphrase(), CDataTypeModule::ToAsnId(), NStr::ToLower(), toLower(), CProteinAlignText::TranslateDNA(), CObjectOStreamAsn::WriteEnum(), CObjectOStreamAsn::WriteId(), CObjectOStreamAsn::WriteMemberId(), CWriteDB_IsamIndex::x_AddStringData(), CNWAligner::x_CheckSequence(), x_DNSToIPv6(), CMacroEditorContext::x_GetAsnPathToSet(), CAsnElementItem::x_GetMemberId(), CTrans_table::x_InitFsaTable(), CSeqDBIsam::x_Lower(), x_MatchesMask(), CTraversalCodeGenerator::x_MemberVarNameToArg(), x_memlwrcpy(), CDisplaySeqalign::x_OutputSeq(), CString_constraint::x_PartialCompare(), SPubseqGatewaySettings::x_ReadAdminSection(), CScanner::x_SetCurrentLexem(), CSeqDBIsam::x_StringSearch(), and CWriteDB_IsamIndex::x_ToLower().

◆ toupper() [1/3]

template<class C >
int toupper ( C  c)
inline

Definition at line 73 of file ncbictype.hpp.

◆ toupper() [2/3]

int toupper ( char  c)
inline

Definition at line 73 of file ncbictype.hpp.

◆ toupper() [3/3]

int toupper ( Uchar  c)
inline
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 73 of file ncbictype.hpp.

Referenced by CAlignCollapser::AddAlignment(), CBoyerMooreMatcher::AddDelimiters(), CReadUtil::AddGeneOntologyTerm(), CProteinAlignText::AddProtText(), AlignmentDisplay::AlignmentDisplay(), Blast_GetStdAlphabet(), BLAST_ScoreSetAmbigRes(), BLAST_StrToUpper(), BlastScoreBlkNucleotideMatrixRead(), BlastScoreBlkProteinMatrixRead(), BlastScoringOptionsSetMatrix(), CNWFormatter::SSegment::CanExtendLeft(), CNWFormatter::SSegment::CanExtendRight(), CCountries::CapitalizeFirstLetterOfEveryWord(), CGen_code_table::CodonToIndex(), ConnNetInfo_Boolean(), convert_to_upper(), CVPath::ConvertSysPathToPOSIX(), CTraversalSpecFileParser::CDescFileNode::ConvertToMemberMacro(), CSeqAnnotFromFasta::CountNonAlphaToPositions(), DTDParser::CreateEmbeddedName(), DTDElement::CreateEmbeddedName(), CSubstMatrix::CSubstMatrix(), decode_number(), Residue::Draw(), NStr::EndsWith(), CMultAlign::FindNextStrongWord(), CEnumeratedTypeValues::FindValue(), FixAffiliationShortWordsInElement(), FixCapitalization(), FixCapitalizationInElement(), FixCapitalizationInString(), FixShortWordsInElement(), CTraversalNode::GenerateCode(), CDeflineGenerator::GenerateDefline(), get_unichar(), CObjectIStreamAsn::GetAltItemIndex(), StyleManager::GetAtomStyle(), BlockMultipleAlignment::GetCharacterAt(), BlockMultipleAlignment::GetCharacterTraitsAt(), GetFirstAuthor(), GetFirstInitial(), CHistogramGlyph::GetHTMLActiveAreas(), CEditMolinfoFieldsTreeItemData::GetMacroDescription(), CTextFsm< MatchType >::GetNextState(), CDictionaryUtil::GetSoundex(), GetStandardProbability(), CHistogramGlyph::GetTooltip(), CGuiObjectInfoComponent::GetToolTip(), CPSeq::HasStart(), Identifier(), CSeq_id::IdentifyAccession(), CNWFormatter::SSegment::ImproveFromLeft(), CNWFormatter::SSegment::ImproveFromLeft1(), CNWFormatter::SSegment::ImproveFromRight(), CNWFormatter::SSegment::ImproveFromRight1(), CBoyerMooreMatcher::InitCommonDelimiters(), InvertCase(), IsConsSplice(), isReplicate(), CPCRPrimerSeq::IsValid(), XPrintTotalsItem::line(), LookupNCBIStdaaNumberFromCharacter(), LookupNCBIStdaaNumberFromThreaderResidueNumber(), LookupThreaderResidueNumberFromCharacterAbbrev(), CSeqAnnotFromFasta::MakeAsIsSeqAnnot(), CSeqAnnotFromFasta::MakeIBMSeqAnnot(), CNWFormatter::MakeSegments(), MakeWrongCap(), CProteinAlignText::MatchChar(), NCBI_strupr(), NCBISM_GetIndex(), NCBISM_Unpack(), Nlm_StrUpper(), NoCaseSkipToString(), CSeq_id_PDB_Info::Normalize(), CGoQualLessThan::operator()(), PNocase_EqualChar::operator()(), PNocase_LessChar::operator()(), PNocase_CompareChar::operator()(), CLessThanNoCaseViaUpper::operator()(), operator<<(), CSeq_id_General_Str_Info::Parse(), CSeq_id_Textseq_Info::ParseAcc(), CFastaReader::ParseDataLine(), pcre_maketables(), Prosite2Regex(), PrositePatternLength(), RegistryGetBoolean(), RegistryIsValidBoolean(), ResetCapitalization(), IAuthorEditor::s_CapitalizeInitial(), CCleanup::s_CleanupNameStdBC(), s_FillChem(), s_FindTrnaAA(), IAuthorEditor::s_FixInitialsNew(), s_FTPExecute(), CSeqFeatData::s_InitSubtypesTable(), s_IsIPAddress(), s_MakePatternUpperCase(), s_ParseCaseVariant(), s_RestoreCaseVariant(), s_StrEqualDisregardFinalPeriod(), s_StringICmp(), s_StringNICmp(), s_TitleFromBioSource(), s_TitleFromChromosome(), s_ValidCodon(), SCigarAlignment::SCigarAlignment(), ScreenResidueCharacter(), CBoyerMooreMatcher::Search(), Sequence::Sequence(), SERV_ReadInfoEx(), CFastIScore::SetAmin(), CBoyerMooreMatcher::SetWordDelimiters(), SMatrix::SMatrix(), NStr::StartsWith(), CSeqConvert_imp::Subseq(), CSeqVectorTypes::sx_GetConvertTable(), sx_GetVPath(), tds_answer_challenge(), tds_readpassphrase(), CDataTypeModule::ToAsnName(), CAlignCollapser::CPartialString::ToUpper(), NStr::ToUpper(), toUpper(), TrimNegativeTail(), Upcase(), CSplignTrim::UpdateAnnot(), CSeqUpdateWorker::UpdateMultipleSequences(), CValidError_imp::ValidateBioSource(), CValidError_imp::ValidateOrgRef(), CValidError_bioseq::ValidateSeqId(), CValidError_imp::ValidateSubSource(), VerifyAlignmentData(), CFeatureTrack::x_AddHistogram(), CReferenceItem::x_CapitalizeTitleIfNecessary(), CNWAligner::x_CheckSequence(), CSeqDBIsam::x_DiffChar(), CPsiBlastInputClustalW::x_ExtractAlignmentData(), CPsiBlastInputClustalW::x_ExtractQueryFromMsa(), x_FTPDir(), CVcfGlyph::x_GetClinVarToolTip(), CNWAligner::x_GetDiagTS(), CMacroEditorContext::x_GetSetClassFieldnames(), CAutodefOrgPanel::x_ListModifiers(), CAgpValidateApplication::x_LoadLenFa(), CTar::x_ReadEntryInfo(), CSplign::x_Run(), CSplign::x_RunOnCompartment(), CTraversalNode::x_TemplatizeType(), and CPsiBlastInputClustalW::x_ValidateQueryInMsa().

Variable Documentation

◆ BEGIN_STD_NAMESPACE

BEGIN_STD_NAMESPACE

Definition at line 50 of file ncbictype.hpp.

◆ END_STD_NAMESPACE

END_STD_NAMESPACE

Definition at line 80 of file ncbictype.hpp.

Modified on Wed Jun 19 17:04:58 2024 by modify_doxy.py rev. 669887