Go to the documentation of this file.Go to the SVN repository for this file.
62 dbtag2.
SetDb(
"BioSample");
67 dbtag3.
SetDb(
"BioSamplE");
77 BOOST_CHECK_EQUAL(
str,
"BioSample");
81 BOOST_CHECK_EQUAL(
str,
"BioSample");
93 dbtag.
SetDb(
"Ensembl");
100 dbtag.
SetDb(
"ENSEMBL");
107 dbtag.
SetDb(
"EnsembL");
114 BOOST_CHECK_EQUAL(
str,
"Ensembl");
120 dbtag.
SetDb(
"ENSEMBL");
127 BOOST_CHECK_EQUAL(
str,
"ENSEMBL");
133 dbtag.
SetDb(
"ENSEMBL");
EDbtagType GetType(void) const
const char * IsApprovedNoCase(EIsRefseq refseq=eIsRefseq_No, EIsSource is_source=eIsSource_No) const
int TDbtagGroup
holds bitwise OR of "EDbtagGroup"
bool GetDBFlags(bool &is_refseq, bool &is_src, string &correct_caps) const
bool IsApproved(EIsRefseq refseq=eIsRefseq_No, EIsSource is_source=eIsSource_No, EIsEstOrGss is_est_or_gss=eIsEstOrGss_No) const
void SetDb(const TDb &value)
Assign a value to Db data member.
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
static const char * str(char *buf, int n)
Utility stuff for more convenient using of Boost.Test library.
BOOST_AUTO_TEST_CASE(s_TestDBTag1)