Home | History | Annotate | Download | only in dom

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( "rigid_constraint" );
36 meta->registerClass(domRigid_constraint::create);
40 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
42 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
48 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 );
54 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 );
60 mea = new daeMetaElementArrayAttribute( meta, cm, 3, 0, -1 );
66 mea = new daeMetaElementArrayAttribute( meta, cm, 4, 0, -1 );
73 meta->setCMRoot( cm );
81 ma->setContainer( meta );
84 meta->appendAttribute(ma);
93 ma->setContainer( meta );
95 meta->appendAttribute(ma);
98 meta->setElementSize(sizeof(domRigid_constraint));
99 meta->validate();
101 return meta;
115 daeMetaElement* meta = dae.getMeta(ID());
116 if ( meta != NULL ) return meta;
118 meta = new daeMetaElement(dae);
119 dae.setMeta(ID(), *meta);
120 meta->setName( "ref_attachment" );
121 meta->registerClass(domRigid_constraint::domRef_attachment::create);
123 meta->setIsInnerClass( true );
126 cm = new daeMetaChoice( meta, cm, 0, 0, 0, -1 );
128 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
134 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
140 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 0, -1 );
147 meta->setCMRoot( cm );
149 meta->addContents(daeOffsetOf(domRigid_constraint::domRef_attachment,_contents));
150 meta->addContentsOrder(daeOffsetOf(domRigid_constraint::domRef_attachment,_contentsOrder));
152 meta->addCMDataArray(daeOffsetOf(domRigid_constraint::domRef_attachment,_CMData), 1);
159 ma->setContainer( meta );
161 meta->appendAttribute(ma);
164 meta->setElementSize(sizeof(domRigid_constraint::domRef_attachment));
165 meta->validate();
167 return meta;
181 daeMetaElement* meta = dae.getMeta(ID());
182 if ( meta != NULL ) return meta;
184 meta = new daeMetaElement(dae);
185 dae.setMeta(ID(), *meta);
186 meta->setName( "attachment" );
187 meta->registerClass(domRigid_constraint::domAttachment::create);
189 meta->setIsInnerClass( true );
192 cm = new daeMetaChoice( meta, cm, 0, 0, 0, -1 );
194 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
200 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 1, 1 );
206 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 0, -1 );
213 meta->setCMRoot( cm );
215 meta->addContents(daeOffsetOf(domRigid_constraint::domAttachment,_contents));
216 meta->addContentsOrder(daeOffsetOf(domRigid_constraint::domAttachment,_contentsOrder));
218 meta->addCMDataArray(daeOffsetOf(domRigid_constraint::domAttachment,_CMData), 1);
225 ma->setContainer( meta );
227 meta->appendAttribute(ma);
230 meta->setElementSize(sizeof(domRigid_constraint::domAttachment));
231 meta->validate();
233 return meta;
247 daeMetaElement* meta = dae.getMeta(ID());
248 if ( meta != NULL ) return meta;
250 meta = new daeMetaElement(dae);
251 dae.setMeta(ID(), *meta);
252 meta->setName( "technique_common" );
253 meta->registerClass(domRigid_constraint::domTechnique_common::create);
255 meta->setIsInnerClass( true );
258 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
260 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
266 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
272 mea = new daeMetaElementAttribute( meta, cm, 2, 0, 1 );
278 mea = new daeMetaElementAttribute( meta, cm, 3, 0, 1 );
285 meta->setCMRoot( cm );
287 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common));
288 meta->validate();
290 return meta;
304 daeMetaElement* meta = dae.getMeta(ID());
305 if ( meta != NULL ) return meta;
307 meta = new daeMetaElement(dae);
308 dae.setMeta(ID(), *meta);
309 meta->setName( "enabled" );
310 meta->registerClass(domRigid_constraint::domTechnique_common::domEnabled::create);
312 meta->setIsInnerClass( true );
319 ma->setContainer( meta );
320 meta->appendAttribute(ma);
329 ma->setContainer( meta );
331 meta->appendAttribute(ma);
334 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domEnabled));
335 meta->validate();
337 return meta;
351 daeMetaElement* meta = dae.getMeta(ID());
352 if ( meta != NULL ) return meta;
354 meta = new daeMetaElement(dae);
355 dae.setMeta(ID(), *meta);
356 meta->setName( "interpenetrate" );
357 meta->registerClass(domRigid_constraint::domTechnique_common::domInterpenetrate::create);
359 meta->setIsInnerClass( true );
366 ma->setContainer( meta );
367 meta->appendAttribute(ma);
376 ma->setContainer( meta );
378 meta->appendAttribute(ma);
381 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domInterpenetrate));
382 meta->validate();
384 return meta;
398 daeMetaElement* meta = dae.getMeta(ID());
399 if ( meta != NULL ) return meta;
401 meta = new daeMetaElement(dae);
402 dae.setMeta(ID(), *meta);
403 meta->setName( "limits" );
404 meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::create);
406 meta->setIsInnerClass( true );
409 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
411 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
417 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
424 meta->setCMRoot( cm );
426 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domLimits));
427 meta->validate();
429 return meta;
443 daeMetaElement* meta = dae.getMeta(ID());
444 if ( meta != NULL ) return meta;
446 meta = new daeMetaElement(dae);
447 dae.setMeta(ID(), *meta);
448 meta->setName( "swing_cone_and_twist" );
449 meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::domSwing_cone_and_twist::create);
451 meta->setIsInnerClass( true );
454 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
456 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
462 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
469 meta->setCMRoot( cm );
471 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domLimits::domSwing_cone_and_twist));
472 meta->validate();
474 return meta;
488 daeMetaElement* meta = dae.getMeta(ID());
489 if ( meta != NULL ) return meta;
491 meta = new daeMetaElement(dae);
492 dae.setMeta(ID(), *meta);
493 meta->setName( "linear" );
494 meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::domLinear::create);
496 meta->setIsInnerClass( true );
499 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
501 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
507 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
514 meta->setCMRoot( cm );
516 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domLimits::domLinear));
517 meta->validate();
519 return meta;
533 daeMetaElement* meta = dae.getMeta(ID());
534 if ( meta != NULL ) return meta;
536 meta = new daeMetaElement(dae);
537 dae.setMeta(ID(), *meta);
538 meta->setName( "spring" );
539 meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::create);
541 meta->setIsInnerClass( true );
544 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
546 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
552 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
559 meta->setCMRoot( cm );
561 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domSpring));
562 meta->validate();
564 return meta;
578 daeMetaElement* meta = dae.getMeta(ID());
579 if ( meta != NULL ) return meta;
581 meta = new daeMetaElement(dae);
582 dae.setMeta(ID(), *meta);
583 meta->setName( "angular" );
584 meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::domAngular::create);
586 meta->setIsInnerClass( true );
589 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
591 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
597 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
603 mea = new daeMetaElementAttribute( meta, cm, 2, 0, 1 );
610 meta->setCMRoot( cm );
612 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domSpring::domAngular));
613 meta->validate();
615 return meta;
629 daeMetaElement* meta = dae.getMeta(ID());
630 if ( meta != NULL ) return meta;
632 meta = new daeMetaElement(dae);
633 dae.setMeta(ID(), *meta);
634 meta->setName( "linear" );
635 meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::domLinear::create);
637 meta->setIsInnerClass( true );
640 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
642 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
648 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
654 mea = new daeMetaElementAttribute( meta, cm, 2, 0, 1 );
661 meta->setCMRoot( cm );
663 meta->setElementSize(sizeof(domRigid_constraint::domTechnique_common::domSpring::domLinear));
664 meta->validate();
666 return meta;