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 | |
| 18 | class NoArgumentsVisitor : public NoArgumentsVisitor |
| 19 | { |
| 20 | public: |
| 21 | virtual Any visit(DerBool& ) = 0; |
| 22 | virtual Any visit(DerInteger& ) = 0; |
| 23 | virtual Any visit(DerPrintableString&) = 0; |
| 24 | virtual Any visit(DerBitString& ) = 0; |
| 25 | virtual Any visit(DerNull& ) = 0; |
| 26 | virtual Any visit(DerOctetString& ) = 0; |
| 27 | virtual Any visit(DerOid& ) = 0; |
| 28 | virtual Any visit(DerSequence& ) = 0; |
| 29 | virtual Any visit(DerGtime& ) = 0; |
| 30 | }; |
| 31 | |
| 32 | } // der |
| 33 | |
| 34 | } |
| 35 | |
| 36 | #endif |