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 | 415da1e | 2013-10-17 16:52:59 -0700 | [diff] [blame] | 21 | virtual ndnboost::any visit(DerBool& ); |
| 22 | virtual ndnboost::any visit(DerInteger& ); |
| 23 | virtual ndnboost::any visit(DerPrintableString&); |
| 24 | virtual ndnboost::any visit(DerBitString& ); |
| 25 | virtual ndnboost::any visit(DerNull& ); |
| 26 | virtual ndnboost::any visit(DerOctetString& ); |
| 27 | virtual ndnboost::any visit(DerOid& ); |
| 28 | virtual ndnboost::any visit(DerSequence& ); |
| 29 | virtual ndnboost::any visit(DerGtime& ); |
Jeff Thompson | 958bf9b | 2013-10-12 17:20:51 -0700 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | } // der |
| 33 | |
| 34 | } |
| 35 | |
| 36 | #endif |