NCBI C++ ToolKit
Functions | Variables
validerror_format.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <serial/serialbase.hpp>
#include <objects/submit/Seq_submit.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/pub/Pub_equiv.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objects/seq/Pubdesc.hpp>
#include <objects/seq/Seqdesc.hpp>
#include <objects/seqfeat/Feat_id.hpp>
#include <objects/seqfeat/Imp_feat.hpp>
#include <objects/seqfeat/Org_ref.hpp>
#include <objects/seqfeat/OrgName.hpp>
#include <objects/seqfeat/OrgMod.hpp>
#include <objects/general/User_object.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/util/sequence.hpp>
#include <objtools/validator/validerror_format.hpp>
#include <objtools/validator/validerror_suppress.hpp>
#include <objtools/validator/utilities.hpp>
#include <util/static_map.hpp>
+ Include dependency graph for validerror_format.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 USING_SCOPE (sequence)
 
void RemovePrefix (string &str, const string &prefix)
 
void RemoveSuffix (string &str, const string &suffix)
 
string s_GetSpecificHostFromBioSource (const CBioSource &biosrc)
 
string s_GetInstCodeFromBioSource (const CBioSource &biosrc)
 
static string s_GetFeatureIdLabel (const CObject_id &object_id)
 
static void s_FixBioseqLabelProblems (string &str)
 
static string s_GetOrgRefContentLabel (const COrg_ref &org)
 
static string s_GetBioSourceContentLabel (const CBioSource &bsrc)
 
static string s_GetFeatureContentLabelExtras (const CSeq_feat &feat)
 
static string s_GetCdregionContentLabel (const CSeq_feat &feat, CRef< CScope > scope)
 
static bool s_IsSuppressField (const CUser_field &field)
 

Variables

static const string kSuppressFieldLabel = "Suppress"
 

Function Documentation

◆ RemovePrefix()

void RemovePrefix ( string str,
const string prefix 
)

Definition at line 266 of file validerror_format.cpp.

References NStr::Find(), prefix, and str().

Referenced by CValidErrorFormat::x_FormatGenericForSubmitterReport().

◆ RemoveSuffix()

void RemoveSuffix ( string str,
const string suffix 
)

Definition at line 274 of file validerror_format.cpp.

References NStr::Find(), str(), and suffix.

Referenced by CValidErrorFormat::x_FormatGenericForSubmitterReport().

◆ s_FixBioseqLabelProblems()

static void s_FixBioseqLabelProblems ( string str)
static

◆ s_GetBioSourceContentLabel()

static string s_GetBioSourceContentLabel ( const CBioSource bsrc)
static

◆ s_GetCdregionContentLabel()

static string s_GetCdregionContentLabel ( const CSeq_feat feat,
CRef< CScope scope 
)
static

◆ s_GetFeatureContentLabelExtras()

static string s_GetFeatureContentLabelExtras ( const CSeq_feat feat)
static

◆ s_GetFeatureIdLabel()

static string s_GetFeatureIdLabel ( const CObject_id object_id)
static

◆ s_GetInstCodeFromBioSource()

string s_GetInstCodeFromBioSource ( const CBioSource biosrc)

◆ s_GetOrgRefContentLabel()

static string s_GetOrgRefContentLabel ( const COrg_ref org)
static

◆ s_GetSpecificHostFromBioSource()

string s_GetSpecificHostFromBioSource ( const CBioSource biosrc)

◆ s_IsSuppressField()

static bool s_IsSuppressField ( const CUser_field field)
static

◆ USING_SCOPE()

USING_SCOPE ( sequence  )

Variable Documentation

◆ kSuppressFieldLabel

const string kSuppressFieldLabel = "Suppress"
static

Definition at line 1113 of file validerror_format.cpp.

Referenced by s_IsSuppressField().

Modified on Sun May 05 05:18:25 2024 by modify_doxy.py rev. 669887