NCBI C++ ToolKit
Macros | Typedefs | Functions | Variables
capitalization_string.hpp File Reference
#include <objtools/cleanup/capitalization_string.hpp>
+ Include dependency graph for capitalization_string.hpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define CAPITALIZATION_STRING_ALIAS_ENUM_VALUE(enum_name)    static const auto enum_name = objects::enum_name;
 
#define CAPITALIZATION_STRING_ALIAS_FUNCTION(function_name)    NCBI_DEPRECATED static auto& function_name = objects::function_name;
 

Typedefs

using ECapChange = objects::ECapChange
 

Functions

static void FixAbbreviationsInElement (string &result, bool fix_end_of_sentence=true)
 

Variables

static const auto eCapChange_none = objects:: eCapChange_none
 
static const auto eCapChange_tolower = objects:: eCapChange_tolower
 
static const auto eCapChange_toupper = objects:: eCapChange_toupper
 
static const auto eCapChange_firstcap_restlower = objects:: eCapChange_firstcap_restlower
 
static const auto eCapChange_firstcap_restnochange = objects:: eCapChange_firstcap_restnochange
 
static const auto eCapChange_firstlower_restnochange = objects:: eCapChange_firstlower_restnochange
 
static const auto eCapChange_capword_afterspace = objects:: eCapChange_capword_afterspace
 
static const auto eCapChange_capword_afterspacepunc = objects:: eCapChange_capword_afterspacepunc
 
static auto & FixCapitalizationInString = objects:: FixCapitalizationInString
 
static auto & FixOrgNames = objects:: FixOrgNames
 
static auto & FindOrgNames = objects:: FindOrgNames
 
static auto & RemoveFieldNameFromString = objects:: RemoveFieldNameFromString
 
static auto & GetStateAbbreviation = objects:: GetStateAbbreviation
 
static auto & FixStateAbbreviationsInCitSub = objects:: FixStateAbbreviationsInCitSub
 
static auto & FixUSAAbbreviationInAffil = objects:: FixUSAAbbreviationInAffil
 
static auto & FixStateAbbreviationsInAffil = objects:: FixStateAbbreviationsInAffil
 
static auto & FixupMouseStrain = objects:: FixupMouseStrain
 
static auto & InsertMissingSpacesAfterCommas = objects:: InsertMissingSpacesAfterCommas
 
static auto & InsertMissingSpacesAfterNo = objects:: InsertMissingSpacesAfterNo
 
static auto & FixCapitalizationInElement = objects:: FixCapitalizationInElement
 
static auto & FixShortWordsInElement = objects:: FixShortWordsInElement
 
static auto & FindReplaceString_CountryFixes = objects:: FindReplaceString_CountryFixes
 
static auto & CapitalizeAfterApostrophe = objects:: CapitalizeAfterApostrophe
 
static auto & FixAffiliationShortWordsInElement = objects:: FixAffiliationShortWordsInElement
 
static auto & FixOrdinalNumbers = objects:: FixOrdinalNumbers
 
static auto & FixKnownAbbreviationsInElement = objects:: FixKnownAbbreviationsInElement
 
static auto & CapitalizeSAfterNumber = objects:: CapitalizeSAfterNumber
 
static auto & ResetCapitalization = objects:: ResetCapitalization
 
static auto & FixCountryCapitalization = objects:: FixCountryCapitalization
 

Macro Definition Documentation

◆ CAPITALIZATION_STRING_ALIAS_ENUM_VALUE

#define CAPITALIZATION_STRING_ALIAS_ENUM_VALUE (   enum_name)     static const auto enum_name = objects::enum_name;

Definition at line 49 of file capitalization_string.hpp.

◆ CAPITALIZATION_STRING_ALIAS_FUNCTION

#define CAPITALIZATION_STRING_ALIAS_FUNCTION (   function_name)     NCBI_DEPRECATED static auto& function_name = objects::function_name;

Definition at line 64 of file capitalization_string.hpp.

Typedef Documentation

◆ ECapChange

using ECapChange = objects::ECapChange

Definition at line 47 of file capitalization_string.hpp.

Function Documentation

◆ FixAbbreviationsInElement()

static void FixAbbreviationsInElement ( string result,
bool  fix_end_of_sentence = true 
)
static

Definition at line 93 of file capitalization_string.hpp.

References FixAbbreviationsInElement(), and result.

Variable Documentation

◆ CapitalizeAfterApostrophe

auto& CapitalizeAfterApostrophe = objects:: CapitalizeAfterApostrophe
static

◆ CapitalizeSAfterNumber

