1 #ifndef GUI_WIDGETS___LOADERS___COLUMNAR_VCF_CACHE__HPP_
2 #define GUI_WIDGETS___LOADERS___COLUMNAR_VCF_CACHE__HPP_
CColumnarVcfCache(const std::string &url, const std::string &seq_id, const std::string &last_modified)
std::string m_LastModified
Base class for data crawler cache objects.
virtual CNetICacheClient x_InitBlobCache()=0
Creates the BLOB NetCache instance.
virtual CNetICacheClient x_InitSyncCache()=0
Creates the sync NetCache instance.
virtual std::string x_GetCacheKey()=0
Generates the cache key.
Client to NetCache server (implements ICache interface)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_LOADERS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
void SetInfoFields(set< string > &fields)
Get the list of INFO fields to read.
bool CreateBlob(const std::string &url, const std::string &id, CColumnarVcfCache &cache, size_t &blob_size, TReportError report_error, const unsigned retries_count=1, bool enforce_size_limit=true)
Creates a VCF blob for a given scaffold id and VCF url.
void ReportSyntaxErrors(CErrorContainer *err_cont)
Reports VCF syntax errors to AppLog.
std::function< void(const string &)> TReportError