Jeff Thompson | 958bf9b | 2013-10-12 17:20:51 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /** |
| 3 | * Copyright (C) 2013 Regents of the University of California. |
| 4 | * @author: Yingdi Yu <yingdi@cs.ucla.edu> |
| 5 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 6 | * See COPYING for copyright and distribution information. |
| 7 | */ |
| 8 | |
| 9 | #ifndef NDN_DER_SIMPLE_VISITOR_HPP |
| 10 | #define NDN_DER_SIMPLE_VISITOR_HPP |
| 11 | |
| 12 | #include "no-arguments-visitor.hpp" |
| 13 | |
| 14 | namespace ndn { |
| 15 | |
| 16 | namespace der { |
| 17 | |
Jeff Thompson | cfed832 | 2013-10-14 18:00:15 -0700 | [diff] [blame] | 18 | class SimpleVisitor : public NoArgumentsVisitor |
Jeff Thompson | 958bf9b | 2013-10-12 17:20:51 -0700 | [diff] [blame] | 19 | { |
| 20 | public: |
Jeff Thompson | d0a7d6d | 2013-10-15 12:34:26 -0700 | [diff] [blame] | 21 | virtual ndnboost::any visit(DerBool& ) = 0; |
| 22 | virtual ndnboost::any visit(DerInteger& ) = 0; |
| 23 | virtual ndnboost::any visit(DerPrintableString&) = 0; |
| 24 | virtual ndnboost::any visit(DerBitString& ) = 0; |
| 25 | virtual ndnboost::any visit(DerNull& ) = 0; |
| 26 | virtual ndnboost::any visit(DerOctetString& ) = 0; |
| 27 | virtual ndnboost::any visit(DerOid& ) = 0; |
| 28 | virtual ndnboost::any visit(DerSequence& ) = 0; |
| 29 | virtual ndnboost::any visit(DerGtime& ) = 0; |
Jeff Thompson | 958bf9b | 2013-10-12 17:20:51 -0700 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | } // der |
| 33 | |
| 34 | } |
| 35 | |
| 36 | #endif |