NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
name-component.hpp File Reference
Include dependency graph for name-component.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::name::Component
 Represents a name component. More...
 
class  ndn::name::Component::Error
 

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::name
 

Enumerations

enum  ndn::name::UriFormat {
  ndn::name::UriFormat::CANONICAL, ndn::name::UriFormat::ALTERNATE, ndn::name::UriFormat::ENV_OR_CANONICAL, ndn::name::UriFormat::ENV_OR_ALTERNATE,
  ndn::name::UriFormat::DEFAULT = ENV_OR_ALTERNATE
}
 Format used for the URI representation of a name. More...
 
enum  ndn::name::Convention { ndn::name::Convention::MARKER = 1 << 0, ndn::name::Convention::TYPED = 1 << 1, ndn::name::Convention::EITHER = MARKER | TYPED }
 Identify a style of NDN Naming Conventions. More...
 
enum  : uint8_t {
  ndn::name::SEGMENT_MARKER = 0x00, ndn::name::SEGMENT_OFFSET_MARKER = 0xFB, ndn::name::VERSION_MARKER = 0xFD, ndn::name::TIMESTAMP_MARKER = 0xFC,
  ndn::name::SEQUENCE_NUMBER_MARKER = 0xFE
}
 Name component markers defined in Naming Conventions revision 1 (obsolete). More...
 

Functions

Convention ndn::name::getConventionEncoding ()
 Return which Naming Conventions style to use while encoding. More...
 
void ndn::name::setConventionEncoding (Convention convention)
 Set which Naming Conventions style to use while encoding. More...
 
Convention ndn::name::getConventionDecoding ()
 Return which Naming Conventions style(s) to accept while decoding. More...
 
void ndn::name::setConventionDecoding (Convention convention)
 Set which Naming Conventions style(s) to accept while decoding. More...
 
 ndn::name::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Component)