Go to the source code of this file.
Go to the SVN repository for this file.
USING_SCOPE (objects) TTokenList get_tokens (string_view str, string_view delimeter) static void RemoveSpacesAndCommas (string &str) void get_auth_from_toks (TTokenList::const_iterator beg, TTokenList::const_iterator end, ERefFormat format, CRef< CAuth_list > &auths) CRef< CAuthor > get_std_auth (string_view token, ERefFormat format) void get_auth (string_view pt, ERefFormat format, string_view jour, CRef< CAuth_list > &auths) void get_auth_consortium (string_view str, CRef< CAuth_list > &auths) static Int4 check_mix_pages_range (char *pages) Int4 valid_pages_range (char *pages, const Char *title, Int4 er, bool inpress) CRef< CDate > get_date (const Char *year) CRef< CCit_gen > get_error (char *bptr, CRef< CAuth_list > &auth_list, CRef< CTitle::C_E > &title) ◆ MAX_PAGE ◆ OTHER_MEDIUM ◆ THIS_FILE #define THIS_FILE "utilref.cpp"Definition at line 57 of file utilref.cpp.
◆ check_mix_pages_range() static Int4 check_mix_pages_range ( char * pages ) static ◆ get_auth()Definition at line 239 of file utilref.cpp.
References delimiter, EMBL_REF, ERR_REFERENCE_EtAlInAuthors, format, FtaErrPost, GB_REF, get_auth_from_toks(), get_tokens(), isalnum(), PDB_REF, PIR_REF, SEV_WARNING, SP_REF, and tmp.
Referenced by embl_refs(), gb_refs_common(), get_book(), GetCitBook(), SprotRefString(), and XMLRefs().
◆ get_auth_consortium() void get_auth_consortium ( string_view str, CRef< CAuth_list > & auths )Definition at line 274 of file utilref.cpp.
References CRef< C, Locker >::Empty(), NStr::eNocase, CRef< C, Locker >::Reset(), CAuthor_Base::SetName(), CAuth_list_Base::SetNames(), NStr::StartsWith(), and str().
Referenced by embl_refs(), gb_refs_common(), SprotRefString(), and XMLRefs().
◆ get_auth_from_toks() void get_auth_from_toks ( TTokenList::const_iterator beg, TTokenList::const_iterator end, ERefFormat format, CRef< CAuth_list > & auths )Definition at line 116 of file utilref.cpp.
References CRef< C, Locker >::Empty(), ERR_REFERENCE_IllegalAuthorName, format, FtaErrPost, get_std_auth(), CAuthor_Base::GetName(), CPerson_id_Base::GetName(), i, CName_std_Base::IsSetFirst(), CName_std_Base::IsSetInitials(), CName_std_Base::IsSetLast(), CName_std_Base::IsSetSuffix(), last(), RemoveSpacesAndCommas(), CRef< C, Locker >::Reset(), CAuthor_Base::SetName(), CAuth_list_Base::SetNames(), SEV_WARNING, and NStr::TruncateSpacesInPlace().
Referenced by get_auth(), and GetCitBookOld().
◆ get_date()Definition at line 489 of file utilref.cpp.
References ERR_REFERENCE_IllegalDate, ERR_REFERENCE_ImpendingYear, ERR_REFERENCE_YearPrecedes1900, ERR_REFERENCE_YearPrecedes1950, NStr::fAllowTrailingSymbols, FtaErrPost, i, CRef< C, Locker >::Reset(), CDate_Base::SetStd(), CDate_std_Base::SetYear(), SEV_ERROR, SEV_WARNING, and NStr::StringToInt().
Referenced by get_art(), get_book(), get_thesis(), get_whole_book(), and GetCitBookOld().
◆ get_error() ◆ get_std_auth()Definition at line 163 of file utilref.cpp.
References _TROUBLE, EMBL_REF, format, GB_REF, CName_std_Base::IsSetLast(), ML_REF, PDB_REF, PIR_REF, CRef< C, Locker >::Reset(), CName_std_Base::SetInitials(), CName_std_Base::SetLast(), CAuthor_Base::SetName(), and SP_REF.
Referenced by get_auth_from_toks().
◆ get_tokens() TTokenList get_tokens ( string_view str, string_view delimeter ) ◆ RemoveSpacesAndCommas() ◆ USING_SCOPE() ◆ valid_pages_range()Definition at line 405 of file utilref.cpp.
References check_mix_pages_range(), ERR_REFERENCE_IllegPageRange, ERR_REFERENCE_InvertPageRange, ERR_REFERENCE_LargePageRange, ERR_REFERENCE_UnusualPageNumber, fta_atoi(), FtaErrPost, i, MAX_PAGE, SEV_WARNING, and StringChr.
Referenced by get_art(), get_book(), and ParseJourLine().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4