text: #include <dae.h>
  #include <dae/daeDom.h>
  #include <1.5/dom/domLinestrips.h>
  #include <dae/daeMetaCMPolicy.h>
  #include <dae/daeMetaSequence.h>
  #include <dae/daeMetaChoice.h>
  #include <dae/daeMetaGroup.h>
  #include <dae/daeMetaAny.h>
  #include <dae/daeMetaElementAttribute.h>
  
  
  namespace ColladaDOM150 {
  daeElementRef
  domLinestrips::create(DAE& dae)
  {
  	domLinestripsRef ref = new domLinestrips(dae);
  	return ref;
  }
  
  
  daeMetaElement *
  domLinestrips::registerElement(DAE& dae)
  {
  	daeMetaElement* meta = dae.getMeta(ID());
  	if ( meta != NULL ) return meta;
  
  	meta = new daeMetaElement(dae);
  	dae.setMeta(ID(), *meta);
  	meta->setName( "linestrips" );
  	meta->registerClass(domLinestrips::create);
  
  	daeMetaCMPolicy *cm = NULL;
  	daeMetaElementAttribute *mea = NULL;
  	cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
  
  	mea = new daeMetaElementArrayAttribute( meta, cm, 0, 0, -1 );
  	mea->setName( "input" );
  	mea->setOffset( daeOffsetOf(domLinestrips,elemInput_array) );
  	mea->setElementType( domInput_local_offset::registerElement(dae) );
  	cm->appendChild( mea );
  
  	mea = new daeMetaElementArrayAttribute( meta, cm, 1, 0, -1 );
  	mea->setName( "p" );
  	mea->setOffset( daeOffsetOf(domLinestrips,elemP_array) );
  	mea->setElementType( domP::registerElement(dae) );
  	cm->appendChild( mea );
  
  	mea = new daeMetaElementArrayAttribute( meta, cm, 2, 0, -1 );
  	mea->setName( "extra" );
  	mea->setOffset( daeOffsetOf(domLinestrips,elemExtra_array) );
  	mea->setElementType( domExtra::registerElement(dae) );
  	cm->appendChild( mea );
  
  	cm->setMaxOrdinal( 2 );
  	meta->setCMRoot( cm );	
  
  	//	Add attribute: name
  	{
  		daeMetaAttribute *ma = new daeMetaAttribute;
  		ma->setName( "name" );
  		ma->setType( dae.getAtomicTypes().get("xsToken"));
  		ma->setOffset( daeOffsetOf( domLinestrips , attrName ));
  		ma->setContainer( meta );
  	
  		meta->appendAttribute(ma);
  	}
  
  	//	Add attribute: count
  	{
  		daeMetaAttribute *ma = new daeMetaAttribute;
  		ma->setName( "count" );
  		ma->setType( dae.getAtomicTypes().get("Uint"));
  		ma->setOffset( daeOffsetOf( domLinestrips , attrCount ));
  		ma->setContainer( meta );
  		ma->setIsRequired( true );
  	
  		meta->appendAttribute(ma);
  	}
  
  	//	Add attribute: material
  	{
  		daeMetaAttribute *ma = new daeMetaAttribute;
  		ma->setName( "material" );
  		ma->setType( dae.getAtomicTypes().get("xsNCName"));
  		ma->setOffset( daeOffsetOf( domLinestrips , attrMaterial ));
  		ma->setContainer( meta );
  	
  		meta->appendAttribute(ma);
  	}
  
  	meta->setElementSize(sizeof(domLinestrips));
  	meta->validate();
  
  	return meta;
  }
  
  } // ColladaDOM150
  