NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <serial/serialbase.hpp>
#include <objects/biblio/Affil.hpp>
#include <objects/biblio/ArticleId.hpp>
#include <objects/biblio/ArticleIdSet.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Cit_art.hpp>
#include <objects/biblio/Imprint.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Person_id.hpp>
#include <objects/seq/Pubdesc.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <objtools/cleanup/cleanup.hpp>
#include <objtools/cleanup/cleanup_pub.hpp>
#include "cleanup_utils.hpp"
#include <objmgr/util/objutil.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | SPMIDMatch |
Macros | |
#define | FIX_IMPRINT_FIELD(x) |
Functions | |
static size_t | s_PubPriority (CPub::E_Choice val) |
static bool | s_PubWhichCompare (CRef< CPub > pub1, CRef< CPub > pub2) |
void | RemoveDuplicatePubMedArticleIds (CArticleIdSet::Tdata &id_set) |
CRef< CPubCleaner > | PubCleanerFactory (CPub &pub) |
#define FIX_IMPRINT_FIELD | ( | x | ) |
CRef<CPubCleaner> PubCleanerFactory | ( | CPub & | pub | ) |
Definition at line 314 of file cleanup_pub.cpp.
References CPub_Base::e_Article, CPub_Base::e_Book, CPub_Base::e_Equiv, CPub_Base::e_Gen, CPub_Base::e_Journal, CPub_Base::e_Man, CPub_Base::e_Medline, CPub_Base::e_Patent, CPub_Base::e_Proc, CPub_Base::e_Sub, CPub_Base::SetArticle(), CPub_Base::SetBook(), CPub_Base::SetEquiv(), CPub_Base::SetGen(), CPub_Base::SetJournal(), CPub_Base::SetMan(), CPub_Base::SetMedline(), CPub_Base::SetPatent(), CPub_Base::SetProc(), CPub_Base::SetSub(), and CPub_Base::Which().
Referenced by CPubEquivCleaner::Clean().
void RemoveDuplicatePubMedArticleIds | ( | CArticleIdSet::Tdata & | id_set | ) |
Definition at line 161 of file cleanup_pub.cpp.
References remove_if().
Referenced by CPubEquivCleaner::Clean().
|
static |
Definition at line 93 of file cleanup_pub.cpp.
References CPub_Base::e_Article, CPub_Base::e_Book, CPub_Base::e_Equiv, CPub_Base::e_Gen, CPub_Base::e_Journal, CPub_Base::e_Man, CPub_Base::e_Medline, CPub_Base::e_Muid, CPub_Base::e_not_set, CPub_Base::e_Pat_id, CPub_Base::e_Patent, CPub_Base::e_Pmid, CPub_Base::e_Proc, CPub_Base::e_Sub, and val.
Referenced by s_PubWhichCompare().
Definition at line 145 of file cleanup_pub.cpp.
References s_PubPriority(), and CPub_Base::Which().
Referenced by CPubEquivCleaner::Clean().