#include <data.hpp>
Data Structures | |
| class | Error |
Public Member Functions | |
| Data () | |
| Create an empty Data object. More... | |
| Data (const Name &name) | |
| Create a new Data object with the given name. More... | |
| Data (const Block &wire) | |
| Create a new Data object from wire encoding. More... | |
| ~Data () | |
| The destructor. More... | |
| template<bool T> | |
| size_t | wireEncode (EncodingImpl< T > &block, bool unsignedPortion=false) const |
| Fast encoding or block size estimation. More... | |
| const Block & | wireEncode () const |
| Encode to a wire format. More... | |
| void | wireDecode (const Block &wire) |
| Decode from the wire format. More... | |
| bool | hasWire () const |
| Check if already has wire. More... | |
| const Name & | getName () const |
| void | setName (const Name &name) |
| Set name to a copy of the given Name. More... | |
| const MetaInfo & | getMetaInfo () const |
| void | setMetaInfo (const MetaInfo &metaInfo) |
| Set metaInfo to a copy of the given MetaInfo. More... | |
| uint32_t | getContentType () const |
| void | setContentType (uint32_t type) |
| const time::milliseconds & | getFreshnessPeriod () const |
| void | setFreshnessPeriod (const time::milliseconds &freshnessPeriod) |
| const name::Component & | getFinalBlockId () const |
| void | setFinalBlockId (const name::Component &finalBlockId) |
| const Block & | getContent () const |
| Get content Block. More... | |
| void | setContent (const uint8_t *content, size_t contentLength) |
| Set the content to a copy of the data in the vector. More... | |
| void | setContent (const Block &content) |
| void | setContent (const ConstBufferPtr &contentValue) |
| const Signature & | getSignature () const |
| void | setSignature (const Signature &signature) |
| Set the signature to a copy of the given signature. More... | |
| void | setSignatureValue (const Block &value) |
| nfd::LocalControlHeader & | getLocalControlHeader () |
| const nfd::LocalControlHeader & | getLocalControlHeader () const |
| uint64_t | getIncomingFaceId () const |
| void | setIncomingFaceId (uint64_t incomingFaceId) |
| bool | operator== (const Data &other) const |
| bool | operator!= (const Data &other) const |
Friends | |
| class | nfd::LocalControlHeader |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |