diff engine/core/model/structures/instance.h @ 99:64e7fe3d4288

- added possibility to change instance ids - speedup instances by removing uniqueness check for ids, that means the client has to provide unique ids or live with on unique ids - added possibility to list all instances with a given id
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 22 Jul 2008 10:04:16 +0000
parents 90005975cdbb
children 56ac89189bc4
line wrap: on
line diff
--- a/engine/core/model/structures/instance.h	Mon Jul 21 13:46:15 2008 +0000
+++ b/engine/core/model/structures/instance.h	Tue Jul 22 10:04:16 2008 +0000
@@ -90,6 +90,10 @@
 		 */
 		const std::string& getId() { return m_id; }
 
+		/** Set the identifier for this instance.
+		 */
+		void setId(const std::string& identifier="");
+
 		/** Gets object where this instance is instantiated from
 		 */
 		Object* getObject() { return m_object; }