auto& CapitalizeSAfterNumber = objects:: CapitalizeSAfterNumber
static

Definition at line 86 of file capitalization_string.hpp.

◆ eCapChange_capword_afterspace

const auto eCapChange_capword_afterspace = objects:: eCapChange_capword_afterspace
static

Definition at line 58 of file capitalization_string.hpp.

◆ eCapChange_capword_afterspacepunc

const auto eCapChange_capword_afterspacepunc = objects:: eCapChange_capword_afterspacepunc
static

Definition at line 59 of file capitalization_string.hpp.

◆ eCapChange_firstcap_restlower

const auto eCapChange_firstcap_restlower = objects:: eCapChange_firstcap_restlower
static

Definition at line 55 of file capitalization_string.hpp.

◆ eCapChange_firstcap_restnochange

const auto eCapChange_firstcap_restnochange = objects:: eCapChange_firstcap_restnochange
static

Definition at line 56 of file capitalization_string.hpp.

◆ eCapChange_firstlower_restnochange

const auto eCapChange_firstlower_restnochange = objects:: eCapChange_firstlower_restnochange
static

Definition at line 57 of file capitalization_string.hpp.

◆ eCapChange_none

const auto eCapChange_none = objects:: eCapChange_none
static

Definition at line 52 of file capitalization_string.hpp.

◆ eCapChange_tolower

const auto eCapChange_tolower = objects:: eCapChange_tolower
static

Definition at line 53 of file capitalization_string.hpp.

◆ eCapChange_toupper

const auto eCapChange_toupper = objects:: eCapChange_toupper
static

Definition at line 54 of file capitalization_string.hpp.

◆ FindOrgNames

auto& FindOrgNames = objects:: FindOrgNames
static

◆ FindReplaceString_CountryFixes

auto& FindReplaceString_CountryFixes = objects:: FindReplaceString_CountryFixes
static

◆ FixAffiliationShortWordsInElement

auto& FixAffiliationShortWordsInElement = objects:: FixAffiliationShortWordsInElement
static

◆ FixCapitalizationInElement

auto& FixCapitalizationInElement = objects:: FixCapitalizationInElement
static

◆ FixCapitalizationInString

auto& FixCapitalizationInString = objects:: FixCapitalizationInString
static

◆ FixCountryCapitalization

auto& FixCountryCapitalization = objects:: FixCountryCapitalization
static

◆ FixKnownAbbreviationsInElement

auto& FixKnownAbbreviationsInElement = objects:: FixKnownAbbreviationsInElement
static

◆ FixOrdinalNumbers

auto& FixOrdinalNumbers = objects:: FixOrdinalNumbers
static

◆ FixOrgNames

auto& FixOrgNames = objects:: FixOrgNames
static

◆ FixShortWordsInElement

auto& FixShortWordsInElement = objects:: FixShortWordsInElement
static

◆ FixStateAbbreviationsInAffil

auto& FixStateAbbreviationsInAffil = objects:: FixStateAbbreviationsInAffil
static

◆ FixStateAbbreviationsInCitSub

auto& FixStateAbbreviationsInCitSub = objects:: FixStateAbbreviationsInCitSub
static

Definition at line 73 of file capitalization_string.hpp.

◆ FixupMouseStrain

auto& FixupMouseStrain = objects:: FixupMouseStrain
static

Definition at line 76 of file capitalization_string.hpp.

◆ FixUSAAbbreviationInAffil

auto& FixUSAAbbreviationInAffil = objects:: FixUSAAbbreviationInAffil
static

Definition at line 74 of file capitalization_string.hpp.

Referenced by CFixUSA::x_ApplyToCAffil().

◆ GetStateAbbreviation

auto& GetStateAbbreviation = objects:: GetStateAbbreviation
static

Definition at line 72 of file capitalization_string.hpp.

Referenced by CFixAffilCap::x_ApplyToCAffil().

◆ InsertMissingSpacesAfterCommas

auto& InsertMissingSpacesAfterCommas = objects:: InsertMissingSpacesAfterCommas
static

◆ InsertMissingSpacesAfterNo

auto& InsertMissingSpacesAfterNo = objects:: InsertMissingSpacesAfterNo
static

◆ RemoveFieldNameFromString

auto& RemoveFieldNameFromString = objects:: RemoveFieldNameFromString
static

Definition at line 71 of file capitalization_string.hpp.

Referenced by IEditingAction::DoConvertFrom().

◆ ResetCapitalization

auto& ResetCapitalization = objects:: ResetCapitalization
static
Modified on Fri Sep 20 14:57:42 2024 by modify_doxy.py rev. 669887