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

#include <oid.hpp>

Public Member Functions

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

ndn::OID::OID ( )
inline

Definition at line 38 of file oid.hpp.

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

Definition at line 38 of file oid.cpp.

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

Definition at line 43 of file oid.cpp.

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

Definition at line 49 of file oid.hpp.

Member Function Documentation

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

Definition at line 55 of file oid.hpp.

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

Definition at line 61 of file oid.hpp.

References ndn::time::toString().

string ndn::OID::toString ( ) const

Definition at line 70 of file oid.cpp.

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

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

Definition at line 70 of file oid.hpp.

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

Definition at line 76 of file oid.hpp.

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

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