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
 
 ndn::name
 

Enumerations

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...
 
enum class  ndn::name::Convention {
  ndn::name::MARKER = 1 << 0 ,
  ndn::name::TYPED = 1 << 1 ,
  ndn::name::EITHER = MARKER | TYPED
}
 Identify a style of NDN Naming Conventions. More...
 
enum class  ndn::name::UriFormat {
  ndn::name::CANONICAL ,
  ndn::name::ALTERNATE ,
  ndn::name::ENV_OR_CANONICAL ,
  ndn::name::ENV_OR_ALTERNATE ,
  ndn::name::DEFAULT = ENV_OR_ALTERNATE
}
 Format used for the URI representation of a name. More...
 

Functions

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