76 if ((*id_it)->GetDb() ==
"GenColl" &&
77 (*id_it)->GetTag().IsStr())
79 return (*id_it)->GetTag().GetStr();
110 if ((*id_it)->GetDb() ==
"GenColl" &&
111 (*id_it)->GetTag().IsId()) {
112 release_id = (*id_it)->GetTag().GetId();
121 return GetName() ==
"non-nuclear";
User-defined methods of the data storage class.
User-defined methods of the data storage class.
string GetName() const
Retrieve this unit's name.
bool IsPrimaryUnit() const
Is this the primary unit of its full assembly?
string GetFileSafeDisplayName() const
Get file-safe version of full label for assmebly.
CConstRef< CGC_Assembly > GetFullAssembly() const
Access the most specific full assembly the assembly unit belongs to This is needed because assemblies...
CGC_Assembly * m_Assembly
bool IsOrganelle() const
Is this a non-nuclear assembly unit?
string GetFileSafeName() const
Retrieve the file-safe version of assembly name, if available; othwreise default to standard name.
string GetAccession() const
Retrieve this unit's accession.
string GetDisplayName() const
Get full display name of assembly unit.
int GetReleaseId() const
Retrieve the release id for this assembly.
string GetName() const
Retrieve the name of this assembly.
string GetFileSafeName() const
Retrieve the file-safe version of assembly name, if available; othwreise default to standard name.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string & Replace(const string &src, const string &search, const string &replace, string &dst, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)
Replace occurrences of a substring within a string.
const TName & GetName(void) const
Get the Name member data.
const TUnit & GetUnit(void) const
Get the variant data.
const TDesc & GetDesc(void) const
Get the Desc member data.
list< CRef< CDbtag > > TId
const TFilesafe_name & GetFilesafe_name(void) const
Get the Filesafe_name member data.
bool IsSetFilesafe_name(void) const
Check if a value has been assigned to Filesafe_name data member.
const TPrimary_assembly & GetPrimary_assembly(void) const
Get the Primary_assembly member data.
const TAssembly_set & GetAssembly_set(void) const
Get the variant data.
bool IsUnit(void) const
Check if variant Unit is selected.
const TId & GetId(void) const
Get the Id member data.