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 |
Deserialize Exclude from ndnSIM encodeing.
start | Buffer that stores serialized Interest |
exclude | Exclude object |
Definition at line 125 of file wire-ndnsim.cc.
|
static |
Deserialize Name from ndnSIM encodeing.
start | Buffer that stores serialized Interest |
name | Name object |
Definition at line 57 of file wire-ndnsim.cc.
Referenced by Wire::ToName().
|
static |
Estimate size of Exclude in ndnSIM encoding.
exclude | constant reference to Exclude object |
Definition at line 103 of file wire-ndnsim.cc.
Referenced by SerializeExclude().
|
static |
Estimate size of Name in ndnSIM encoding.
name | constant reference to Name object |
Definition at line 41 of file wire-ndnsim.cc.
Referenced by Wire::FromName(), and SerializeName().
|
static |
Append Exclude in ndnSIM encoding.
start | Buffer to store serialized Interest |
exclude | constant reference to Exclude object |
Definition at line 78 of file wire-ndnsim.cc.
References SerializedSizeExclude().
|
static |
Append Name in ndnSIM encoding.
start | Buffer to store serialized Interest |
name | constant reference to Name object |
Definition at line 23 of file wire-ndnsim.cc.
References SerializedSizeName().
Referenced by Wire::FromName().