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)
 
void decode (CryptoPP::BufferedTransformation &in)
 
void encode (CryptoPP::BufferedTransformation &out) const
 
const std::vector< int > & getIntegerList () const
 
bool operator!= (const Oid &oid) const
 
bool operator== (const Oid &oid) const
 
void setIntegerList (const std::vector< int > &value)
 
std::string toString () const
 

Detailed Description

Definition at line 35 of file oid.hpp.

Constructor & Destructor Documentation

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

Definition at line 32 of file oid.cpp.

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

Definition at line 37 of file oid.cpp.

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

Definition at line 47 of file oid.hpp.

Member Function Documentation

void ndn::Oid::decode ( CryptoPP::BufferedTransformation &  in)

Definition at line 135 of file oid.cpp.

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

Definition at line 118 of file oid.cpp.

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

Definition at line 53 of file oid.hpp.

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

Definition at line 74 of file oid.hpp.

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

Definition at line 68 of file oid.hpp.

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

Definition at line 59 of file oid.hpp.

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

Definition at line 58 of file oid.cpp.