face-map.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
23 #include "face-map.hpp"
24 #include "common.hpp"
25 #include "logger.hpp"
26 
27 #include <iostream>
28 #include <utility>
29 
30 namespace nlsr {
31 
32 INIT_LOGGER(route.FaceMap);
33 
34 void
36 {
37  NLSR_LOG_DEBUG("------- Face Map-----------");
38  for (const auto& it : m_table) {
39  NLSR_LOG_DEBUG("Face Map Entry (FaceUri: " << (it.second).getFaceUri()
40  << " Face Id: " << (it.second).getFaceId() << ")");
41  }
42 }
43 
44 } // namespace nlsr
#define NLSR_LOG_DEBUG(x)
Definition: logger.hpp:38
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California.
#define INIT_LOGGER(name)
Definition: logger.hpp:35
Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California.
void writeLog()
Definition: face-map.cpp:35
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
uint32_t getFaceId(const std::string &faceUri)
Definition: face-map.hpp:102