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

§ getSha256DigestUriPrefix()

static const std::string& ndn::name::getSha256DigestUriPrefix ( )
static

§ Component::wireEncode< encoding::EncoderTag >()

§ Component::wireEncode< encoding::EstimatorTag >()

§ operator<<()

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

§ WireEncodable< Component >

ndn::name::WireEncodable< Component >

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

§ WireEncodableWithEncodingBuffer< Component >

ndn::name::WireEncodableWithEncodingBuffer< Component >

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

§ WireDecodable< Component >

ndn::name::WireDecodable< Component >

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

§ SEGMENT_MARKER

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().

§ SEGMENT_OFFSET_MARKER

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().

§ VERSION_MARKER

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().

§ TIMESTAMP_MARKER

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().

§ SEQUENCE_NUMBER_MARKER

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().