NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <objects/pub/Pub.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Cit_gen.hpp>
#include <objects/biblio/Cit_book.hpp>
#include <objects/biblio/Cit_proc.hpp>
#include <objects/biblio/Cit_art.hpp>
#include <objects/biblio/Cit_pat.hpp>
#include <objects/biblio/Cit_let.hpp>
#include <objects/biblio/Cit_jour.hpp>
#include <objects/biblio/Title.hpp>
#include <objects/biblio/Affil.hpp>
#include <objects/general/Name_std.hpp>
#include <objects/general/Person_id.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/bioseq_ci.hpp>
#include <objmgr/feat_ci.hpp>
#include <objtools/edit/seqid_guesser.hpp>
#include <objtools/edit/publication_edit.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/objutils/descriptor_change.hpp>
#include <gui/objutils/cmd_create_desc.hpp>
#include <gui/objutils/cmd_del_desc.hpp>
#include <gui/objutils/cmd_change_seq_feat.hpp>
#include <gui/objutils/cmd_del_seq_feat.hpp>
#include <gui/objutils/util_cmds.hpp>
#include <gui/objutils/macro_fn_pubfields.hpp>
#include <gui/packages/pkg_sequence_edit/pub_field.hpp>
#include <gui/packages/pkg_sequence_edit/miscedit_util.hpp>
#include <gui/widgets/edit/field_type_constants.hpp>
#include <gui/packages/pkg_sequence_edit/pubdesc_editor.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (ncbi::objects) | |
USING_SCOPE (edit) | |
CConstRef< CAuth_list > | GetAuthList (const CPub &pub) |
CConstRef< CAuth_list > | GetAuthList (const CPubdesc &pubdesc) |
CConstRef< CAuth_list > | GetAuthList (CConstRef< CObject > sel_pub) |
bool | SetAuthList (CPubdesc &pdesc, const CAuth_list &auth_list) |
bool | SetAuthorNames (CPubdesc &pdesc, const CAuth_list &auth_list) |
string | GetTitleName (const CTitle &title) |
string | GetPubTitle (CConstRef< CObject > sel_pub) |
void | SetTitleName (CTitle &title, string val) |
CConstRef<CAuth_list> GetAuthList | ( | CConstRef< CObject > | sel_pub | ) |
Definition at line 96 of file pub_field.cpp.
References GetAuthList(), CCit_sub_Base::GetAuthors(), CSubmit_block_Base::GetCit(), CSeq_feat_Base::GetData(), CConstRef< C, Locker >::GetPointer(), CSeqdesc_Base::GetPub(), CSeqFeatData_Base::GetPub(), CSeqdesc_Base::IsPub(), CSeqFeatData_Base::IsPub(), CCit_sub_Base::IsSetAuthors(), CSubmit_block_Base::IsSetCit(), CSeq_feat_Base::IsSetData(), and NULL.
CConstRef<CAuth_list> GetAuthList | ( | const CPub & | pub | ) |
Definition at line 73 of file pub_field.cpp.
References CPub::GetAuthors(), CPub::IsSetAuthors(), and NULL.
Referenced by GetAuthList(), CPubField::GetVals(), and CPubField::x_GetAffilField().
CConstRef<CAuth_list> GetAuthList | ( | const CPubdesc & | pubdesc | ) |
Definition at line 82 of file pub_field.cpp.
References CPub_equiv_Base::Get(), CPubdesc_Base::GetPub(), CPubdesc_Base::IsSetPub(), ITERATE, and NULL.
Referenced by CEditPubDlg::CreateControls(), and CReplaceSectionPanel::GetCommand().
Definition at line 312 of file pub_field.cpp.
References CSeq_feat_Base::GetData(), CCit_sub_Base::GetDescr(), CConstRef< C, Locker >::GetPointer(), CSeqdesc_Base::GetPub(), CSeqFeatData_Base::GetPub(), CPubField::GetPubTitle(), CSeqdesc_Base::IsPub(), CSeqFeatData_Base::IsPub(), CSeq_feat_Base::IsSetData(), and CCit_sub_Base::IsSetDescr().
Referenced by CReplaceSectionPanel::GetCommand().
Definition at line 220 of file pub_field.cpp.
References CTitle_Base::C_E::e_Name, and CTitle::GetTitle().
Referenced by CPubField::GetJournal(), and CPubField::GetPubTitle().
bool SetAuthList | ( | CPubdesc & | pdesc, |
const CAuth_list & | auth_list | ||
) |
Definition at line 120 of file pub_field.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_Pat_id, CPub_Base::e_Patent, CPub_Base::e_Pmid, CPub_Base::e_Proc, CPub_Base::e_Sub, CPubdesc_Base::IsSetPub(), NON_CONST_ITERATE, and CPubdesc_Base::SetPub().
Referenced by CReplaceSectionPanel::GetCommand().
bool SetAuthorNames | ( | CPubdesc & | pdesc, |
const CAuth_list & | auth_list | ||
) |
Definition at line 170 of file pub_field.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_Pat_id, CPub_Base::e_Patent, CPub_Base::e_Pmid, CPub_Base::e_Proc, CPub_Base::e_Sub, CAuth_list_Base::GetNames(), CAuth_list_Base::IsSetNames(), CPubdesc_Base::IsSetPub(), names, NON_CONST_ITERATE, and CPubdesc_Base::SetPub().
Referenced by CReplaceSectionPanel::GetCommand().
Definition at line 332 of file pub_field.cpp.
References CTitle_Base::C_E::e_not_set, CTitle_Base::Get(), CTitle_Base::IsSet(), NON_CONST_ITERATE, CTitle_Base::Set(), and val.
Referenced by CPubField::SetPubTitle().
USING_SCOPE | ( | edit | ) |
USING_SCOPE | ( | ncbi::objects | ) |