Content is a private class to hold the name and encoding for each entry in the cache.
More...
#include <memory-content-cache.hpp>
Content is a private class to hold the name and encoding for each entry in the cache.
| ndn::MemoryContentCache::Content::Content |
( |
const Data & |
data | ) |
|
|
inline |
Create a new Content entry to hold data's name and wire encoding.
- Parameters
-
| data | The Data packet whose name and wire encoding are copied. |
| const Blob& ndn::MemoryContentCache::Content::getDataEncoding |
( |
| ) |
const |
|
inline |
Get the encoded content Data packet.
- Returns
- The encoded content Blob.
| const Name& ndn::MemoryContentCache::Content::getName |
( |
| ) |
const |
|
inline |
Get the content Name.
- Returns
- The content Name.
The documentation for this class was generated from the following file: