Skip to content
Params.hh 618 B
Newer Older
#pragma once

garciay's avatar
garciay committed
#include <vector>
#include <map>

class Params : public std::map<std::string, std::string> {
garciay's avatar
garciay committed
public:
garciay's avatar
garciay committed
  static const std::string& mac_src;
  static const std::string& mac_dst;
  static const std::string& ssp;
  static const std::string& its_aid;
  static const std::vector<unsigned char>& mac_address;
  
garciay's avatar
garciay committed
  Params() : std::map<std::string, std::string>() {};
  Params(const Params& p_params) : std::map<std::string, std::string>(p_params.begin(), p_params.end()) {};
garciay's avatar
garciay committed
  
  virtual ~Params() {};
  void log();
  static void convert(Params& p_param, const std::string p_parameters);