NCBI C++ ToolKit
|
Search Toolkit Book for IAbstractCitation
Basic citation GetLabel interface, suitable both for actual citation objects such as CCit_* and containers such as CPub. More...
#include <objects/biblio/citation_base.hpp>
Public Types | |
enum | ELabelFlags { fLabel_Unique = 1 << 0 , fLabel_FlatNCBI = 1 << 1 , fLabel_FlatEMBL = 1 << 2 , fLabel_ISO_JTA = 1 << 3 , fLabel_NoBadCitGen = 1 << 4 , fLabel_NoUnpubAffil = 1 << 5 , fLabel_Consortia = 1 << 30 } |
Flags for use by GetLabel methods. More... | |
enum | ELabelVersion { eLabel_V1 = 1 , eLabel_V2 = 2 , eLabel_MinVersion = eLabel_V1 , eLabel_DefaultVersion = eLabel_V1 , eLabel_MaxVersion = eLabel_V2 } |
typedef int | TLabelFlags |
binary OR of ELabelFlags More... | |
Public Member Functions | |
virtual | ~IAbstractCitation () |
virtual bool | GetLabel (string *label, TLabelFlags flags=0, ELabelVersion version=eLabel_DefaultVersion) const =0 |
Append a label to the specified string per the specified flags. More... | |
Basic citation GetLabel interface, suitable both for actual citation objects such as CCit_* and containers such as CPub.
Definition at line 55 of file citation_base.hpp.
typedef int IAbstractCitation::TLabelFlags |
binary OR of ELabelFlags
Definition at line 70 of file citation_base.hpp.
Flags for use by GetLabel methods.
Definition at line 61 of file citation_base.hpp.
Definition at line 72 of file citation_base.hpp.
|
inlinevirtual |
Definition at line 58 of file citation_base.hpp.
|
pure virtual |
Append a label to the specified string per the specified flags.
Implemented in CPub_set, CPub_equiv, CPub, and ICitationBase.