Helper to encode ndnSIM wire elements. More...
#include <wire-ndnsim.h>
Public Types | |
enum | Selectors { SelectorExclude = 0x01 } |
enum | ExcludeTypes { ExcludeNameType = 0x01, ExcludeAnyType = 0x02 } |
Static Public Member Functions | |
static size_t | SerializeName (Buffer::Iterator &start, const Name &name) |
Append Name in ndnSIM encoding. More... | |
static size_t | SerializedSizeName (const Name &name) |
Estimate size of Name in ndnSIM encoding. More... | |
static Ptr< Name > | DeserializeName (Buffer::Iterator &start) |
Deserialize Name from ndnSIM encodeing. More... | |
static size_t | SerializeExclude (Buffer::Iterator &start, const Exclude &exclude) |
Append Exclude in ndnSIM encoding. More... | |
static size_t | SerializedSizeExclude (const Exclude &exclude) |
Estimate size of Exclude in ndnSIM encoding. More... | |
static Ptr< Exclude > | DeserializeExclude (Buffer::Iterator &start) |
Deserialize Exclude from ndnSIM encodeing. More... | |
Helper to encode ndnSIM wire elements.
Definition at line 29 of file wire-ndnsim.h.
|
static |
|
static |
|
static |
Estimate size of Exclude in ndnSIM encoding.
exclude | constant reference to Exclude object |
Definition at line 103 of file wire-ndnsim.cc.
References ns3::ndn::Exclude::rbegin(), and ns3::ndn::Exclude::rend().
|
static |
Estimate size of Name in ndnSIM encoding.
name | constant reference to Name object |
Definition at line 41 of file wire-ndnsim.cc.
References ns3::ndn::Name::begin(), and ns3::ndn::Name::end().
|
static |
Append Exclude in ndnSIM encoding.
Definition at line 78 of file wire-ndnsim.cc.
References ns3::ndn::Exclude::rbegin(), and ns3::ndn::Exclude::rend().
|
static |
Append Name in ndnSIM encoding.
Definition at line 23 of file wire-ndnsim.cc.
References ns3::ndn::Name::begin(), and ns3::ndn::Name::end().