8 #include "asn1/OBJECT_IDENTIFIER.h"
12 OID(const std::string & str);
13 OID(const char * str, size_t length);
14 OID(const std::vector<unsigned> & arcs);
15 OID(const unsigned * arcs, size_t length);
16 OID(OBJECT_IDENTIFIER_t * oid);
17 OID(const OID & rvalue);
20 std::string ToString() const;
21 const std::vector<unsigned> & ToVector() const { return arcs; }
22 void ToOID(OBJECT_IDENTIFIER_t * oid) const;
24 OID & operator=(const OID & rvalue);
25 bool operator==(const OID & rvalue) const;
26 bool operator<(const OID & rvalue) const;
28 std::ostream & operator<<(std::ostream & stream) const;
31 std::vector<unsigned> arcs;