blob: 73991f2e2397266451cc7df8d32154cc2266d61b [file] [log] [blame]
Jeff Thompson958bf9b2013-10-12 17:20:51 -07001/* -*- 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
14namespace ndn {
15
16namespace der {
17
Jeff Thompsoncfed8322013-10-14 18:00:15 -070018class SimpleVisitor : public NoArgumentsVisitor
Jeff Thompson958bf9b2013-10-12 17:20:51 -070019{
20public:
Jeff Thompsond0a7d6d2013-10-15 12:34:26 -070021 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 Thompson958bf9b2013-10-12 17:20:51 -070030};
31
32} // der
33
34}
35
36#endif