tlv-0_1-wire-format.hpp
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
22 #ifndef NDN_TLV_0_1_WIRE_FORMAT_HPP
23 #define NDN_TLV_0_1_WIRE_FORMAT_HPP
24 
25 #include "tlv-0_1_1-wire-format.hpp"
26 
27 namespace ndn {
28 
36 public:
41  static Tlv0_1WireFormat*
42  get()
43  {
44  if (!instance_)
45  instance_ = new Tlv0_1WireFormat();
46 
47  return instance_;
48  }
49 
50 private:
51  static Tlv0_1WireFormat* instance_;
52 };
53 
54 }
55 
56 #endif
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
A Tlv0_1WireFormat extends Tlv0_1_1WireFormat so that it is an alias in case any applications use Tlv...
Definition: tlv-0_1-wire-format.hpp:35
A Tlv0_1_1WireFormat extends WireFormat to override its virtual methods to implement encoding and dec...
Definition: tlv-0_1_1-wire-format.hpp:34