88 *
label +=
", In press";
bool GetLabelV2(string *label, TLabelFlags flags) const override
bool GetLabelV1(string *label, TLabelFlags flags) const override
@ eLabel_V1
Traditional GetLabel semantics, modeled on the C Toolkit's PubLabelUnique.
int TLabelFlags
binary OR of ELabelFlags
static string GetParenthesizedYear(const CDate &date)
bool GetLabel(string *label, TLabelFlags flags=0, ELabelVersion version=eLabel_DefaultVersion) const override
Append a label to the specified string per the specified flags.
static void MaybeAddSpace(string *label)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
NCBI_NS_STD::string::size_type SIZE_TYPE
static string & ReplaceInPlace(string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)
Replace occurrences of a substring within a string.
static const char label[]
const TCit & GetCit(void) const
Get the Cit member data.
bool CanGetType(void) const
Check if it is safe to call GetType method.
bool CanGetPrepub(void) const
Check if it is safe to call GetPrepub method.
TPrepub GetPrepub(void) const
Get the Prepub member data.
const TPub & GetPub(void) const
Get the Pub member data.
bool CanGetPub(void) const
Check if it is safe to call GetPub method.
TType GetType(void) const
Get the Type member data.
const TDate & GetDate(void) const
Get the Date member data.
const TImp & GetImp(void) const
Get the Imp member data.
@ ePrepub_in_press
accepted, not published