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

§ OID() [1/4]

ndn::OID::OID ( )
inline

Definition at line 38 of file oid.hpp.

§ OID() [2/4]

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

Definition at line 38 of file oid.cpp.

§ OID() [3/4]

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

Definition at line 43 of file oid.cpp.

§ OID() [4/4]

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

Definition at line 49 of file oid.hpp.

Member Function Documentation

§ getIntegerList()

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

Definition at line 55 of file oid.hpp.

§ setIntegerList()

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

Definition at line 61 of file oid.hpp.

References ndn::time::toString().

§ toString()

string ndn::OID::toString ( ) const

Definition at line 70 of file oid.cpp.

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

§ operator==()

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

Definition at line 70 of file oid.hpp.

§ operator!=()

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

Definition at line 76 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: