67 switch (desc.
Which()) {
99 tv = GetTypeInfo_enum_EGIBB_method();
103 tv = GetTypeInfo_enum_EGIBB_mol();
108 tv = GetTypeInfo_enum_EGIBB_mod();
109 if (!
label->empty()) {
112 (*label) += tv->
FindName(*it,
true);
145 switch (label_type) {
147 (*label) += name +
": ";
User-defined methods of the data storage class.
static void s_GetContentLabel(const CSeqdesc &desc, string *const label)
void GetDate(string *label, bool year_only=false) const
Append a standardized string representation of the date to the label.
void GetLabel(string *label) const
void GetLabel(string *label) const
void GetLabel(string *label) const
bool GetLabel(string *label, TLabelFlags flags=0, ELabelVersion version=eLabel_DefaultVersion) const override
Append a label to "label" based on content.
void GetLabel(string *const label, ELabelType label_type) const
void GetLabel(string *label, ELabelContent mode=eContent) const
Append a label to label.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
const string & FindName(TEnumValueType value, bool allowBadValue) const
Find name of the enum by its numeric value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char label[]
const TOrg & GetOrg(void) const
Get the Org member data.
const THet & GetHet(void) const
Get the variant data.
const TUser & GetUser(void) const
Get the variant data.
const TDbxref & GetDbxref(void) const
Get the variant data.
const TUpdate_date & GetUpdate_date(void) const
Get the variant data.
const TTitle & GetTitle(void) const
Get the variant data.
const TSource & GetSource(void) const
Get the variant data.
const TPub & GetPub(void) const
Get the variant data.
const TMaploc & GetMaploc(void) const
Get the variant data.
TMethod GetMethod(void) const
Get the variant data.
const TOrg & GetOrg(void) const
Get the variant data.
TMol_type GetMol_type(void) const
Get the variant data.
const TModif & GetModif(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
const TCreate_date & GetCreate_date(void) const
Get the variant data.
const TPub & GetPub(void) const
Get the Pub member data.
const TComment & GetComment(void) const
Get the variant data.
const TMolinfo & GetMolinfo(void) const
Get the variant data.
const TName & GetName(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TRegion & GetRegion(void) const
Get the variant data.
@ e_Het
cofactor, etc associated but not bound
@ e_Org
if all from one organism
@ e_User
user defined object
@ e_Update_date
date of last update
@ e_Pub
a reference to the publication
@ e_Mol_type
type of molecule
@ e_Dbxref
xref to other databases
@ e_Comment
a more extensive comment
@ e_Method
sequencing method
@ e_Region
overall region (globin locus)
@ e_Molinfo
info on the molecule and techniques
@ e_Maploc
map location of this sequence
@ e_Create_date
date entry first created/released
@ e_Title
a title for this sequence
@ e_Name
a name for this sequence
@ e_Source
source of materials, includes Org-ref