Represents an in-memory storage entry. More...
#include <in-memory-storage-entry.hpp>
Public Member Functions | |
void | release () |
Releases reference counts on shared objects. More... | |
const Name & | getName () const |
Returns the name of the Data packet stored in the in-memory storage entry. More... | |
const Name & | getFullName () const |
Returns the full name (including implicit digest) of the Data packet stored in the in-memory storage entry. More... | |
const Data & | getData () const |
Returns the Data packet stored in the in-memory storage entry. More... | |
void | setData (const Data &data) |
Changes the content of in-memory storage entry. More... | |
Represents an in-memory storage entry.
Definition at line 34 of file in-memory-storage-entry.hpp.
void ndn::util::InMemoryStorageEntry::release | ( | ) |
Releases reference counts on shared objects.
Definition at line 28 of file in-memory-storage-entry.cpp.
|
inline |
Returns the name of the Data packet stored in the in-memory storage entry.
Definition at line 45 of file in-memory-storage-entry.hpp.
|
inline |
Returns the full name (including implicit digest) of the Data packet stored in the in-memory storage entry.
Definition at line 54 of file in-memory-storage-entry.hpp.
|
inline |
Returns the Data packet stored in the in-memory storage entry.
Definition at line 63 of file in-memory-storage-entry.hpp.
References setData().
Referenced by ndn::util::InMemoryStorage::find().
void ndn::util::InMemoryStorageEntry::setData | ( | const Data & | data | ) |
Changes the content of in-memory storage entry.
Definition at line 34 of file in-memory-storage-entry.cpp.
Referenced by getData().