NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::Oid Class Reference

#include <oid.hpp>

Public Member Functions

 Oid ()=default
 
 Oid (const char *oid)
 
 Oid (const std::string &oid)
 
 Oid (const std::vector< int > &oid)
 
const std::vector< int > & getIntegerList () const
 
void setIntegerList (const std::vector< int > &value)
 
std::string toString () const
 
bool operator== (const Oid &oid) const
 
bool operator!= (const Oid &oid) const
 
void encode (CryptoPP::BufferedTransformation &out) const
 
void decode (CryptoPP::BufferedTransformation &in)
 

Detailed Description

Definition at line 35 of file oid.hpp.

Constructor & Destructor Documentation

◆ Oid() [1/4]

ndn::Oid::Oid ( )
default

◆ Oid() [2/4]

ndn::Oid::Oid ( const char *  oid)
explicit

Definition at line 32 of file oid.cpp.

◆ Oid() [3/4]

ndn::Oid::Oid ( const std::string &  oid)
explicit

Definition at line 37 of file oid.cpp.

◆ Oid() [4/4]

ndn::Oid::Oid ( const std::vector< int > &  oid)
inlineexplicit

Definition at line 47 of file oid.hpp.

Member Function Documentation

◆ getIntegerList()

const std::vector<int>& ndn::Oid::getIntegerList ( ) const
inline

Definition at line 53 of file oid.hpp.

◆ setIntegerList()

void ndn::Oid::setIntegerList ( const std::vector< int > &  value)
inline

Definition at line 59 of file oid.hpp.

References ndn::time::toString().

◆ toString()

std::string ndn::Oid::toString ( ) const

Definition at line 58 of file oid.cpp.

Referenced by ndn::security::v1::PublicKey::decode().

◆ operator==()

bool ndn::Oid::operator== ( const Oid oid) const
inline

Definition at line 68 of file oid.hpp.

◆ operator!=()

bool ndn::Oid::operator!= ( const Oid oid) const
inline

Definition at line 74 of file oid.hpp.

◆ encode()

void ndn::Oid::encode ( CryptoPP::BufferedTransformation &  out) const

◆ decode()


The documentation for this class was generated from the following files: