#include <dtn/Header.h>
Public Member Functions | |
| SDNV () | |
| Default constructor. | |
| SDNV (uint64_t l) | |
| Construct a SDNV from a uint64_t. | |
| SDNV (const ByteString &s) | |
| Construct a SDNV from a ByteString. | |
| SDNV (const SDNV &v) | |
| Copy constructor. | |
| ~SDNV () | |
| Destructor. | |
| SDNV & | operator= (uint64_t l) |
| Assignment operator from uint64_t. | |
| SDNV & | operator= (const SDNV &v) |
| Assignment operator from another SDNV. | |
| operator uint64_t () const | |
| Convert SDNV to a uint64_t. | |
| const ByteString & | val () const |
| Representation as a serialized string of bytes. | |
These are described in draft-irtf-dtnrg-bundle-spec-04. The internal representation will be in serialization order, but all interactions with built in types are with values in host byte order. That is, a SDNV can be used as a normal integral type, but will (as if by magic) be directly writable into (for example) a bundle header.
Definition at line 51 of file Header.h.
1.5.4