guid: style
This commit is contained in:
parent
931dc65727
commit
2bbba9ab01
2
guid.cpp
2
guid.cpp
@ -24,6 +24,8 @@
|
|||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
using util::guid;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
guid::guid (uint32_t _data1,
|
guid::guid (uint32_t _data1,
|
||||||
|
13
guid.hpp
13
guid.hpp
@ -21,7 +21,10 @@
|
|||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <istream>
|
#include <istream>
|
||||||
|
|
||||||
class guid {
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
namespace util {
|
||||||
|
class guid {
|
||||||
public:
|
public:
|
||||||
enum type {
|
enum type {
|
||||||
NCS_BACKWARD, // 0xx: Network Computing System backward compatibility
|
NCS_BACKWARD, // 0xx: Network Computing System backward compatibility
|
||||||
@ -52,9 +55,11 @@ class guid {
|
|||||||
|
|
||||||
bool operator< (const guid&) const;
|
bool operator< (const guid&) const;
|
||||||
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user