blob: d54c49900b0cd37da3bffd522e3adaf89c729c35 [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:
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