guid: style

This commit is contained in:
Danny Robson 2016-08-12 15:17:36 +10:00
parent 931dc65727
commit 2bbba9ab01
2 changed files with 34 additions and 27 deletions

View File

@ -24,6 +24,8 @@
#include <iomanip>
#include <sstream>
using util::guid;
///////////////////////////////////////////////////////////////////////////////
guid::guid (uint32_t _data1,

View File

@ -21,7 +21,10 @@
#include <ostream>
#include <istream>
class guid {
///////////////////////////////////////////////////////////////////////////////
namespace util {
class guid {
public:
enum type {
NCS_BACKWARD, // 0xx: Network Computing System backward compatibility
@ -52,9 +55,11 @@ class guid {
bool operator< (const guid&) const;
bool operator== (const guid&) const;
};
};
std::istream& operator>> (std::istream&, guid&);
std::ostream& operator<< (std::ostream&, const guid&);
}
std::istream& operator>> (std::istream&, guid&);
std::ostream& operator<< (std::ostream&, const guid&);
#endif