1 #ifndef GUI_OBJUTILS___MACRO_FN_DO__HPP
2 #define GUI_OBJUTILS___MACRO_FN_DO__HPP
112 virtual void TheFunction();
117 virtual bool x_ValidArguments()
const;
151 static string s_FixLatLonFormat(objects::CBioSource& bsrc,
const string&
value);
152 static bool s_AddAltitudeToSubSourceNote(objects::CBioSource& bsrc,
const string&
value);
153 static string s_ConvertAltitudeToMeters(
const string&
value );
173 static string s_FixCapitalizationInTitle(
const string& title,
bool first_is_upper,
const objects::CSeq_entry_Handle& seh);
174 static Int4 s_FixCapitalizationInAuthor(objects::CName_std& auth_names);
175 static bool s_FixCapitalizationInElement(
string&
value,
bool fix_abbrev,
bool fix_short_words,
bool cap_after_apostrophe);
176 static void s_FixCapitalizationInCountryString(
string& country,
bool punct_only);
177 static Int4 s_FixCapsInPubAffil(objects::CAffil& affil,
bool punct_only);
178 static Int4 s_FixCapsInPubAffil_NoAffilDiv(objects::CAffil& affil,
bool punct_only);
179 static Int4 s_FixCapsInPubAffil_Affil(objects::CAffil& affil,
bool punct_only);
180 static Int4 s_FixCapsInPubAffil_Div(objects::CAffil& affil,
bool punct_only);
181 static Int4 s_FixCapsInPubAffil_City(objects::CAffil& affil,
bool punct_only);
182 static Int4 s_FixCapsInPubAffil_Street(objects::CAffil& affil,
bool punct_only);
183 static Int4 s_FixCapsInPubAffil_Sub(objects::CAffil& affil,
bool punct_only);
184 static Int4 s_FixCapsInPubAffil_Country(objects::CAffil& affil,
bool punct_only);
190 void x_FixCapsInPubAffilCountry(objects::CAffil& affil,
bool punct_only);
250 static bool s_RemoveSegGaps(objects::CSeq_align& align);
264 static bool s_RemoveOrgName(
const objects::CBioSource& bsrc,
string& field);
281 static string s_GetBarcodeId(
const objects::CBioseq& bseq);
282 static bool s_HasBarcodeDbXref(
const objects::CBioseq& bseq,
const string& barcode_id);
@Affil.hpp User-defined methods of the data storage class.
@Name_std.hpp User-defined methods of the data storage class.
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
Base class for any user function that performs editing operations on ASN.1 data.
Include a standard set of the NCBI C++ Toolkit most basic headers.
DECLARE_FUNC_CLASS_WITH_FNCNAME(CMacroFunction_SetPubAuthorMI)
~CMacroFunction_FixPubCapsTitle()
map< objects::CBioseq_Handle, set< objects::CSeq_feat_Handle > > m_ProductToCds
~CMacroFunction_FixPubCapsAffilWithExcept()
virtual ~CMacroFunction_RemoveSegGaps()
static CTempString GetFuncName()
CMacroFunction_TrimJunkFromPrimers(EScopeEnum func_scope)
CMacroFunction_TrimTerminalNs(EScopeEnum func_scope)
static CTempString GetFuncName()
static CTempString GetFuncName()
CMacroFunction_RemoveSegGaps(EScopeEnum func_scope)
static CTempString GetFuncName()
virtual ~CMacroFunction_MakeBoldXrefs()
virtual bool x_ValidArguments() const
Tests the number and the type of function arguments.
CMacroFunction_FixPubCapsAuthor(EScopeEnum func_scope)
virtual ~CMacroFunction_FixPubCaps()
~CMacroFunction_FixPubCapsAuthor()
CMacroFunction_MakeBoldXrefs(EScopeEnum func_scope)
~CMacroFunction_FixPubCapsAffilCountry()
virtual ~CMacroFunction_ModifyPrimerSeq()
static CTempString GetFuncName()
static CTempString GetFuncName()
static CTempString GetFuncName()
~CMacroFunction_FixIInPrimers()
CMacroFunction_RemoveOrgName(EScopeEnum func_scope)
~CMacroFunction_FixPubCapsAffil()
virtual void TheFunction()
Function implementation.
CMacroFunction_ModifyPrimerSeq(EScopeEnum func_scope, EModifyType type)
static CTempString GetFuncName()
CMacroFunction_FixPubCaps(EScopeEnum func_scope, EPubType type)
CMacroFunction_FixPubCapsAffilCountry(EScopeEnum func_scope)
static CTempString GetFuncName()
CMacroFunction_FixPubCapsTitle(EScopeEnum func_scope)
static CTempString GetFuncName()
CMacroFunction_FixFormat(EScopeEnum func_scope)
~CMacroFunction_TrimJunkFromPrimers()
static CTempString GetFuncName()
CMacroFunction_FixPubCapsAffilWithExcept(EScopeEnum func_scope)
virtual ~CMacroFunction_RemoveOrgName()
CMacroFunction_FixPubCapsAffil(EScopeEnum func_scope)
virtual ~CMacroFunction_FixFormat()
static CTempString GetFuncName()
CMacroFunction_FixIInPrimers(EScopeEnum func_scope)
int32_t Int4
4-byte (32-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUIOBJUTILS_EXPORT
const GenericPointer< typename T::ValueType > T2 value