Welcome to mirror list, hosted at ThFree Co, Russian Federation.

data_factory.cpp « indexer - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 29e8fbac5ec8a0a810537ab868bc41a284d44bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "indexer/data_factory.hpp"

#include "coding/file_container.hpp"

#include "defines.hpp"

void IndexFactory::Load(FilesContainerR const & cont)
{
  ReadVersion(cont, m_version);
  m_header.Load(cont);

  if (cont.IsExist(REGION_INFO_FILE_TAG))
  {
    ReaderSource<FilesContainerR::TReader> src(cont.GetReader(REGION_INFO_FILE_TAG));
    m_regionData.Deserialize(src);
  }
}