NCBI C++ ToolKit
|
Search Toolkit Book for CConvertAuthorToConsortiumWhereConstraint
#include <gui/packages/pkg_sequence_edit/pubdesc_editor.hpp>
Public Member Functions | |
CConvertAuthorToConsortiumWhereConstraint () | |
~CConvertAuthorToConsortiumWhereConstraint () | |
void | SetConstraint (const string &input) |
Public Member Functions inherited from IAuthorEditor | |
virtual | ~IAuthorEditor () |
Public Member Functions inherited from IPubDescEditor | |
virtual | ~IPubDescEditor () |
CRef< CCmdComposite > | GetCommand (objects::CSeq_entry_Handle tse, CConstRef< objects::CSeq_submit > submit=CConstRef< objects::CSeq_submit >(nullptr)) |
Protected Member Functions | |
virtual bool | x_ApplyToCAuth (objects::CAuth_list &authors) |
Protected Member Functions inherited from IAuthorEditor | |
IAuthorEditor (const string &title) | |
IAuthorEditor (objects::CSeq_entry_Handle tse, const string &title) | |
virtual bool | x_ApplyToPubdesc (objects::CPubdesc &pubdesc) |
virtual void | x_ApplyToSeqSubmit (CCmdComposite *composite) |
Protected Member Functions inherited from IPubDescEditor | |
IPubDescEditor (const string &title) | |
IPubDescEditor (objects::CSeq_entry_Handle tse, const string &title) | |
void | x_ApplyToSeqAndFeat (CCmdComposite *composite) |
void | x_ApplyToDescriptors (const objects::CSeq_entry &se, CCmdComposite *composite) |
Private Attributes | |
CRegexp * | m_Regex |
Additional Inherited Members | |
Static Public Member Functions inherited from IAuthorEditor | |
static string | s_CapitalizeInitial (const string &orig) |
static bool | s_FixInitials (objects::CPerson_id &pid) |
static bool | s_FixInitialsNew (objects::CPerson_id &pid) |
static void | s_ExtractSuffixFromInitials (objects::CName_std &name) |
static void | s_FixEtAl (objects::CName_std &name) |
Protected Attributes inherited from IPubDescEditor | |
objects::CSeq_entry_Handle | m_tse |
CConstRef< objects::CSubmit_block > | m_SubmitBlock |
string | m_Title |
Definition at line 174 of file pubdesc_editor.hpp.
|
inline |
Definition at line 177 of file pubdesc_editor.hpp.
CConvertAuthorToConsortiumWhereConstraint::~CConvertAuthorToConsortiumWhereConstraint | ( | ) |
Definition at line 1034 of file pubdesc_editor.cpp.
References m_Regex.
Definition at line 1039 of file pubdesc_editor.cpp.
References CRegexp::fCompile_ignore_case, input(), and m_Regex.
Referenced by CSequenceEditingEventHandler::ConvertAuthorToConstortiumWhereLastName().
|
protectedvirtual |
Implements IAuthorEditor.
Definition at line 1044 of file pubdesc_editor.cpp.
References CPerson_id_Base::e_Consortium, CRegexp::fMatch_default, CName_std_Base::GetLast(), CRegexp::GetMatch(), CPerson_id_Base::GetName(), CPerson_id_Base::IsName(), CName_std_Base::IsSetLast(), CAuth_list_Base::IsSetNames(), CAuth_list_Base::C_Names::IsStd(), last(), m_Regex, CRegexp::NumFound(), CPerson_id_Base::Reset(), CPerson_id_Base::Select(), CPerson_id_Base::SetConsortium(), CPerson_id_Base::SetName(), CAuth_list_Base::SetNames(), and CAuth_list_Base::C_Names::SetStd().
|
private |
Definition at line 183 of file pubdesc_editor.hpp.
Referenced by SetConstraint(), x_ApplyToCAuth(), and ~CConvertAuthorToConsortiumWhereConstraint().