summaryrefslogtreecommitdiffstats
path: root/src/uscxml/UUID.cpp
blob: eac4316c239f2f0871e25338a900a511972e468c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "UUID.h"
#include <sstream>

namespace uscxml {
boost::uuids::random_generator UUID::uuidGen;

std::string UUID::getUUID() {
	boost::uuids::uuid uuid = uuidGen();
	std::ostringstream os;
	os << uuid;
	return os.str();
}

}