*/
+/** @file src/object.h
+ * @brief Object class.
+ */
+
#ifndef LIBDCP_OBJECT_H
#define LIBDCP_OBJECT_H
+#include <boost/noncopyable.hpp>
#include <string>
+class write_subtitle_test;
+
namespace dcp {
-/** Some part of a DCP that has a UUID */
-class Object
+/** @class Object
+ * @brief Some part of a DCP that has a UUID.
+ */
+class Object : public boost::noncopyable
{
public:
Object ();
Object (std::string id);
virtual ~Object () {}
+ /** @return ID */
std::string id () const {
return _id;
}
protected:
+ friend class ::write_subtitle_test;
+
+ /** ID */
std::string _id;
};