/*jslint laxbreak:true */
/*jslint laxcomma:true */
/*jslint loopfunc:true */
/*jslint strict:true */
/*jslint browser:true */
/*jslint devel:true */
define([
	"underscore"
	, "backbone"
	, "toolbox"
	, "models/dmap-type"
]
, function (_, Backbone, Toolbox, DMAPType) {
	"use strict";

	var that

	, set	= function (attributes) {

	}

	, DMAP	= Toolbox.Base.extend({
		id:				null
		, attributes:	false
		, collection:	false
		, parentid:		null
		, index:	{}
		, items:	[]

		, constructor:		function (buffer, parent, options) {

		}

		, set:				function () {

		}

		, get:				function () {

		}

		, getItem:			function () {

		}

		, getItemByIndex:	function () {

		}

		, parseBinary:		function () {

		}

		, parseContentCode:	function () {

		}

		, addItem:			function (item) {

		}

		, remove:			function (items) {

		}
	});

	_.extend(DMAP.prototype, Backbone.Events, {});

	return DMAP;

});