commit | acac1ea36aed09808bf3a6590619eee9107b6a71 | [log] [tgz] |
---|---|---|
author | Ilya Moiseenko <iliamo@ucla.edu> | Fri Oct 28 13:16:53 2011 -0700 |
committer | Ilya Moiseenko <iliamo@ucla.edu> | Fri Oct 28 13:40:13 2011 -0700 |
tree | c3e85e7ce9f2812283b9670c858242ff4d507975 | |
parent | 57959f9c9d018b88dff77cfa025812abbc88c9b1 [diff] [blame] |
Support of isLocal interface for all face types
diff --git a/model/ccnx-face.cc b/model/ccnx-face.cc index 38d76e6..7821055 100644 --- a/model/ccnx-face.cc +++ b/model/ccnx-face.cc
@@ -132,6 +132,12 @@ } bool +CcnxFace::IsLocal() const +{ + return m_isLocal; +} + +bool CcnxFace::operator== (const CcnxFace &face) const { NS_ASSERT_MSG (m_node->GetId () == face.m_node->GetId (), "Faces of different nodes should not be compared to each other");