Main Page
Related Pages
Namespaces
Classes
Files
File List
include
ndn-cpp
encoding
tlv-wire-format.hpp
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
22
#ifndef NDN_TLV_WIRE_FORMAT_HPP
23
#define NDN_TLV_WIRE_FORMAT_HPP
24
25
#include "tlv-0_1_1-wire-format.hpp"
26
27
namespace
ndn
{
28
33
class
TlvWireFormat
:
public
Tlv0_1_1WireFormat
{
34
public
:
41
static
TlvWireFormat
*
42
get
()
43
{
44
if
(!instance_)
45
instance_ =
new
TlvWireFormat
();
46
47
return
instance_;
48
}
49
50
// Inherit encodeInterest, etc. from the base class.
51
52
private
:
53
static
TlvWireFormat
* instance_;
54
};
55
56
}
57
58
#endif
ndn
Copyright (C) 2013-2016 Regents of the University of California.
Definition:
common.hpp:35
ndn::Tlv0_1_1WireFormat
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
ndn::TlvWireFormat
A TlvWireFormat extends WireFormat to override its virtual methods to implement encoding and decoding...
Definition:
tlv-wire-format.hpp:33
Generated on Fri May 13 2016 15:36:52 by
1.8.9.1