X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/fdee6fdb88e79929c952fea956fa57e5780804cf..46b0747592074017ff0ea4b33d4a7194235886e5:/projects/stargazer/plugins/other/smux/types.h diff --git a/projects/stargazer/plugins/other/smux/types.h b/projects/stargazer/plugins/other/smux/types.h deleted file mode 100644 index 26d6e24f..00000000 --- a/projects/stargazer/plugins/other/smux/types.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef __TYPES_H__ -#define __TYPES_H__ - -#include -#include -#include - -#include "asn1/OBJECT_IDENTIFIER.h" - -class OID { - public: - OID(const std::string & str); - OID(const char * str, size_t length); - OID(const std::vector & arcs); - OID(const unsigned * arcs, size_t length); - OID(OBJECT_IDENTIFIER_t * oid); - OID(const OID & rvalue); - ~OID(); - - std::string ToString() const; - const std::vector & ToVector() const { return arcs; } - void ToOID(OBJECT_IDENTIFIER_t * oid) const; - - OID & operator=(const OID & rvalue); - bool operator==(const OID & rvalue) const; - bool operator<(const OID & rvalue) const; - - std::ostream & operator<<(std::ostream & stream) const; - - private: - std::vector arcs; -}; - -#endif