(
constobjects::CValidErrItem& item)
override;
58 void operator()(
constobjects::CValidErrItem& item)
override;
68 void operator()(
constobjects::CValidErrItem& item)
override;
78 void Start()
override;
80 void operator()(
constobjects::CValidErrItem& item)
override;
92 static const stringstr_sev[] = {
93 "NOTE",
"WARNING",
"ERROR",
"REJECT",
"FATAL",
"MAX" 98 if(sev == 0 && is_xml) {
119 stringspacer =
" ";
140m_LowCutoff(lowCutoff)
177loc =
"["+ loc.substr(1, loc.length() - 2) +
"]";
198 m_Ostr<<
"</asnvalidate>"<< endl;
204 switch(
config.mVerbosity) {
206 returnmake_unique<CStandardFormat>(ostr);
208 returnmake_unique<CSpacedFormat>(ostr);
210 returnmake_unique<CTabbedFormat>(ostr);
212 returnmake_unique<CXmlFormat>(
config.mLowCutoff, ostr);
216 returnmake_unique<CStandardFormat>(ostr);
User-defined methods of the data storage class.
CSpacedFormat(CNcbiOstream &ostr)
void operator()(const objects::CValidErrItem &item) override
void operator()(const objects::CValidErrItem &item) override
virtual ~CStandardFormat()
CStandardFormat(CNcbiOstream &ostr)
CTabbedFormat(CNcbiOstream &ostr)
void operator()(const objects::CValidErrItem &item) override
const string GetErrCode() const
const string GetErrGroup() const
EDiagSev GetSeverity() const
void operator()(const objects::CValidErrItem &item) override
CXmlFormat(EDiagSev lowCuttof, CNcbiOstream &ostr)
unique_ptr< IFormatter > g_CreateFormatter(const CAppConfig &config, CNcbiOstream &ostr)
static string s_GetSeverityLabel(EDiagSev sev, bool is_xml=false)
@ eNoOwnership
No ownership is assumed.
EDiagSev
Severity level for the posted diagnostics.
@ eDiagSevMax
Verbosity level for max. severity.
@ eStringTypeVisible
VisibleString (in ASN.1 sense)
virtual void WriteString(const string &s, EStringType type=eStringTypeVisible) override
void SetReferenceDTD(bool use_dtd=true)
Make generated XML document reference DTD.
void SetUseIndentation(bool set)
Set up indentation usage in text streams.
virtual void WriteFileHeader(TTypeInfo type) override
void SetEncoding(EEncoding enc)
Set XML character encoding.
void SetEnforcedStdXml(bool set=true)
Set up scope prefixes handling.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void PutString(const char *str, size_t length)
void PutEol(bool indent=true)
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static bool EndsWith(const CTempString str, const CTempString end, ECase use_case=eCase)
Check if a string ends with a specified suffix value.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
bool IsSetObjDesc(void) const
Check if a value has been assigned to ObjDesc data member.
bool IsSetFeatureId(void) const
Check if a value has been assigned to FeatureId data member.
const TAccnver & GetAccnver(void) const
Get the Accnver member data.
bool IsSetLocation(void) const
Check if a value has been assigned to Location data member.
bool IsSetAccnver(void) const
Check if a value has been assigned to Accnver data member.
const TObjDesc & GetObjDesc(void) const
Get the ObjDesc member data.
const TLocation & GetLocation(void) const
Get the Location member data.
const TMsg & GetMsg(void) const
Get the Msg member data.
const TFeatureId & GetFeatureId(void) const
Get the FeatureId member data.
#define NCBI_SC_VERSION_PROXY
#define NCBI_TEAMCITY_BUILD_NUMBER_PROXY
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
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