*/
+/** @file src/object.cc
+ * @brief Object class.
+ */
+
#include "object.h"
#include "util.h"
using std::string;
using namespace dcp;
+/** Create an Object with a random ID. */
Object::Object ()
: _id (make_uuid ())
{
}
+/** Create an Object with a given ID.
+ * @param id ID to use.
+ */
Object::Object (string id)
: _id (id)
{