33 #include <Base/Image/UUID.hh>
41 ofstream teststream(
"test.txt");
50 cout <<
"testid has size "<<
sizeof(testid)<<endl;
53 cout <<
"Writing <"<<testid<<
"> and <"<<testid2 <<
">"<<endl;
54 teststream << testid <<
" " << testid2;
60 cout <<
"Before reading: "<<readid<<endl;
62 ifstream testread(
"test.txt");
64 if (!readid.IsValid()) cout <<
"Invalid!";
65 cout <<
"After reading: "<<readid<<endl;
67 if (!readid.IsValid()) cout <<
"Invalid!";
68 cout <<
"After reading(2): "<<readid<<endl;
interface class for producing/storing Universally Unique IDentifiers
static UUID GenerateUUID(const bool &consecutively=DEFAULT_UUID_CONSECUTIVELY)
static function which simply produces a uuid and returns