NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::name Namespace Reference

Classes

class  Component
 Component holds a read-only name component value. More...
 

Functions

static const std::string & getSha256DigestUriPrefix ()
 
template size_t Component::wireEncode< encoding::EncoderTag > (EncodingImpl< encoding::EncoderTag > &encoder) const
 
template size_t Component::wireEncode< encoding::EstimatorTag > (EncodingImpl< encoding::EstimatorTag > &encoder) const
 
std::ostream & operator<< (std::ostream &os, const Component &component)
 

Variables

 WireEncodable< Component >
 
 WireEncodableWithEncodingBuffer< Component >
 
 WireDecodable< Component >
 
static const uint8_t SEGMENT_MARKER = 0x00
 Segment marker for NDN naming conventions. More...
 
static const uint8_t SEGMENT_OFFSET_MARKER = 0xFB
 Segment offset marker for NDN naming conventions. More...
 
static const uint8_t VERSION_MARKER = 0xFD
 Version marker for NDN naming conventions. More...
 
static const uint8_t TIMESTAMP_MARKER = 0xFC
 Timestamp marker for NDN naming conventions. More...
 
static const uint8_t SEQUENCE_NUMBER_MARKER = 0xFE
 Sequence number marker for NDN naming conventions. More...
 

Function Documentation

static const std::string& ndn::name::getSha256DigestUriPrefix ( )
static
template size_t ndn::name::Component::wireEncode< encoding::EncoderTag > ( EncodingImpl< encoding::EncoderTag > &  encoder) const
template size_t ndn::name::Component::wireEncode< encoding::EstimatorTag > ( EncodingImpl< encoding::EstimatorTag > &  encoder) const
std::ostream& ndn::name::operator<< ( std::ostream &  os,
const Component component 
)
inline

Definition at line 613 of file name-component.hpp.

References ndn::name::Component::toUri().

Variable Documentation

ndn::name::WireEncodable< Component >

Definition at line 40 of file name-component.cpp.

ndn::name::WireEncodableWithEncodingBuffer< Component >

Definition at line 41 of file name-component.cpp.

ndn::name::WireDecodable< Component >

Definition at line 42 of file name-component.cpp.

const uint8_t ndn::name::SEGMENT_MARKER = 0x00
static

Segment marker for NDN naming conventions.

Definition at line 34 of file name-component.hpp.

Referenced by ndn::name::Component::fromSegment(), ndn::name::Component::isSegment(), and ndn::name::Component::toSegment().

const uint8_t ndn::name::SEGMENT_OFFSET_MARKER = 0xFB
static

Segment offset marker for NDN naming conventions.

Definition at line 36 of file name-component.hpp.

Referenced by ndn::name::Component::fromSegmentOffset(), ndn::name::Component::isSegmentOffset(), and ndn::name::Component::toSegmentOffset().

const uint8_t ndn::name::VERSION_MARKER = 0xFD
static

Version marker for NDN naming conventions.

Definition at line 38 of file name-component.hpp.

Referenced by ndn::name::Component::fromVersion(), ndn::name::Component::isVersion(), and ndn::name::Component::toVersion().

const uint8_t ndn::name::TIMESTAMP_MARKER = 0xFC
static

Timestamp marker for NDN naming conventions.

Definition at line 40 of file name-component.hpp.

Referenced by ndn::name::Component::fromTimestamp(), ndn::name::Component::isTimestamp(), and ndn::name::Component::toTimestamp().

const uint8_t ndn::name::SEQUENCE_NUMBER_MARKER = 0xFE
static

Sequence number marker for NDN naming conventions.

Definition at line 42 of file name-component.hpp.

Referenced by ndn::name::Component::fromSequenceNumber(), ndn::name::Component::isSequenceNumber(), and ndn::name::Component::toSequenceNumber().