69   template<encoding::Tag TAG>
    71   wireEncode(EncodingImpl<TAG>& encoder, 
bool wantUnsignedPortionOnly = 
false) 
const;
   107     return m_wire.hasWire();
   203     return m_metaInfo.getType();
   212     return m_metaInfo.getFreshnessPeriod();
   221     return m_metaInfo.getFinalBlockId();
   240   mutable Block m_wire;
   241   mutable Name m_fullName; 
   245 extern template size_t   246 Data::wireEncode<encoding::EncoderTag>(
EncodingBuffer&, bool) 
const;
   248 extern template size_t   261   return !(lhs == rhs);
   266 #endif // NDN_DATA_HPP Error(const std::string &what)
 
Data & setContentType(uint32_t type)
 
Copyright (c) 2011-2015 Regents of the University of California. 
 
void wireDecode(const Block &wire)
Decode from the wire format. 
 
const time::milliseconds & getFreshnessPeriod() const 
 
Data & setSignature(const Signature &signature)
Set Signature. 
 
uint32_t getContentType() const 
 
Data & setName(const Name &name)
Set name. 
 
std::ostream & operator<<(std::ostream &os, const Data &data)
 
boost::posix_time::time_duration milliseconds(long duration)
 
Data(const Name &name=Name())
Create a new Data with the given name and empty Content. 
 
Data & setContent(const Block &block)
Set Content from a block. 
 
const Signature & getSignature() const 
Get Signature. 
 
void resetWire()
Clear wire encoding and cached FullName. 
 
Represents a TLV element of NDN packet format. 
 
const MetaInfo & getMetaInfo() const 
Get MetaInfo. 
 
bool operator!=(const Data &lhs, const Data &rhs)
 
Data & setFreshnessPeriod(const time::milliseconds &freshnessPeriod)
 
Data & setSignatureValue(const Block &value)
Set SignatureValue. 
 
base class to allow simple management of packet tags 
 
Represents an absolute name. 
 
const Block & wireEncode() const 
Encode to a wire format. 
 
const Name & getName() const 
Get name. 
 
Component holds a read-only name component value. 
 
const Block & getContent() const 
Get Content. 
 
bool operator==(const Data &lhs, const Data &rhs)
 
Data & setMetaInfo(const MetaInfo &metaInfo)
Set MetaInfo. 
 
const Name & getFullName() const 
Get full name including implicit digest. 
 
Data & setFinalBlockId(const name::Component &finalBlockId)
 
Represents a Data packet. 
 
const name::Component & getFinalBlockId() const 
 
bool hasWire() const 
Check if already has wire. 
 
EncodingImpl< EncoderTag > EncodingBuffer
 
represents an error in TLV encoding or decoding 
 
EncodingImpl< EstimatorTag > EncodingEstimator
 
Holds SignatureInfo and SignatureValue in a Data packet. 
 
shared_ptr< const Buffer > ConstBufferPtr