(
const string& line,
const string& accession,
const CObject* obj);
51 voidAdd(
const string& accession,
const CObject* obj);
52 void Print() { cerr << m_Count <<
"\t"<< m_Line << endl; };
55 const string&
GetLine()
const{
returnm_Line; }
72 CSUCBlock(objects::CFlatFileConfig::FGenbankBlocks which_block) : m_Block(which_block), m_pos(-1), m_Expanded(
false) {}
75objects::CFlatFileConfig::FGenbankBlocks
GetBlockType()
const{
returnm_Block; };
76 voidAddBlock(
const string& block_text,
const string& accession,
const CObject* obj);
77 voidAddLine(
const string& line,
const string& accession,
const CObject* obj,
boolcan_split);
83 static const char* GetBlockLabel(objects::CFlatFileConfig::FGenbankBlocks block_type);
86 voidGetText(wxString&
text)
const;
89 boolHasSecondLevel(
void);
93objects::CFlatFileConfig::FGenbankBlocks
m_Block;
109 voidAddText(
string& block_text, objects::CFlatFileConfig::FGenbankBlocks which_block,
const string& accession,
CConstRef<CObject>obj);
110 size_tCountLines()
const;
112objects::CFlatFileConfig::FGenbankBlocks GetBlockType(
size_tpos)
const;
113 voidExpandBlock(
bool val, objects::CFlatFileConfig::FGenbankBlocks which_block);
115 boolGetExpanded(objects::CFlatFileConfig::FGenbankBlocks which_block)
const;
116 voidGetText(wxString&
text);
118 constunordered_map<unsigned int, CRef< CSUCBlock > >&
GetBlocks(
void) {
returnm_Blocks;}
119 constvector<objects::CFlatFileConfig::FGenbankBlocks>&
GetOrder(
void) {
returnm_order;}
121unordered_map<unsigned int, CRef< CSUCBlock > >
m_Blocks;
122vector<objects::CFlatFileConfig::FGenbankBlocks>
m_order;
124 boolx_GetBlockPos(
size_tpos, objects::CFlatFileConfig::FGenbankBlocks& block_type,
size_t& block_pos)
const;
CSUCBlock(objects::CFlatFileConfig::FGenbankBlocks which_block)
objects::CFlatFileConfig::FGenbankBlocks GetBlockType() const
size_t CountChar(const string &str, const char c)
void SetExpanded(bool val)
map< string, map< CTempString, pair< bool, CRef< CSUCLine > > > > m_SecondLevel
size_t CountLines() const
const map< CTempString, CRef< CSUCLine > > & GetLines(void)
const map< string, map< CTempString, pair< bool, CRef< CSUCLine > > > > & GetSecondLevel(void)
map< CTempString, CRef< CSUCLine > >::const_iterator m_pos_it
map< CTempString, CRef< CSUCLine > > m_Lines
objects::CFlatFileConfig::FGenbankBlocks m_Block
const string & GetLine() const
pair< string, CConstRef< CObject > > TRelatedObject
size_t GetRelatedObjectCount() const
const string & GetAccession()
const string & GetRelatedObjectAccession(size_t row) const
CConstRef< CObject > GetRelatedObject(size_t row) const
int Compare(const string &line)
vector< TRelatedObject > m_RelatedObjects
unordered_map< unsigned int, CRef< CSUCBlock > > m_Blocks
const unordered_map< unsigned int, CRef< CSUCBlock > > & GetBlocks(void)
vector< objects::CFlatFileConfig::FGenbankBlocks > m_order
const vector< objects::CFlatFileConfig::FGenbankBlocks > & GetOrder(void)
void Print(const CCompactSAMApplication::AlignInfo &ai)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static int Compare(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Compare of a substring with another string.
#define NCBI_GUIWIDGETS_EDIT_EXPORT
Defines to provide correct exporting from DLLs in Windows.
static void text(MDB_val *v)
#define row(bind, expected)
static void ExpandAll(wxTreeCtrl &tree, const wxTreeItemId &id, bool shouldExpand, int toLevel)
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