NCBI C++ ToolKit
|
Search Toolkit Book for CSeqDB_TitleWalker
Walker for TITLE field of alias file. More...
Public Member Functions | |
virtual const char * | GetFileKey () const |
This provides the alias file key used for this field. More... | |
virtual void | Accumulate (const CSeqDBVol &vol) |
Collect data from a volume. More... | |
virtual void | AddString (const string &value) |
Collect data from an alias file. More... | |
string | GetTitle () |
Returns the database title string. More... | |
Public Member Functions inherited from CSeqDB_AliasWalker | |
virtual | ~CSeqDB_AliasWalker () |
Destructor. More... | |
Private Attributes | |
string | m_Value |
The title string we are accumulating. More... | |
Walker for TITLE field of alias file.
The TITLE field of the alias file is a string describing the set of sequences collected by that file. The title is reported via the "CSeqDB::GetTitle()" method.
Definition at line 991 of file seqdbalias.cpp.
Collect data from a volume.
If the TITLE field is not specified in an alias file, we can use the title(s) in the database volume(s). Values from alias node tree siblings are concatenated with "; " used as a delimiter.
vol | A database volume |
Implements CSeqDB_AliasWalker.
Definition at line 1008 of file seqdbalias.cpp.
References AddString(), and CSeqDBVol::GetTitle().
Collect data from an alias file.
If the TITLE field is specified in an alias file, it will be used unmodified. Values from alias node tree siblings are concatenated with "; " used as a delimiter.
value | A database volume |
Implements CSeqDB_AliasWalker.
Definition at line 1021 of file seqdbalias.cpp.
References m_Value, SeqDB_JoinDelim(), and rapidjson::value.
Referenced by Accumulate().
|
inlinevirtual |
This provides the alias file key used for this field.
Implements CSeqDB_AliasWalker.
Definition at line 994 of file seqdbalias.cpp.
|
inline |
Returns the database title string.
Definition at line 1027 of file seqdbalias.cpp.
References m_Value.
Referenced by CSeqDBAliasNode::GetTitle().
|
private |
The title string we are accumulating.
Definition at line 1034 of file seqdbalias.cpp.
Referenced by AddString(), and GetTitle().