#pragma once

#include "common.h"
#include <maps/libs/xml/include/xml.h>
#include <boost/format.hpp>
#include <string>


namespace maps {
namespace wiki {
namespace renderer {

class SearchPath
{
public:
    explicit SearchPath(const xml3::Node& node);

    std::string resolve(const TBranchId branchId) const;

private:
    boost::format formatByBranch_;
    std::string defaultPath_;
};

}}} //namespaces
