1 #ifndef OBJTOOLS_FORMAT_ITEMS___REFERENCE_ITEM__HPP
2 #define OBJTOOLS_FORMAT_ITEMS___REFERENCE_ITEM__HPP
77 bool IsProt(
void)
const {
return m_IsProt; }
133 TReftype GetReftype (
void)
const;
138 bool IsSetDate (
void)
const {
return m_Date.NotEmpty(); }
144 bool IsSetBook (
void)
const {
return m_Book.NotEmpty(); }
151 bool IsSetGen (
void)
const {
return m_Gen.NotEmpty(); }
154 bool IsSetSub (
void)
const {
return m_Sub.NotEmpty(); }
162 const string&
GetDOI (
void)
const {
return m_DOI; }
163 const string&
GetPII (
void)
const {
return m_ELocationPII; }
164 const string&
GetOldPII (
void)
const {
return m_OldPII; }
166 const string&
GetTitle (
void)
const {
return m_Title; }
168 const string& GetUniqueStr (
void)
const;
173 const string&
GetRemark (
void)
const {
return m_Remark; }
181 bool Matches(
const CPub_set& ps)
const;
182 bool Matches(
const CPub& pub)
const;
187 static void GetAuthNames(
const CAuth_list&
alp, TStrList& authors);
189 static void FormatAuthors(
const CAuth_list&
alp,
string& auth);
191 static void FormatAffil(
const CAffil& affil,
string&
result,
bool gen_sub =
false);
193 static void ChangeMedlineAuthorsToISO(
CRef<CPub> pub);
220 void x_CreateUniqueStr(
void)
const;
221 void x_CleanData(
void);
222 void x_CapitalizeTitleIfNecessary(
void);
@Affil.hpp User-defined methods of the data storage class.
@Auth_list.hpp User-defined methods of the data storage class.
vector< string > * TCache
const TCache & GetCache(void) const
int GetLength(void) const
virtual void Format(IFormatter &formatter, IFlatTextOStream &text_os) const =0
virtual void x_GatherInfo(CBioseqContext &)
@Pubdesc.hpp User-defined methods of the data storage class.
bool IsSetSub(void) const
CConstRef< CSeq_loc > m_Loc
TPubType GetPubType(void) const
TSeqid GetPatSeqid(void) const
CConstRef< CPubdesc > m_Pubdesc
TEntrezId GetMUID(void) const
CConstRef< CDate > m_Date
CReferenceItem(const CReferenceItem &value)
const string & GetTitle(void) const
bool IsSetJournal(void) const
void x_CreateUniqueStr(void) const
bool IsSetBook(void) const
const CCit_gen & GetGen(void) const
const CCit_pat & GetPatent(void) const
CConstRef< CCit_gen > m_Gen
CConstRef< CCit_sub > m_Sub
const string & GetPII(void) const
const string & GetRemark(void) const
const CCit_sub & GetSub(void) const
const string & GetUniqueStr(void) const
const string & GetOldPII(void) const
CConstRef< CCit_book > m_Book
int GetSerial(void) const
TEntrezId GetPMID(void) const
const CCit_book & GetBook(void) const
vector< CRef< CReferenceItem > > TReferences
TCategory GetCategory(void) const
CReferenceItem & operator=(const CReferenceItem &value)
TReftype GetReftype(void) const
const CAuth_list & GetAuthors(void) const
bool IsSetGen(void) const
const CCit_jour & GetJournal(void) const
const CPubdesc & GetPubdesc(void) const
CConstRef< CCit_pat > m_Patent
CConstRef< CCit_jour > m_Journal
CConstRef< CAuth_list > m_Authors
bool IsSetPatent(void) const
bool IsJustUids(void) const
bool IsSetDate(void) const
const CSeq_loc & GetLoc(void) const
CPubdesc::TReftype TReftype
const CDate & GetDate(void) const
const string & GetDOI(void) const
const string & GetConsortium(void) const
bool IsElectronic(void) const
bool IsSetAuthors(void) const
namespace ncbi::objects::
virtual EItem GetItemType(void) const =0
Include a standard set of the NCBI C++ Toolkit most basic headers.
SStrictId_Entrez::TId TEntrezId
TEntrezId type for entrez ids which require the same strictness as TGi.
bool NotEmpty(void) const THROWS_NONE
Check if CConstRef is not empty – pointing to an object and has a non-null value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_FORMAT_EXPORT
TReftype GetReftype(void) const
Get the Reftype member data.
@ eReftype_seq
refers to sequence
const GenericPointer< typename T::ValueType > T2 value