Lines Matching refs:meta
30 daeMetaElement* meta = dae.getMeta(ID());
31 if ( meta != NULL ) return meta;
33 meta = new daeMetaElement(dae);
34 dae.setMeta(ID(), *meta);
35 meta->setName( "profile_CG" );
36 meta->registerClass(domProfile_CG::create);
40 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
42 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
48 cm = new daeMetaChoice( meta, cm, 0, 1, 0, -1 );
50 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
56 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
66 cm = new daeMetaChoice( meta, cm, 1, 3002, 0, -1 );
68 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
74 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
84 mea = new daeMetaElementArrayAttribute( meta, cm, 6003, 1, -1 );
90 mea = new daeMetaElementArrayAttribute( meta, cm, 6004, 0, -1 );
97 meta->setCMRoot( cm );
99 meta->addContents(daeOffsetOf(domProfile_CG,_contents));
100 meta->addContentsOrder(daeOffsetOf(domProfile_CG,_contentsOrder));
102 meta->addCMDataArray(daeOffsetOf(domProfile_CG,_CMData), 2);
109 ma->setContainer( meta );
112 meta->appendAttribute(ma);
121 ma->setContainer( meta );
125 meta->appendAttribute(ma);
128 meta->setElementSize(sizeof(domProfile_CG));
129 meta->validate();
131 return meta;
145 daeMetaElement* meta = dae.getMeta(ID());
146 if ( meta != NULL ) return meta;
148 meta = new daeMetaElement(dae);
149 dae.setMeta(ID(), *meta);
150 meta->setName( "technique" );
151 meta->registerClass(domProfile_CG::domTechnique::create);
153 meta->setIsInnerClass( true );
156 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
158 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
164 mea = new daeMetaElementArrayAttribute( meta, cm, 1, 0, -1 );
170 cm = new daeMetaChoice( meta, cm, 0, 2, 0, -1 );
172 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
178 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
188 cm = new daeMetaChoice( meta, cm, 1, 3003, 0, -1 );
190 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
196 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
202 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
212 mea = new daeMetaElementArrayAttribute( meta, cm, 6004, 1, -1 );
218 mea = new daeMetaElementArrayAttribute( meta, cm, 6005, 0, -1 );
225 meta->setCMRoot( cm );
227 meta->addContents(daeOffsetOf(domProfile_CG::domTechnique,_contents));
228 meta->addContentsOrder(daeOffsetOf(domProfile_CG::domTechnique,_contentsOrder));
230 meta->addCMDataArray(daeOffsetOf(domProfile_CG::domTechnique,_CMData), 2);
237 ma->setContainer( meta );
239 meta->appendAttribute(ma);
248 ma->setContainer( meta );
251 meta->appendAttribute(ma);
254 meta->setElementSize(sizeof(domProfile_CG::domTechnique));
255 meta->validate();
257 return meta;
271 daeMetaElement* meta = dae.getMeta(ID());
272 if ( meta != NULL ) return meta;
274 meta = new daeMetaElement(dae);
275 dae.setMeta(ID(), *meta);
276 meta->setName( "pass" );
277 meta->registerClass(domProfile_CG::domTechnique::domPass::create);
279 meta->setIsInnerClass( true );
282 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
284 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 0, -1 );
290 mea = new daeMetaElementArrayAttribute( meta, cm, 1, 0, -1 );
296 mea = new daeMetaElementArrayAttribute( meta, cm, 2, 0, -1 );
302 mea = new daeMetaElementArrayAttribute( meta, cm, 3, 0, -1 );
308 mea = new daeMetaElementArrayAttribute( meta, cm, 4, 0, -1 );
314 mea = new daeMetaElementArrayAttribute( meta, cm, 5, 0, -1 );
320 mea = new daeMetaElementArrayAttribute( meta, cm, 6, 0, -1 );
326 mea = new daeMetaElementAttribute( meta, cm, 7, 0, 1 );
332 cm = new daeMetaChoice( meta, cm, 0, 8, 1, -1 );
334 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
338 cm->appendChild( new daeMetaGroup( mea, meta, cm, 0, 1, 1 ) );
340 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
350 mea = new daeMetaElementArrayAttribute( meta, cm, 3009, 0, -1 );
357 meta->setCMRoot( cm );
359 meta->addContents(daeOffsetOf(domProfile_CG::domTechnique::domPass,_contents));
360 meta->addContentsOrder(daeOffsetOf(domProfile_CG::domTechnique::domPass,_contentsOrder));
362 meta->addCMDataArray(daeOffsetOf(domProfile_CG::domTechnique::domPass,_CMData), 1);
369 ma->setContainer( meta );
372 meta->appendAttribute(ma);
375 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass));
376 meta->validate();
378 return meta;
392 daeMetaElement* meta = dae.getMeta(ID());
393 if ( meta != NULL ) return meta;
395 meta = new daeMetaElement(dae);
396 dae.setMeta(ID(), *meta);
397 meta->setName( "draw" );
398 meta->registerClass(domProfile_CG::domTechnique::domPass::domDraw::create);
400 meta->setIsInnerClass( true );
407 ma->setContainer( meta );
408 meta->appendAttribute(ma);
411 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domDraw));
412 meta->validate();
414 return meta;
428 daeMetaElement* meta = dae.getMeta(ID());
429 if ( meta != NULL ) return meta;
431 meta = new daeMetaElement(dae);
432 dae.setMeta(ID(), *meta);
433 meta->setName( "shader" );
434 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::create);
436 meta->setIsInnerClass( true );
439 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
441 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 0, -1 );
447 cm = new daeMetaSequence( meta, cm, 1, 0, 1 );
449 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
455 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
465 mea = new daeMetaElementAttribute( meta, cm, 3, 1, 1 );
471 mea = new daeMetaElementArrayAttribute( meta, cm, 4, 0, -1 );
478 meta->setCMRoot( cm );
486 ma->setContainer( meta );
488 meta->appendAttribute(ma);
491 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader));
492 meta->validate();
494 return meta;
508 daeMetaElement* meta = dae.getMeta(ID());
509 if ( meta != NULL ) return meta;
511 meta = new daeMetaElement(dae);
512 dae.setMeta(ID(), *meta);
513 meta->setName( "compiler_target" );
514 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domCompiler_target::create);
516 meta->setIsInnerClass( true );
523 ma->setContainer( meta );
524 meta->appendAttribute(ma);
527 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader::domCompiler_target));
528 meta->validate();
530 return meta;
544 daeMetaElement* meta = dae.getMeta(ID());
545 if ( meta != NULL ) return meta;
547 meta = new daeMetaElement(dae);
548 dae.setMeta(ID(), *meta);
549 meta->setName( "compiler_options" );
550 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domCompiler_options::create);
552 meta->setIsInnerClass( true );
559 ma->setContainer( meta );
560 meta->appendAttribute(ma);
563 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader::domCompiler_options));
564 meta->validate();
566 return meta;
580 daeMetaElement* meta = dae.getMeta(ID());
581 if ( meta != NULL ) return meta;
583 meta = new daeMetaElement(dae);
584 dae.setMeta(ID(), *meta);
585 meta->setName( "name" );
586 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domName::create);
588 meta->setIsInnerClass( true );
595 ma->setContainer( meta );
596 meta->appendAttribute(ma);
605 ma->setContainer( meta );
608 meta->appendAttribute(ma);
611 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader::domName));
612 meta->validate();
614 return meta;
628 daeMetaElement* meta = dae.getMeta(ID());
629 if ( meta != NULL ) return meta;
631 meta = new daeMetaElement(dae);
632 dae.setMeta(ID(), *meta);
633 meta->setName( "bind" );
634 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domBind::create);
636 meta->setIsInnerClass( true );
639 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 );
641 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
645 cm->appendChild( new daeMetaGroup( mea, meta, cm, 0, 1, 1 ) );
647 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
654 meta->setCMRoot( cm );
656 meta->addContents(daeOffsetOf(domProfile_CG::domTechnique::domPass::domShader::domBind,_contents));
657 meta->addContentsOrder(daeOffsetOf(domProfile_CG::domTechnique::domPass::domShader::domBind,_contentsOrder));
659 meta->addCMDataArray(daeOffsetOf(domProfile_CG::domTechnique::domPass::domShader::domBind,_CMData), 1);
666 ma->setContainer( meta );
669 meta->appendAttribute(ma);
672 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader::domBind));
673 meta->validate();
675 return meta;
689 daeMetaElement* meta = dae.getMeta(ID());
690 if ( meta != NULL ) return meta;
692 meta = new daeMetaElement(dae);
693 dae.setMeta(ID(), *meta);
694 meta->setName( "param" );
695 meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domBind::domParam::create);
697 meta->setIsInnerClass( true );
705 ma->setContainer( meta );
708 meta->appendAttribute(ma);
711 meta->setElementSize(sizeof(domProfile_CG::domTechnique::domPass::domShader::domBind::domParam));
712 meta->validate();
714 return meta;