NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Cit_art.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <objects/pub/Pub_set.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Person_id.hpp>
#include <gui/objutils/macro_fn_pubfields.hpp>
#include <objects/misc/sequence_macros.hpp>
#include <gui/widgets/edit/utilities.hpp>
#include <misc/xmlwrapp/document.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
void | ReplaceInPlaceWholeWordNoCase (string &rna_name, const string &search, const string &replace) |
string | GetAdjustedRnaName (const string &orig_rna_name) |
CRef< CPubdesc > | GetPubdescFromEntrezById (TEntrezId id) |
string | GetAuthorsString (const CAuth_list &auth_list) |
static string | s_GetAuthorsString (const CPubdesc &pd) |
string | GetPubdescLabel (const CPubdesc &pd) |
void | GetPubdescLabels (const CPubdesc &pd, vector< TEntrezId > &pmids, vector< TEntrezId > &muids, vector< int > &serials, vector< string > &published_labels, vector< string > &unpublished_labels) |
string | GetDocSumLabel (const CPubdesc &pd) |
string | GetStringFromTitle (const objects::CTitle::C_E &title) |
void | UpdateTitle (objects::CTitle::C_E &title, const string &val) |
Definition at line 70 of file utilities.cpp.
References ReplaceInPlaceWholeWordNoCase().
Referenced by CBulkRNAAddPanel::x_GetRnaName(), CAlignRNAAddPanel::x_GetRnaName(), and x_SetNameFromName().
string GetAuthorsString | ( | const CAuth_list & | auth_list | ) |
Definition at line 93 of file utilities.cpp.
References CAuth_list_Base::C_Names::GetMl(), CAuth_list_Base::GetNames(), CAuth_list_Base::C_Names::GetStd(), CAuth_list_Base::C_Names::GetStr(), CAuth_list_Base::C_Names::IsMl(), CAuth_list_Base::IsSetNames(), CAuth_list_Base::C_Names::IsStd(), CAuth_list_Base::C_Names::IsStr(), ITERATE, and label.
Referenced by s_GetAuthorsString().
Definition at line 225 of file utilities.cpp.
References CPub_equiv_Base::Get(), CImprint_Base::GetDate(), CCit_art_Base::GetFrom(), CCit_art_Base::C_From::GetJournal(), CImprint_Base::GetPages(), CPubdesc_Base::GetPub(), CDate_Base::GetStd(), CTitle::GetTitle(), CCit_art_Base::GetTitle(), CImprint_Base::GetVolume(), CDate_std_Base::GetYear(), NStr::IsBlank(), CCit_art_Base::C_From::IsJournal(), CImprint_Base::IsSetDate(), CCit_art_Base::IsSetFrom(), CImprint_Base::IsSetPages(), CPubdesc_Base::IsSetPub(), CCit_art_Base::IsSetTitle(), CImprint_Base::IsSetVolume(), CDate_std_Base::IsSetYear(), CDate_Base::IsStd(), ITERATE, journal(), NStr::NumericToString(), s_GetAuthorsString(), and rapidjson::source.
Definition at line 78 of file utilities.cpp.
References CAliasBase< TPrim >::Set(), and CPub_Base::SetPmid().
Referenced by CGlobalPubmedIdLookup::apply(), CRemarksAndSerialNumberPanel::OnButtonClick(), CPublicationTypePanel::OnDoiLookup(), CPublishedRefPanel::OnLookupClick(), and CRelaxedLookupDlg::SendQuery().
Definition at line 158 of file utilities.cpp.
References GetPubdescLabels(), and label.
void GetPubdescLabels | ( | const CPubdesc & | pd, |
vector< TEntrezId > & | pmids, | ||
vector< TEntrezId > & | muids, | ||
vector< int > & | serials, | ||
vector< string > & | published_labels, | ||
vector< string > & | unpublished_labels | ||
) |
Definition at line 177 of file utilities.cpp.
References CPub::eContent, NStr::eNocase, FOR_EACH_PUB_ON_PUBDESC, NStr::IsBlank(), label, s_GetAuthorsString(), and NStr::StartsWith().
Referenced by GetPubdescLabel().
Definition at line 279 of file utilities.cpp.
References kEmptyStr.
Referenced by CPublishedRefPanel::TransferDataToWindow().
void ReplaceInPlaceWholeWordNoCase | ( | string & | rna_name, |
const string & | search, | ||
const string & | replace | ||
) |
Definition at line 49 of file utilities.cpp.
References NStr::FindNoCase(), isalpha(), and isspace().
Referenced by GetAdjustedRnaName().
Definition at line 144 of file utilities.cpp.
References FOR_EACH_PUB_ON_PUBDESC, and GetAuthorsString().
Referenced by GetDocSumLabel(), and GetPubdescLabels().
Definition at line 322 of file utilities.cpp.
References NStr::IsBlank(), and val.
Referenced by CPublishedRefPanel::TransferDataFromWindow().
USING_SCOPE | ( | objects | ) |