blob: 9054bb7cf6ccd2761144332814ac4f259250d104 [file] [log] [blame]
tylerliu01d63ca2020-10-06 16:29:23 -07001//
2// Created by Tyler on 10/6/20.
3//
4
5#ifndef NDNCERT_ASSIGNMENT_HASH_HPP
6#define NDNCERT_ASSIGNMENT_HASH_HPP
7
8#include "assignment-funcs.hpp"
9
10namespace ndn {
11namespace ndncert {
12
13/**
14 * assign names base on client probe parameter
15 */
Zhiyi Zhang8683ec92020-10-07 18:18:35 -070016class AssignmentHash: public NameAssignmentFuncFactory {
tylerliu01d63ca2020-10-06 16:29:23 -070017public:
Zhiyi Zhang8683ec92020-10-07 18:18:35 -070018 AssignmentHash(const std::string& format = "");
tylerliu01d63ca2020-10-06 16:29:23 -070019
Zhiyi Zhang8683ec92020-10-07 18:18:35 -070020 std::vector<PartialName>
21 assignName(const std::vector<std::tuple<std::string, std::string>>& params) override;
tylerliu01d63ca2020-10-06 16:29:23 -070022
tylerliu01d63ca2020-10-06 16:29:23 -070023};
24}
25}
26
27
28
29#endif //NDNCERT_ASSIGNMENT_HASH_HPP