NCBI C++ ToolKit
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
macro_util.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objects/seqfeat/RNA_ref.hpp>
#include <objtools/edit/string_constraint.hpp>
#include <objtools/cleanup/capitalization_string.hpp>
#include <gui/objutils/macro_exec.hpp>
#include <gui/objutils/label.hpp>
+ Include dependency graph for macro_util.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.

Classes

class  CRemoveTextOptions
 

Namespaces

 NMacroUtil
 

Typedefs

using NMacroUtil::TVecFeatList = vector< CConstRef< objects::CSeq_feat > >
 

Enumerations

enum  NMacroUtil::EStructVoucherPart { NMacroUtil::eSV_Coll , NMacroUtil::eSV_Inst , NMacroUtil::eSV_Specid , NMacroUtil::eSV_Error }
 
enum  NMacroUtil::EUnverifiedType {
  NMacroUtil::eUnVer_Organism , NMacroUtil::eUnVer_Features , NMacroUtil::eUnVer_Misassembled , NMacroUtil::eUnVer_Contaminant ,
  NMacroUtil::eUnVer_Unknown
}
 

Functions

objects::edit::EExistingText NMacroUtil::ActionTypeToExistingTextOption (const string &action_type, const string &delimiter)
 
objects::ECapChange NMacroUtil::ConvertStringtoCapitalOption (const string &cap_name)
 
objects::CSeq_entry_Handle NMacroUtil::GetParentEntryForBioSource (const objects::CBioSource &bsrc, const objects::CSeq_entry_Handle &tse)
 
CConstRef< objects::CBioseq > NMacroUtil::GetBioseqForSeqdescObject (const CSerialObject *obj, const objects::CSeq_entry_Handle &tse)
 
CObjectInfo NMacroUtil::GetPrimitiveObjInfo (const CObjectInfo &info)
 
void NMacroUtil::GetPrimitiveObjectInfos (CMQueryNodeValue::TObs &objs, const CMQueryNodeValue::SResolvedField &info)
 
void NMacroUtil::GetPrimitiveObjInfosWithContainers (CMQueryNodeValue::TObs &objs, const CMQueryNodeValue::SResolvedField &info)
 
CMQueryNodeValue::EType NMacroUtil::GetPrimitiveFromRef (CMQueryNodeValue &node)
 
void NMacroUtil::SwapGbQualWithValues (CMQueryNodeValue::TObs &objs)
 
void NMacroUtil::RemoveGeneXref (objects::CSeq_feat &feat)
 
void NMacroUtil::RemoveEmptyDescriptors (objects::CBioseq &bseq)
 
string NMacroUtil::GetStringValue (CRef< CMQueryNodeValue > &value)
 converts ints and doubles into string, by changing the type of the value More...
 
objects::CSeqFeatData::ESubtype NMacroUtil::GetFeatSubtype (const string &feat_type)
 
bool NMacroUtil::StringsAreEquivalent (const string &name1, const string &name2)
 
bool NMacroUtil::GetLocusTagFromGene (const objects::CGene_ref &gene, string &locus_tag)
 
bool NMacroUtil::GetLocusTagFromProtRef (const objects::CSeq_feat &prot_feat, objects::CScope &scope, string &locus_tag)
 
CRef< objects::CSeqdesc > NMacroUtil::MakeNcbiAutofixUserObject ()
 
bool NMacroUtil::FindNcbiAutofixUserObject (const objects::CSeq_entry_Handle &tse)
 
objects::CRNA_ref::EType NMacroUtil::GetRNAType (const string &rna_type)
 
bool NMacroUtil::IsBiosourceModifier (const string &field)
 
bool NMacroUtil::IsTaxname (CMQueryNodeValue::SResolvedField &res)
 
void NMacroUtil::CleanupForTaxnameChange (CObjectInfo oi)
 
void NMacroUtil::CleanupForTaxnameChange (CMQueryNodeValue::SResolvedField &res, CObjectInfo oi)
 
bool NMacroUtil::ApplyFirstName (objects::CName_std &std_name, const string &newValue, objects::edit::EExistingText existing_text)
 
bool NMacroUtil::RemoveFirstName (objects::CName_std &std_name)
 
bool NMacroUtil::ApplyMiddleInitial (objects::CName_std &std_name, const string &newValue, objects::edit::EExistingText existing_text)
 
bool NMacroUtil::RemoveMiddleInitial (objects::CName_std &std_name)
 
unsigned NMacroUtil::ApplyAuthorNames (objects::CAuth_list &auth_list, const string &newValue)
 
EStructVoucherPart NMacroUtil::GetSVPartFromString (const string voucher_part)
 
bool NMacroUtil::IsStructVoucherPart (const string &field)
 
void NMacroUtil::ConvertMultiSpaces (string &line, const string &delimiter)
 replace any instance of 2 or more spaces with a single instance of 'delimiter' More...
 
string NMacroUtil::TransformForCSV (const string &str)
 
CLabel::ELabelType NMacroUtil::NameToLabelType (const string &name)
 
bool NMacroUtil::IsSatelliteSubfield (const string &field)
 
bool NMacroUtil::IsMobileElementTSubfield (const string &field)
 
EUnverifiedType NMacroUtil::GetUnverifiedType (const string &value)
 

Variables

const char * kInst_suffix
 
const char * kColl_suffix
 
const char * kSpecid_suffix
 
const char * kSatelliteType
 
const char * kSatelliteName
 
const char * kMobileElementTQual
 
const char * kMobileElementTType
 
const char * kMobileElementTName
 
const char * kStrCommFieldValue
 
const char * kStrCommDbname
 
const char * kStrCommFieldName
 
Modified on Wed Apr 17 13:08:27 2024 by modify_doxy.py rev. 669887