MCPcopy Create free account
hub / github.com/comaps/comaps / GetReader

Method GetReader

libs/platform/platform_qt.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#include <QtCore/QLocale>
19
20std::unique_ptr<ModelReader> Platform::GetReader(std::string const & file, std::string searchScope) const
21{
22 return std::make_unique<FileReader>(ReadPathForFile(file, std::move(searchScope)), READER_CHUNK_LOG_SIZE,
23 READER_CHUNK_LOG_COUNT);
24}
25
26bool Platform::GetFileSizeByName(std::string const & fileName, uint64_t & size) const
27{

Callers 15

UnzipAndMatchFunction · 0.45
LoadDataSourcesFunction · 0.45
ReadRegionDataImplFunction · 0.45
DumpSearchTokensFunction · 0.45
CalcCrossMwmTransitionsFunction · 0.45
PrintFileContainerStatsFunction · 0.45
UnpackBordersFunction · 0.45
UnpackMwmFunction · 0.45
MatchTypesFunction · 0.45

Calls

no outgoing calls

Tested by 10

LoadSpeedCameraFromMwmFunction · 0.36
LoadRestrictionsFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
RenderGlyphsMethod · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36