NCBI C++ ToolKit
Functions
source_edit.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objmgr/scope.hpp>
#include <objects/seqfeat/BioSource.hpp>
#include <objects/seqfeat/OrgMod.hpp>
+ Include dependency graph for source_edit.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

bool CleanupForTaxnameChange (objects::CBioSource &src)
 Function removes old-name modifier and the tax-id, resets the common name and removes the synonyms for taxname. More...
 
bool RemoveOldName (objects::CBioSource &src)
 
bool RemoveMod (objects::CBioSource &src, objects::COrgMod::ESubtype subtype)
 
bool RemoveTaxId (objects::CBioSource &src)
 
CRef< CBioSourceMakeCommonBioSource (const objects::CBioSource &src1, const objects::CBioSource &src2)
 

Function Documentation

◆ CleanupForTaxnameChange()

bool CleanupForTaxnameChange ( objects::CBioSource &  src)

Function removes old-name modifier and the tax-id, resets the common name and removes the synonyms for taxname.

◆ MakeCommonBioSource()

CRef<CBioSource> MakeCommonBioSource ( const objects::CBioSource &  src1,
const objects::CBioSource &  src2 
)

Referenced by BOOST_AUTO_TEST_CASE().

◆ RemoveMod()

bool RemoveMod ( objects::CBioSource &  src,
objects::COrgMod::ESubtype  subtype 
)

◆ RemoveOldName()

bool RemoveOldName ( objects::CBioSource &  src)

◆ RemoveTaxId()

bool RemoveTaxId ( objects::CBioSource &  src)
Modified on Fri Dec 08 08:22:23 2023 by modify_doxy.py rev. 669887