1 #ifndef OBJTOOLS_FORMAT___ITEM_FORMATTER_HPP
2 #define OBJTOOLS_FORMAT___ITEM_FORMATTER_HPP
68 class CFlatTextOStream;
137 static const string s_GenbankMol[];
138 static const string s_EmblMol[];
142 static string& x_Pad(
const string& s,
string&
out,
SIZE_TYPE width,
144 virtual string& Pad(
const string& s,
string&
out, EPadContext where)
const;
145 virtual list<string>& Wrap(list<string>&
l,
SIZE_TYPE width,
146 const string&
tag,
const string& body, EPadContext where = ePara,
bool htmlaware =
false)
const;
147 virtual list<string>& Wrap(list<string>&
l,
const string&
tag,
148 const string& body, EPadContext where = ePara,
bool htmlaware =
false,
int internalIndent = 0 )
const;
151 const string& to,
const string& delim,
155 string x_FormatAccession(
const CAccessionItem& acc,
char separator)
const;
157 void x_GetKeywords(
const CKeywordsItem& kws,
const string& prefix,
158 list<string>&
l)
const;
160 const string&
GetIndent(
void)
const {
return m_Indent; }
164 void SetFeatIndent(
const string& feat_indent) { m_FeatIndent = feat_indent; }
Include a standard set of the NCBI C++ Toolkit most basic headers.
std::ofstream out("events_result.xml")
main entry point for tests
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
NCBI_NS_STD::string::size_type SIZE_TYPE
int TWrapFlags
Bitwise OR of "EWrapFlags".
#define NCBI_FORMAT_EXPORT
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
CRef< CPub > journal(ParserPtr pp, char *bptr, char *eptr, CRef< CAuth_list > &auth_list, CRef< CTitle::C_E > &title, bool has_muid, CRef< CCit_art > &cit_art, Int4 er)
static SLJIT_INLINE sljit_ins l(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)