,
110 "culture-collection",
148 const FIELDS& desiredFields,
154 if(!
xGather(bsh,
"", colNames)) {
166 constvector<pair<string,CBioseq_Handle> >& vecIdBsh,
167 const FIELDS& desiredFields,
172 typedefvector<pair<string,CBioseq_Handle> > HANDLES;
175 for(HANDLES::const_iterator it = vecIdBsh.begin(); it != vecIdBsh.end(); ++it) {
176 if(!
xGather(it->second, it->first, colNames)) {
197vector<pair<string,CBioseq_Handle> > vecIdBsh;
199 if(!nucsOnly || bci->IsNa()) {
200vecIdBsh.push_back(make_pair(
"",*bci));
211 const FIELDS& desiredFields)
215 if(desiredFields[0] !=
"id") {
216colNames.push_back(
"id");
218 for(FIELDS::const_iterator cit = desiredFields.begin();
219cit != desiredFields.end(); ++cit) {
222colNames.push_back(mapIterator->second);
224colNames.push_back(*cit);
233 const string& colName,
234 const string& colTitle,
235 const string& colDefault)
241pColumn->
SetHeader().SetField_name(colName);
242pColumn->
SetHeader().SetTitle(colTitle);
243pColumn->
SetDefault().SetString(colDefault);
249 column.SetData().SetString();
251 column.SetData().SetString().push_back(colDefault);
275 for(NAMELIST::const_iterator cit=nameList.begin();
276cit != nameList.end(); ++cit) {
277 if(*cit !=
"other"&& *cit !=
"common") {
283 for(NAMELIST::const_iterator cit=nameList.begin();
284cit != nameList.end(); ++cit) {
285 if(*cit !=
"other") {
335 for(NAMELIST::const_iterator cit=nameList.begin();
336cit != nameList.end(); ++cit) {
338 if(*cit !=
"other") {
344 for(NAMELIST::const_iterator cit=nameList.begin();
345cit != nameList.end(); ++cit) {
346 if(*cit !=
"other") {
366 for(FIELDS::const_iterator cit=defaultFields.begin();
367cit != defaultFields.end();
369 stringcolName = *cit;
370orderedFields.push_back(colName);
375lexicalFields.push_back(
"organism");
376lexicalFields.push_back(
"genome");
377lexicalFields.push_back(
"pcr-primers");
378lexicalFields.push_back(
"db");
379lexicalFields.push_back(
"common");
380lexicalFields.push_back(
"lineage");
381lexicalFields.push_back(
"origin");
382lexicalFields.push_back(
"note");
383lexicalFields.push_back(
"subsource-note");
384lexicalFields.push_back(
"division");
385lexicalFields.push_back(
"definition");
386lexicalFields.push_back(
"bankitid");
388lexicalFields.push_back(
"author");
389lexicalFields.push_back(
"affil");
392 for(NAMELIST::const_iterator cit=nameList.begin();
393cit != nameList.end(); ++cit) {
394 if(*cit !=
"other"&& *cit !=
"common") {
395lexicalFields.push_back(*cit);
400 for(NAMELIST::const_iterator cit=nameList.begin();
401cit != nameList.end(); ++cit) {
402 if(*cit !=
"other") {
403lexicalFields.push_back(*cit);
407 sort(lexicalFields.begin(), lexicalFields.end());
409 for(FIELDS::const_iterator cit = lexicalFields.begin();
410cit != lexicalFields.end(); ++cit)
413 if(processedFields.
find(compressed_name) == processedFields.
end()) {
414orderedFields.push_back(*cit);
415processedFields.
insert(compressed_name);
419 returnorderedFields;
432 for(TVALUES::const_iterator cit = nameValPairs.begin();
433cit != nameValPairs.end(); ++cit) {
434subtypeNames.push_back(cit->first);
449 for(TVALUES::const_iterator cit = nameValPairs.begin();
450cit != nameValPairs.end(); ++cit) {
451subtypeNames.push_back(cit->first);
459 const string& fieldName)
502 const string& fieldName)
512 const string& fieldName,
521 "Unable to find handler for field \""+ fieldName +
"\".");
527 return(this->*pHandler)(src, fieldName, pEC);
537 if(
id.
empty()) {
544colName = displayName =
"gi";
547displayName =
"accession";
562 const stringdefault_id,
563 const FIELDS& desiredFields,
569 boolwantGi = ( find(desiredFields.begin(), desiredFields.end(),
"gi") != desiredFields.end() );
570 boolwantLocalId = ( find(desiredFields.begin(), desiredFields.end(),
"localid") != desiredFields.end() );
571 boolwantBankitId = ( find(desiredFields.begin(), desiredFields.end(),
"bankitid") != desiredFields.end() );
572 boolwantDef = ( find(desiredFields.begin(), desiredFields.end(),
"definition") != desiredFields.end() );
573 boolwantAuthor = ( find(desiredFields.begin(), desiredFields.end(),
"author") != desiredFields.end() );
574 boolwantAffil = ( find(desiredFields.begin(), desiredFields.end(),
"affil") != desiredFields.end() );
591 if(wantAuthor || wantAffil) {
595 const CCit_sub* latest_sub =
nullptr;
596 const CDate* latest_date =
nullptr;
604 const CCit_sub& sub = (*it)->GetSub();
610latest_date = &curr_date;
614latest_date = &curr_date;
627 if(
names.IsStd()) {
645auths += comma + cnsrt;
654 if(affil.
IsStr()) {
656}
else if(affil.
IsStd()) {
666 if(auths.length() > 0) {
667 static const stringcolName =
"author";
668 static const stringdisplayName = colName;
676 if(affls.length() > 0) {
677 static const stringcolName =
"affil";
678 static const stringdisplayName = colName;
690 for(FIELDS::const_iterator cit = desiredFields.begin();
691cit != desiredFields.end(); ++cit) {
692 if(*cit ==
"id"|| *cit ==
"gi"|| *cit ==
"definition"|| *cit ==
"localid"||
693*cit ==
"bankitid"|| *cit ==
"author"|| *cit ==
"affil") {
705 if(num_sources == 0) {
728 if(!
label.empty()) {
729 const stringcolName =
"id";
749 const stringcolName =
"gi";
759 if(!
label.empty()) {
760 const stringdisplayName =
"gi";
780 if( !oi.
IsStr() )
continue;
809 static const stringcolName =
"localid";
810 static const stringdisplayName = colName;
841 static const stringcolName =
"bankitid";
842 static const stringdisplayName = colName;
845stringstream bankitIdOstr;
847 const auto& pId = it->GetSeqId();
848 if(!pId || !pId->IsGeneral()) {
851 const auto& general = pId->GetGeneral();
852 if(!general.IsSetDb() || general.GetDb() !=
"BankIt") {
855 if(!general.IsSetTag()) {
858bankitIdOstr <<
"BankIt";
859general.GetTag().AsString(bankitIdOstr);
862 stringbankitId = bankitIdOstr.str();
863 if(!bankitId.empty()) {
880 static const stringcolName =
"definition";
881 static const stringdisplayName = colName;
886sequence::CDeflineGenerator().GenerateDefline(bsh);
887 if(
label.empty()) {
899 const string& colName,
903 const stringdisplayName =
"organism";
919 const string& colName,
923 const stringdisplayName =
"common";
939 const string& colName,
943 const stringdisplayName =
"lineage";
960 const string& colName,
964 const stringdisplayName =
"division";
980 const string& colName,
984 const stringdisplayName =
"genome";
1000 const string& colName,
1004 const stringdisplayName =
"origin";
1020 const string& colName,
1037 typedeflist<CRef<CSubSource> > SUBSOURCES;
1038 constSUBSOURCES& subsources = src.
GetSubtype();
1040 string key= colName;
1042 for(SUBSOURCES::const_iterator cit = subsources.begin();
1043cit != subsources.end(); ++cit) {
1072 const string& colName,
1086 typedeflist<CRef<COrgMod> > ORGMODS;
1089 string key= colName;
1091 for(ORGMODS::const_iterator cit = orgmods.begin();
1092cit != orgmods.end(); ++cit) {
1093 const COrgMod& orgmod = **cit;
1115 const string& colName,
1119 static const stringdisplayName =
"db";
1126 typedefvector< CRef< CDbtag > > DBTAGS;
1128 for(DBTAGS::const_iterator cit = tags.begin(); cit != tags.end(); ++cit) {
1130 if(!
tag.IsSetDb() ||
tag.GetDb().empty() || !
tag.IsSetTag()) {
1135 switch(objid.
Which()) {
1139 if(objid.
GetStr().empty()) {
1142dbtagStr = objid.
GetStr();
1148 stringcurColName = colName;
1149 stringcurDisplayName = displayName;
1150curColName +=
tag.GetDb();
1151curDisplayName +=
tag.GetDb();
1162 const string& colName,
1166 static const stringdisplayName =
"taxid";
1173 typedefvector< CRef< CDbtag > > DBTAGS;
1176 for(DBTAGS::const_iterator cit = tags.begin(); cit != tags.end(); ++cit) {
1178 if(!
tag.IsSetDb() ||
tag.GetDb() !=
"taxon") {
1182 switch(objid.
Which()) {
1186 if(objid.
GetStr().empty()) {
1189taxonIdStr = objid.
GetStr();
1197 stringcurDisplayName = displayName;
1207 const string& colName,
1211 const stringpcrPrimersFwdNames =
"pcr-primers.names.fwd";
1212 const stringpcrPrimersFwdSequences =
"pcr-primers.sequences.fwd";
1213 const stringpcrPrimersRevNames =
"pcr-primers.names.reverse";
1214 const stringpcrPrimersRevSequences =
"pcr-primers.sequences.reverse";
1216 unsigned intcolumnSetCounter = 0;
1221 stringfwdName, fwdSequence, revName, revSequence;
1224 typedeflist<CRef<CPCRReaction> > REACTIONS;
1225 constREACTIONS& reactions = pcrset.
Get();
1226 for(REACTIONS::const_iterator cit = reactions.begin();
1227cit != reactions.end(); ++cit) {
1230 if(fwdName.empty()) {
1232fwdSequence +=
";";
1238 if(revName.empty()) {
1240revSequence +=
";";
1246 stringkeyPcrPrimersFwdNames = pcrPrimersFwdNames;
1247 stringkeyPcrPrimersFwdSequences = pcrPrimersFwdSequences;
1248 stringkeyPcrPrimersRevNames = pcrPrimersRevNames;
1249 stringkeyPcrPrimersRevSequences = pcrPrimersRevSequences;
1250 if(columnSetCounter > 0) {
1257keyPcrPrimersFwdNames, keyPcrPrimersFwdNames,
"");
1260keyPcrPrimersFwdSequences, keyPcrPrimersFwdSequences,
"");
1264keyPcrPrimersRevNames, keyPcrPrimersRevNames,
"");
1267keyPcrPrimersRevSequences, keyPcrPrimersRevSequences,
"");
1278 typedeflist<CRef<CPCRPrimer> > PRIMERS;
1279 constPRIMERS& primers = pset.
Get();
1280 for(PRIMERS::const_iterator cit = primers.begin();
1281cit != primers.end(); ++cit) {
1288 return names.substr(1);
1297 typedeflist<CRef<CPCRPrimer> > PRIMERS;
1298 constPRIMERS& primers = pset.
Get();
1299 for(PRIMERS::const_iterator cit = primers.begin();
1300cit != primers.end(); ++cit) {
1304sequences += primer.
GetSeq();
1307 returnsequences.substr(1);
1324 stringcolName = cit->first;
1326 if(ColstubToColnames.
find(colStub) == ColstubToColnames.
end()) {
1327ColstubToColnames[colStub] =
NAMELIST(1,colName);
1329ColstubToColnames[colStub].push_back(colName);
1335 for(FIELDS::const_iterator cit = colStubs.begin();
1336cit != colStubs.end(); ++cit) {
1337COLSTUBNAMESMAP::iterator mapIter = ColstubToColnames.
find(*cit);
1338 if(mapIter != ColstubToColnames.
end()) {
1339colNames.insert(colNames.end(), mapIter->second.begin(),
1340mapIter->second.end());
1345 for(NAMELIST::const_iterator cit = colNames.begin();
1346cit != colNames.end(); ++cit) {
1348 stringdisplayName =
column.GetHeader().GetTitle();
1350displayName =
"geo_loc_name";
1358 for(
unsigned intu=0; u < numRows; ++u) {
1359 for(NAMELIST::const_iterator cit = colNames.begin();
1360cit != colNames.end(); ++cit) {
1362 const string* pValue =
column.GetStringPtr(u);
1380 const string& colName)
1385 return "pcr-primers";
1391 returncolName.substr(0,position);
1399 const string& colName,
1400 const string& colValue)
1405 column.SetData().SetString().push_back(colValue);
1415 for(FIELDS::const_iterator cit = fields.begin(); cit != fields.end(); ++cit) {
1416 stringfield = *cit;
1421 "Field name \""+ field +
"\" not recognized.");
1433 const string&
value)
1442 const string&
value)
1453 const string& message):
1456 "",
"",
"", message,
CLineError::TVecOfLines())
1464 const string& message)
1467 return new CSrcError(severity, message);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
@Affil.hpp User-defined methods of the data storage class.
@Auth_list.hpp User-defined methods of the data storage class.
const string & GetTaxname(void) const
bool IsSetOrgMod(void) const
static string GetOrganelleByGenome(unsigned int genome)
const COrgName & GetOrgname(void) const
static string GetStringFromOrigin(unsigned int origin)
bool IsSetTaxname(void) const
ECompare Compare(const CDate &date) const
@ eCompare_before
*this comes first.
@Name_std.hpp User-defined methods of the data storage class.
@OrgMod.hpp User-defined methods of the data storage class.
static bool IsDiscouraged(const TSubtype stype, bool indexer=false)
static TSubtype GetSubtypeValue(const string &str, EVocabulary vocabulary=eVocabulary_raw)
const string & GetDivision(void) const
bool IsSetDivision(void) const
@Pubdesc.hpp User-defined methods of the data storage class.
@Seq_descr.hpp User-defined methods of the data storage class.
const CSeqTable_column & GetColumn(CTempString column_name) const
static CSrcError * Create(ncbi::EDiagSev severity, const std::string &)
CSrcError(const CLineError &other)
virtual bool xTryDefaultId(const string &id, ILineErrorListener *=nullptr)
static NAMEMAP sFieldnameToColname
virtual bool xGatherOrigin(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xFormatTabDelimited(const FIELDS &, CNcbiOstream &)
static string xPrimerSetSequences(const CPCRPrimerSet &)
static bool xIsOrgmodTypeSuppressed(COrgMod::TSubtype)
virtual bool xGatherDb(const CBioSource &, const string &, ILineErrorListener *=nullptr)
static bool ValidateFields(const FIELDS &fields, ILineErrorListener *=nullptr)
Verify that each string in fields is a valid qualifier name.
virtual bool xGatherOrgCommon(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xGatherLocalId(CBioseq_Handle, ILineErrorListener *=nullptr)
virtual bool WriteBioseqHandle(CBioseq_Handle, const FIELDS &, CNcbiOstream &)
Write a table of the specified qualifier-field entries found in the BioSource of a given Bioseq.
virtual bool xGatherPcrPrimers(const CBioSource &, const string &, ILineErrorListener *=nullptr)
static HANDLER xGetHandler(const string &)
static const FIELDS sAllSrcCheckFields
All possible fields processed by srchck application, in their canonical order.
void xPrepareTableColumn(const string &, const string &, const string &="")
static const FIELDS sDefaultSrcCheckFields
Default fields processed by srcchk application, in their canonical order.
static const FIELDS sDefaultSeqEntryFields
static const FIELDS sAllSeqEntryFields
virtual bool xGatherSubtypeFeat(const CBioSource &, const string &, ILineErrorListener *=nullptr)
bool xValueNeedsQuoting(const string &)
static bool xIsSubsourceTypeSuppressed(CSubSource::TSubtype)
void xAppendColumnValue(const string &, const string &)
static string xPrimerSetNames(const CPCRPrimerSet &)
COLUMNMAP mColnameToIndex
virtual bool xGatherId(CBioseq_Handle, ILineErrorListener *=nullptr)
string xDequotedValue(const string &)
virtual bool xGather(CBioseq_Handle, string id, const FIELDS &, ILineErrorListener *=nullptr)
CRef< CSeq_table > mSrcTable
static FIELDS xGetOrderedFieldNames(const FIELDS &)
virtual bool xGatherGi(CBioseq_Handle, ILineErrorListener *=nullptr)
static FIELDS xProcessFieldNames(const FIELDS &)
static NAMELIST xGetOrgModSubtypeNames()
static string xCompressFieldName(const string &)
bool(CSrcWriter::* HANDLER)(const CBioSource &, const string &, ILineErrorListener *)
virtual bool xGatherTaxonId(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xGatherOrgnameLineage(const CBioSource &, const string &, ILineErrorListener *=nullptr)
static NAMELIST xGetSubSourceSubtypeNames()
virtual bool WriteBioseqHandles(const vector< pair< string, CBioseq_Handle > > &, const FIELDS &, CNcbiOstream &, ILineErrorListener *=nullptr)
Write a table of the specified qualifier-field entries found in the BioSources of a vector of Bioseqs...
virtual bool xGatherOrgModFeat(const CBioSource &, const string &, ILineErrorListener *=nullptr)
string xGetColStub(const string &)
virtual bool xGatherDefline(CBioseq_Handle, ILineErrorListener *=nullptr)
string xGetOriginalId(const CBioseq_Handle &) const
virtual bool xHandleSourceField(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xGatherGenome(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xGatherTaxname(const CBioSource &, const string &, ILineErrorListener *=nullptr)
virtual bool xGatherBankitId(CBioseq_Handle, ILineErrorListener *=nullptr)
virtual bool WriteSeqEntry(const CSeq_entry &, CScope &, CNcbiOstream &, bool=false)
Write a table of all qualifier-field entries occurring in the BioSources for a given Seq-entry,...
static HANDLERMAP sHandlerMap
virtual bool xGatherDivision(const CBioSource &, const string &, ILineErrorListener *=nullptr)
static bool NCBI_UseGeoLocNameForCountry(void)
static TSubtype GetSubtypeValue(const string &str, EVocabulary vocabulary=eVocabulary_raw)
static bool NeedsNoText(const TSubtype &subtype)
static bool IsDiscouraged(const TSubtype subtype)
virtual bool PutError(const ILineError &)=0
Store error in the container, and return true if error was stored fine, and return false if the calle...
container_type::const_iterator const_iterator
container_type::iterator iterator
const_iterator begin() const
const_iterator end() const
const_iterator find(const key_type &key) const
iterator_bool insert(const value_type &val)
const_iterator find(const key_type &key) const
const_iterator end() const
API (CDeflineGenerator) for computing sequences' titles ("definitions").
std::ofstream out("events_result.xml")
main entry point for tests
static const struct name_t names[]
static const char * column
Utility macros and typedefs for exploring NCBI objects from general.asn.
#define FOR_EACH_USERFIELD_ON_USEROBJECT(Itr, Var)
FOR_EACH_USERFIELD_ON_USEROBJECT EDIT_EACH_USERFIELD_ON_USEROBJECT.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
EDiagSev
Severity level for the posted diagnostics.
@ eDiag_Error
Error message.
list< pair< string, TEnumValueType > > TValues
#define ENUM_METHOD_NAME(EnumName)
void GetLabel(string *label, ELabelType type=eDefault, TLabelFlags flags=fLabel_Default) const
Append a label for this Seq-id to the supplied string.
@ eContent
Untagged human-readable accession or the like.
string GetAccessionForId(const objects::CSeq_id &id, CScope &scope, EAccessionVersion use_version=eWithAccessionVersion, EGetIdType flags=0)
Retrieve the accession string for a Seq-id.
CSeq_entry_Handle AddTopLevelSeqEntry(CSeq_entry &top_entry, TPriority pri=kPriority_Default, EExist action=eExist_Default)
Add seq_entry, default priority is higher than for defaults or loaders Add object to the score with p...
vector< CSeq_id_Handle > TId
CConstRef< CSeq_id > GetLocalIdOrNull(void) const
CConstRef< CSeq_id > GetSeqId(void) const
Get id which can be used to access this bioseq handle Throws an exception if none is available.
CScope & GetScope(void) const
Get scope this handle belongs to.
const TId & GetId(void) const
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)
Find the pattern in the string.
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.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
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 string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string.
static string & ToLower(string &str)
Convert string to lower case â string& version.
@ fConvErr_NoThrow
Do not throw an exception on error.
static const char label[]
const TDate & GetDate(void) const
Get the Date member data.
bool IsSetAffil(void) const
author affiliation Check if a value has been assigned to Affil data member.
const TAffil & GetAffil(void) const
Get the Affil member data.
const TStr & GetStr(void) const
Get the variant data.
const TAuthors & GetAuthors(void) const
Get the Authors member data.
bool IsSetAuthors(void) const
not necessarily authors of the paper Check if a value has been assigned to Authors data member.
const TName & GetName(void) const
Get the Name member data.
const TAffil & GetAffil(void) const
Get the Affil member data.
list< CRef< CAuthor > > TStd
bool IsStr(void) const
Check if variant Str is selected.
bool IsSetDate(void) const
replaces imp, will become required Check if a value has been assigned to Date data member.
bool IsSetNames(void) const
Check if a value has been assigned to Names data member.
const TStd & GetStd(void) const
Get the variant data.
bool IsSetName(void) const
Author, Primary or Secondary Check if a value has been assigned to Name data member.
const TNames & GetNames(void) const
Get the Names member data.
bool IsStd(void) const
Check if variant Std is selected.
bool IsSetAffil(void) const
Author Affiliation, Name Check if a value has been assigned to Affil data member.
const Tdata & Get(void) const
Get the member data.
const TSubtype & GetSubtype(void) const
Get the Subtype member data.
const TPcr_primers & GetPcr_primers(void) const
Get the Pcr_primers member data.
TGenome GetGenome(void) const
Get the Genome member data.
TOrigin GetOrigin(void) const
Get the Origin member data.
bool IsSetSeq(void) const
Check if a value has been assigned to Seq data member.
const Tdata & Get(void) const
Get the member data.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
bool IsSetOrg(void) const
Check if a value has been assigned to Org data member.
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
bool IsSetPcr_primers(void) const
Check if a value has been assigned to Pcr_primers data member.
const TForward & GetForward(void) const
Get the Forward member data.
const TOrg & GetOrg(void) const
Get the Org member data.
bool IsSetOrigin(void) const
Check if a value has been assigned to Origin data member.
TSubtype GetSubtype(void) const
Get the Subtype member data.
bool IsSetGenome(void) const
Check if a value has been assigned to Genome data member.
const TSeq & GetSeq(void) const
Get the Seq member data.
bool IsSetReverse(void) const
Check if a value has been assigned to Reverse data member.
const TName & GetName(void) const
Get the Name member data.
const TReverse & GetReverse(void) const
Get the Reverse member data.
const TName & GetName(void) const
Get the Name member data.
bool IsSetForward(void) const
Check if a value has been assigned to Forward data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
const TStr & GetStr(void) const
Get the variant data.
bool IsStr(void) const
Check if variant Str is selected.
bool IsConsortium(void) const
Check if variant Consortium is selected.
bool IsSetType(void) const
type of object within class Check if a value has been assigned to Type data member.
const TData & GetData(void) const
Get the Data member data.
const TInitials & GetInitials(void) const
Get the Initials member data.
bool IsName(void) const
Check if variant Name is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsSetInitials(void) const
first + middle initials Check if a value has been assigned to Initials data member.
bool IsStr(void) const
Check if variant Str is selected.
bool IsSetLast(void) const
Check if a value has been assigned to Last data member.
const TStr & GetStr(void) const
Get the variant data.
const TConsortium & GetConsortium(void) const
Get the variant data.
const TLabel & GetLabel(void) const
Get the Label member data.
const TType & GetType(void) const
Get the Type member data.
const TLast & GetLast(void) const
Get the Last member data.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
const TName & GetName(void) const
Get the variant data.
TId GetId(void) const
Get the variant data.
const TMod & GetMod(void) const
Get the Mod member data.
bool IsSetDb(void) const
ids in taxonomic or culture dbases Check if a value has been assigned to Db data member.
const TLineage & GetLineage(void) const
Get the Lineage member data.
TSubtype GetSubtype(void) const
Get the Subtype member data.
const TSubname & GetSubname(void) const
Get the Subname member data.
bool IsSetCommon(void) const
common name Check if a value has been assigned to Common data member.
bool IsSetLineage(void) const
lineage with semicolon separators Check if a value has been assigned to Lineage data member.
const TCommon & GetCommon(void) const
Get the Common member data.
const TDb & GetDb(void) const
Get the Db member data.
bool IsSetOrgname(void) const
Check if a value has been assigned to Orgname data member.
const TOrgname & GetOrgname(void) const
Get the Orgname member data.
list< CRef< CPub > > Tdata
bool IsSet(void) const
Check if a value has been assigned to data member.
const Tdata & Get(void) const
Get the member data.
const TColumns & GetColumns(void) const
Get the Columns member data.
void SetHeader(THeader &value)
Assign a value to Header data member.
void SetNum_rows(TNum_rows value)
Assign a value to Num_rows data member.
TNum_rows GetNum_rows(void) const
Get the Num_rows member data.
void SetDefault(TDefault &value)
Assign a value to Default data member.
TColumns & SetColumns(void)
Assign a value to Columns data member.
const TUser & GetUser(void) const
Get the variant data.
bool IsSetPub(void) const
the citation(s) Check if a value has been assigned to Pub data member.
const TPub & GetPub(void) const
Get the Pub member data.
bool IsUser(void) const
Check if variant User is selected.
@ e_Pub
a reference to the publication
@ e_Source
source of materials, includes Org-ref
constexpr auto sort(_Init &&init)
constexpr bool empty(list< Ts... >) noexcept
const struct ncbi::grid::netcache::search::fields::KEY key
const GenericPointer< typename T::ValueType > T2 defaultValue
const GenericPointer< typename T::ValueType > T2 value
Utility macros and typedefs for exploring NCBI objects from seq.asn.
#define FOR_EACH_SEQDESC_ON_SEQDESCR(Itr, Var)
FOR_EACH_SEQDESC_ON_SEQDESCR EDIT_EACH_SEQDESC_ON_SEQDESCR.
#define FIELD_IS_SET_AND_IS(Var, Fld, Chs)
FIELD_IS_SET_AND_IS base macro.
#define GET_FIELD(Var, Fld)
GET_FIELD base macro.
const size_t countDefaultSrcCheckFields
static const string arrDefaultSrcCheckFields[]
const size_t countDefaultSeqEntryFields
static const string arrDefaultSeqEntryFields[]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4