| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2013, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Yingdi Yu <yingdi@cs.ucla.edu> |
| #ifndef CHRONOCHAT_TRUST_TREE_NODE_HPP |
| #define CHRONOCHAT_TRUST_TREE_NODE_HPP |
| typedef std::vector<shared_ptr<TrustTreeNode> > TrustTreeNodeList; |
| TrustTreeNode(const Name& name) |
| addIntroducee(const shared_ptr<TrustTreeNode>& introducee) |
| m_introducees.push_back(introducee); |
| addIntroducer(const shared_ptr<TrustTreeNode>& introducer) |
| m_introducers.push_back(introducer); |
| TrustTreeNodeList m_introducees; |
| TrustTreeNodeList m_introducers; |
| } // namespace chronochat |
| #endif // CHRONOCHAT_TRUST_TREE_NODE_HPP |