NCBI C++ ToolKit
Classes | Namespaces | Macros | Functions | Variables
pub_fix.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/biblio/ArticleId.hpp>
#include <objects/biblio/ArticleIdSet.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Cit_art.hpp>
#include <objects/biblio/Cit_book.hpp>
#include <objects/biblio/Cit_proc.hpp>
#include <objects/biblio/Cit_jour.hpp>
#include <objects/biblio/Imprint.hpp>
#include <objects/biblio/Title.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Person_id.hpp>
#include <objects/general/Date.hpp>
#include <objects/general/Date_std.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/medline/Medline_entry.hpp>
#include <objects/pub/Pub.hpp>
#include <objtools/edit/pub_fix.hpp>
#include "pub_fix_aux.hpp"
#include <corelib/ncbi_message.hpp>
#include <objtools/eutils/api/esearch.hpp>
#include <objtools/eutils/esearch/IdList.hpp>
#include <objtools/eutils/api/esummary.hpp>
#include <cmath>
+ Include dependency graph for pub_fix.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  fix_pub::SErrorSubcodes
 

Namespaces

 fix_pub
 

Macros

#define ERR_POST_TO_LISTENER(listener, severity, code, subcode, message)
 

Functions

void fix_pub::MedlineToISO (CCit_art &cit_art)
 
void fix_pub::SplitMedlineEntry (CPub_equiv::Tdata &medlines)
 
bool fix_pub::IsInpress (const CCit_art &cit_art)
 
bool fix_pub::MULooksLikeISSN (const string &str)
 
static void fix_pub::s_GetESearchIds (CESearch_Request &req, const string &term, list< string > &ids)
 
static bool fix_pub::s_IsIndexed (CRef< CEUtils_ConnContext > pContext, const string &id)
 
bool fix_pub::MUIsJournalIndexed (const string &journal)
 
void fix_pub::PrintPub (const CCit_art &cit_art, bool found, bool auth, long muid, IMessageListener *err_log)
 
bool fix_pub::IsFromBook (const CCit_art &art)
 
static void fix_pub::MoveAuthors (CCit_art &to, CCit_art &from)
 
bool fix_pub::TenAuthorsCompare (CCit_art &cit_old, CCit_art &cit_new)
 
size_t fix_pub::ExtractConsortiums (const CAuth_list::C_Names::TStd &names, CAuth_list::C_Names::TStr &extracted)
 
static bool fix_pub::s_GetConsortia (const list< CRef< CAuthor >> &authors, list< string > &consortia)
 
static void fix_pub::s_TrimPrefixThe (CTempString &str)
 
static bool fix_pub::s_ConsortiaMatch (const list< string > &x, const list< string > &y)
 
static void fix_pub::s_ProcessConsortia (const CCit_art &old_cit, CCit_art &new_cit, IMessageListener *pListener)
 
void fix_pub::GetFirstTenNames (const CAuth_list::C_Names::TStd &names, list< CTempString > &res)
 
bool fix_pub::TenAuthorsProcess (CCit_art &cit, CCit_art &new_cit, IMessageListener *err_log)
 
void fix_pub::MergeNonPubmedPubIds (const CCit_art &cit_old, CCit_art &cit_new)
 
bool fix_pub::NeedToPropagateInJournal (const CCit_art &cit_art)
 
void fix_pub::PropagateInPress (bool inpress, CCit_art &cit_art)
 

Variables

static map< int, SErrorSubcodesfix_pub::ERROR_CODE_STR
 
static const size_t fix_pub::MAX_MATCH_COEFF = 3
 

Macro Definition Documentation

◆ ERR_POST_TO_LISTENER

#define ERR_POST_TO_LISTENER (   listener,
  severity,
  code,
  subcode,
  message 
)
Value:
do { \
if (listener) { \
ostringstream ostr; \
ostr << message; \
string text = ostr.str(); \
CMessage_Basic msg(text, severity, code, subcode); \
listener->PostMessage(msg); \
} \
} while (false)
static void text(MDB_val *v)
Definition: mdb_dump.c:62
Definition: inftrees.h:24

Definition at line 69 of file pub_fix.cpp.

Modified on Tue Jun 18 13:37:25 2024 by modify_doxy.py rev. 669887