| /* -*- 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: Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| #include <boost/shared_ptr.hpp> |
| namespace wire { class Base; } |
| * @brief Pure virtual class providing an interface to work with signatures for NDN data packets |
| * @brief Virtual destructor |
| * @brief A double dispatch pattern to call the right wireFormatter method to format signature |
| * @param os reference to output stream |
| * @param wireFormatter a reference to a wireFormatter object |
| * @param userData any user-specific data |
| doubleDispatch (std::ostream &os, wire::Base &wireFormatter, void *userData) const = 0; |
| #endif // NDN_SIGNATURE_H |