NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objects/general/Name_std.hpp>
#include <objtools/edit/publication_edit.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
string | GetFirstInitial (string input, bool skip_rest) |
bool | GenerateInitials (CName_std &name) |
bool | FixInitials (CName_std &name) |
bool | MoveMiddleToFirst (CName_std &name) |
Definition at line 104 of file publication_edit.cpp.
References NStr::eNocase, first(), CName_std_Base::GetFirst(), GetFirstInitial(), CName_std_Base::GetInitials(), init(), NStr::IsBlank(), CName_std_Base::IsSetFirst(), CName_std_Base::IsSetInitials(), CName_std_Base::SetInitials(), and NStr::StartsWith().
Referenced by BOOST_AUTO_TEST_CASE(), and GenerateInitials().
Definition at line 80 of file publication_edit.cpp.
References first(), FixInitials(), CName_std_Base::GetFirst(), GetFirstInitial(), CName_std_Base::GetInitials(), NStr::IsBlank(), CName_std_Base::IsSetFirst(), CName_std_Base::IsSetInitials(), kEmptyStr, and CName_std_Base::SetInitials().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 40 of file publication_edit.cpp.
References input(), isalpha(), letter(), tolower(), NStr::ToUpper(), and toupper().
Referenced by BOOST_AUTO_TEST_CASE(), FixInitials(), GenerateInitials(), CMacroFunction_AuthorFix::s_FixInitials(), IAuthorEditor::s_FixInitials(), CMacroFunction_AuthorFix::s_TruncateMiddleInitials(), and CEditingActionDescAuthorNameList::SetValue().
Definition at line 133 of file publication_edit.cpp.
References NStr::FindNoCase(), first(), CName_std_Base::GetFirst(), CName_std_Base::GetInitials(), isalpha(), CName_std_Base::IsSetFirst(), CName_std_Base::IsSetInitials(), kEmptyStr, NPOS, and CName_std_Base::SetFirst().
Referenced by BOOST_AUTO_TEST_CASE().