changed: gcc8 base update
[opensg.git] / Source / Test / SystemLib / OSGFCDPtrTestFCBase.cpp
blobf023647822f6ecd551d8fadd2c2e4ba0566d00da
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
18 * *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
27 * *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
30 * Changes *
31 * *
32 * *
33 * *
34 * *
35 * *
36 * *
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
41 ** **
42 ** This file is automatically generated. **
43 ** **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
46 ** **
47 ** Do not change this file, changes should be done in the derived **
48 ** class FCDPtrTestFC!
49 ** **
50 *****************************************************************************
51 \*****************************************************************************/
53 #include <cstdlib>
54 #include <cstdio>
56 #include "OSGConfig.h"
60 #include "OSGFCDTestFC.h" // FieldSFPub_ptr Class
61 #include "OSGFCDSParTestFC.h" // FieldSFPub_spchildptr Class
63 #include "OSGFCDPtrTestFCBase.h"
64 #include "OSGFCDPtrTestFC.h"
66 #include <boost/bind.hpp>
68 #ifdef WIN32 // turn off 'this' : used in base member initializer list warning
69 #pragma warning(disable:4355)
70 #endif
72 OSG_BEGIN_NAMESPACE
74 /***************************************************************************\
75 * Description *
76 \***************************************************************************/
78 /*! \class OSG::FCDPtrTestFC
82 /***************************************************************************\
83 * Field Documentation *
84 \***************************************************************************/
86 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPub_ptr
90 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPub_weakptr
94 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPub_mpchildptr
98 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPro_ptr
102 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPro_weakptr
106 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFPro_mpchildptr
110 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFNo_ptr
114 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFNo_weakptr
118 /*! \var FCDTestFC * FCDPtrTestFCBase::_sfFieldSFNo_mpchildptr
122 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPub_ptr
126 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPub_weakptr
130 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPub_mpchildptr
134 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPro_ptr
138 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPro_weakptr
142 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFPro_mpchildptr
146 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFNo_ptr
150 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFNo_weakptr
154 /*! \var FCDTestFC * FCDPtrTestFCBase::_mfFieldMFNo_mpchildptr
158 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_sfFieldSFPub_spchildptr
162 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_sfFieldSFPro_spchildptr
166 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_sfFieldSFNo_spchildptr
170 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_mfFieldMFPub_spchildptr
174 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_mfFieldMFPro_spchildptr
178 /*! \var FCDSParTestFC * FCDPtrTestFCBase::_mfFieldMFNo_spchildptr
183 /***************************************************************************\
184 * FieldType/FieldTrait Instantiation *
185 \***************************************************************************/
187 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
188 PointerType FieldTraits<FCDPtrTestFC *, nsOSG>::_type(
189 "FCDPtrTestFCPtr",
190 "NodeCorePtr",
191 FCDPtrTestFC::getClassType(),
192 nsOSG);
193 #endif
195 OSG_FIELDTRAITS_GETTYPE_NS(FCDPtrTestFC *, nsOSG)
197 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField,
198 FCDPtrTestFC *,
199 nsOSG);
201 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField,
202 FCDPtrTestFC *,
203 nsOSG);
205 /***************************************************************************\
206 * Field Description *
207 \***************************************************************************/
209 void FCDPtrTestFCBase::classDescInserter(TypeObject &oType)
211 FieldDescriptionBase *pDesc = NULL;
214 pDesc = new SFUnrecFCDTestFCPtr::Description(
215 SFUnrecFCDTestFCPtr::getClassType(),
216 "fieldSFPub_ptr",
218 FieldSFPub_ptrFieldId, FieldSFPub_ptrFieldMask,
219 false,
220 (Field::SFDefaultFlags | Field::FStdAccess),
221 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPub_ptr),
222 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPub_ptr));
224 oType.addInitialDesc(pDesc);
226 pDesc = new SFWeakFCDTestFCPtr::Description(
227 SFWeakFCDTestFCPtr::getClassType(),
228 "fieldSFPub_weakptr",
230 FieldSFPub_weakptrFieldId, FieldSFPub_weakptrFieldMask,
231 false,
232 (Field::SFDefaultFlags | Field::FStdAccess),
233 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPub_weakptr),
234 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPub_weakptr));
236 oType.addInitialDesc(pDesc);
238 pDesc = new SFUnrecChildFCDTestFCPtr::Description(
239 SFUnrecChildFCDTestFCPtr::getClassType(),
240 "fieldSFPub_mpchildptr",
242 FieldSFPub_mpchildptrFieldId, FieldSFPub_mpchildptrFieldMask,
243 false,
244 (Field::SFDefaultFlags | Field::FStdAccess),
245 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPub_mpchildptr),
246 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPub_mpchildptr));
248 oType.addInitialDesc(pDesc);
250 pDesc = new SFUnrecFCDTestFCPtr::Description(
251 SFUnrecFCDTestFCPtr::getClassType(),
252 "fieldSFPro_ptr",
254 FieldSFPro_ptrFieldId, FieldSFPro_ptrFieldMask,
255 false,
256 (Field::SFDefaultFlags | Field::FStdAccess),
257 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPro_ptr),
258 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPro_ptr));
260 oType.addInitialDesc(pDesc);
262 pDesc = new SFWeakFCDTestFCPtr::Description(
263 SFWeakFCDTestFCPtr::getClassType(),
264 "fieldSFPro_weakptr",
266 FieldSFPro_weakptrFieldId, FieldSFPro_weakptrFieldMask,
267 false,
268 (Field::SFDefaultFlags | Field::FStdAccess),
269 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPro_weakptr),
270 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPro_weakptr));
272 oType.addInitialDesc(pDesc);
274 pDesc = new SFUnrecChildFCDTestFCPtr::Description(
275 SFUnrecChildFCDTestFCPtr::getClassType(),
276 "fieldSFPro_mpchildptr",
278 FieldSFPro_mpchildptrFieldId, FieldSFPro_mpchildptrFieldMask,
279 false,
280 (Field::SFDefaultFlags | Field::FStdAccess),
281 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPro_mpchildptr),
282 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPro_mpchildptr));
284 oType.addInitialDesc(pDesc);
286 pDesc = new SFUnrecFCDTestFCPtr::Description(
287 SFUnrecFCDTestFCPtr::getClassType(),
288 "fieldSFNo_ptr",
290 FieldSFNo_ptrFieldId, FieldSFNo_ptrFieldMask,
291 false,
292 (Field::SFDefaultFlags | Field::FStdAccess),
293 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
294 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
296 oType.addInitialDesc(pDesc);
298 pDesc = new SFWeakFCDTestFCPtr::Description(
299 SFWeakFCDTestFCPtr::getClassType(),
300 "fieldSFNo_weakptr",
302 FieldSFNo_weakptrFieldId, FieldSFNo_weakptrFieldMask,
303 false,
304 (Field::SFDefaultFlags | Field::FStdAccess),
305 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
306 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
308 oType.addInitialDesc(pDesc);
310 pDesc = new SFUnrecChildFCDTestFCPtr::Description(
311 SFUnrecChildFCDTestFCPtr::getClassType(),
312 "fieldSFNo_mpchildptr",
314 FieldSFNo_mpchildptrFieldId, FieldSFNo_mpchildptrFieldMask,
315 false,
316 (Field::SFDefaultFlags | Field::FStdAccess),
317 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
318 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
320 oType.addInitialDesc(pDesc);
322 pDesc = new MFUnrecFCDTestFCPtr::Description(
323 MFUnrecFCDTestFCPtr::getClassType(),
324 "fieldMFPub_ptr",
326 FieldMFPub_ptrFieldId, FieldMFPub_ptrFieldMask,
327 false,
328 (Field::MFDefaultFlags | Field::FStdAccess),
329 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPub_ptr),
330 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPub_ptr));
332 oType.addInitialDesc(pDesc);
334 pDesc = new MFWeakFCDTestFCPtr::Description(
335 MFWeakFCDTestFCPtr::getClassType(),
336 "fieldMFPub_weakptr",
338 FieldMFPub_weakptrFieldId, FieldMFPub_weakptrFieldMask,
339 false,
340 (Field::MFDefaultFlags | Field::FStdAccess),
341 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPub_weakptr),
342 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPub_weakptr));
344 oType.addInitialDesc(pDesc);
346 pDesc = new MFUnrecChildFCDTestFCPtr::Description(
347 MFUnrecChildFCDTestFCPtr::getClassType(),
348 "fieldMFPub_mpchildptr",
350 FieldMFPub_mpchildptrFieldId, FieldMFPub_mpchildptrFieldMask,
351 false,
352 (Field::MFDefaultFlags | Field::FStdAccess),
353 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPub_mpchildptr),
354 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPub_mpchildptr));
356 oType.addInitialDesc(pDesc);
358 pDesc = new MFUnrecFCDTestFCPtr::Description(
359 MFUnrecFCDTestFCPtr::getClassType(),
360 "fieldMFPro_ptr",
362 FieldMFPro_ptrFieldId, FieldMFPro_ptrFieldMask,
363 false,
364 (Field::MFDefaultFlags | Field::FStdAccess),
365 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPro_ptr),
366 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPro_ptr));
368 oType.addInitialDesc(pDesc);
370 pDesc = new MFWeakFCDTestFCPtr::Description(
371 MFWeakFCDTestFCPtr::getClassType(),
372 "fieldMFPro_weakptr",
374 FieldMFPro_weakptrFieldId, FieldMFPro_weakptrFieldMask,
375 false,
376 (Field::MFDefaultFlags | Field::FStdAccess),
377 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPro_weakptr),
378 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPro_weakptr));
380 oType.addInitialDesc(pDesc);
382 pDesc = new MFUnrecChildFCDTestFCPtr::Description(
383 MFUnrecChildFCDTestFCPtr::getClassType(),
384 "fieldMFPro_mpchildptr",
386 FieldMFPro_mpchildptrFieldId, FieldMFPro_mpchildptrFieldMask,
387 false,
388 (Field::MFDefaultFlags | Field::FStdAccess),
389 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPro_mpchildptr),
390 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPro_mpchildptr));
392 oType.addInitialDesc(pDesc);
394 pDesc = new MFUnrecFCDTestFCPtr::Description(
395 MFUnrecFCDTestFCPtr::getClassType(),
396 "fieldMFNo_ptr",
398 FieldMFNo_ptrFieldId, FieldMFNo_ptrFieldMask,
399 false,
400 (Field::MFDefaultFlags | Field::FStdAccess),
401 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
402 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
404 oType.addInitialDesc(pDesc);
406 pDesc = new MFWeakFCDTestFCPtr::Description(
407 MFWeakFCDTestFCPtr::getClassType(),
408 "fieldMFNo_weakptr",
410 FieldMFNo_weakptrFieldId, FieldMFNo_weakptrFieldMask,
411 false,
412 (Field::MFDefaultFlags | Field::FStdAccess),
413 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
414 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
416 oType.addInitialDesc(pDesc);
418 pDesc = new MFUnrecChildFCDTestFCPtr::Description(
419 MFUnrecChildFCDTestFCPtr::getClassType(),
420 "fieldMFNo_mpchildptr",
422 FieldMFNo_mpchildptrFieldId, FieldMFNo_mpchildptrFieldMask,
423 false,
424 (Field::MFDefaultFlags | Field::FStdAccess),
425 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
426 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
428 oType.addInitialDesc(pDesc);
430 pDesc = new SFUnrecChildFCDSParTestFCPtr::Description(
431 SFUnrecChildFCDSParTestFCPtr::getClassType(),
432 "fieldSFPub_spchildptr",
434 FieldSFPub_spchildptrFieldId, FieldSFPub_spchildptrFieldMask,
435 false,
436 (Field::SFDefaultFlags | Field::FStdAccess),
437 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPub_spchildptr),
438 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPub_spchildptr));
440 oType.addInitialDesc(pDesc);
442 pDesc = new SFUnrecChildFCDSParTestFCPtr::Description(
443 SFUnrecChildFCDSParTestFCPtr::getClassType(),
444 "fieldSFPro_spchildptr",
446 FieldSFPro_spchildptrFieldId, FieldSFPro_spchildptrFieldMask,
447 false,
448 (Field::SFDefaultFlags | Field::FStdAccess),
449 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldSFPro_spchildptr),
450 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldSFPro_spchildptr));
452 oType.addInitialDesc(pDesc);
454 pDesc = new SFUnrecChildFCDSParTestFCPtr::Description(
455 SFUnrecChildFCDSParTestFCPtr::getClassType(),
456 "fieldSFNo_spchildptr",
458 FieldSFNo_spchildptrFieldId, FieldSFNo_spchildptrFieldMask,
459 false,
460 (Field::SFDefaultFlags | Field::FStdAccess),
461 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
462 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
464 oType.addInitialDesc(pDesc);
466 pDesc = new MFUnrecChildFCDSParTestFCPtr::Description(
467 MFUnrecChildFCDSParTestFCPtr::getClassType(),
468 "fieldMFPub_spchildptr",
470 FieldMFPub_spchildptrFieldId, FieldMFPub_spchildptrFieldMask,
471 false,
472 (Field::MFDefaultFlags | Field::FStdAccess),
473 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPub_spchildptr),
474 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPub_spchildptr));
476 oType.addInitialDesc(pDesc);
478 pDesc = new MFUnrecChildFCDSParTestFCPtr::Description(
479 MFUnrecChildFCDSParTestFCPtr::getClassType(),
480 "fieldMFPro_spchildptr",
482 FieldMFPro_spchildptrFieldId, FieldMFPro_spchildptrFieldMask,
483 false,
484 (Field::MFDefaultFlags | Field::FStdAccess),
485 static_cast<FieldEditMethodSig>(&FCDPtrTestFC::editHandleFieldMFPro_spchildptr),
486 static_cast<FieldGetMethodSig >(&FCDPtrTestFC::getHandleFieldMFPro_spchildptr));
488 oType.addInitialDesc(pDesc);
490 pDesc = new MFUnrecChildFCDSParTestFCPtr::Description(
491 MFUnrecChildFCDSParTestFCPtr::getClassType(),
492 "fieldMFNo_spchildptr",
494 FieldMFNo_spchildptrFieldId, FieldMFNo_spchildptrFieldMask,
495 false,
496 (Field::MFDefaultFlags | Field::FStdAccess),
497 static_cast <FieldEditMethodSig>(&FCDPtrTestFC::invalidEditField),
498 static_cast <FieldGetMethodSig >(&FCDPtrTestFC::invalidGetField));
500 oType.addInitialDesc(pDesc);
504 FCDPtrTestFCBase::TypeObject FCDPtrTestFCBase::_type(
505 FCDPtrTestFCBase::getClassname(),
506 Inherited::getClassname(),
507 "NULL",
508 nsOSG, //Namespace
509 reinterpret_cast<PrototypeCreateF>(&FCDPtrTestFCBase::createEmptyLocal),
510 FCDPtrTestFC::initMethod,
511 FCDPtrTestFC::exitMethod,
512 reinterpret_cast<InitalInsertDescFunc>(&FCDPtrTestFC::classDescInserter),
513 false,
515 "<?xml version=\"1.0\" ?>\n"
516 "\n"
517 "<FieldContainer\n"
518 "\tname=\"FCDPtrTestFC\"\n"
519 "\tparent=\"NodeCore\"\n"
520 "\tlibrary=\"System\"\n"
521 "\tstructure=\"concrete\"\n"
522 "\tpointerfieldtypes=\"both\"\n"
523 "\tsystemcomponent=\"true\"\n"
524 "\tparentsystemcomponent=\"true\"\n"
525 " isNodeCore=\"true\"\n"
526 ">\n"
527 " <!-- SF, multi parent, public -->\n"
528 " <Field\n"
529 " name = \"fieldSFPub_ptr\"\n"
530 " type = \"FCDTestFC\"\n"
531 " cardinality = \"single\"\n"
532 " visibility = \"external\"\n"
533 " defaultValue = \"0\"\n"
534 " access = \"public\"\n"
535 " category = \"pointer\"\n"
536 " >\n"
537 " </Field>\n"
538 "\n"
539 " <Field\n"
540 " name = \"fieldSFPub_weakptr\"\n"
541 " type = \"FCDTestFC\"\n"
542 " cardinality = \"single\"\n"
543 " visibility = \"external\"\n"
544 " defaultValue = \"0\"\n"
545 " access = \"public\"\n"
546 " category = \"weakpointer\"\n"
547 " >\n"
548 " </Field>\n"
549 "\n"
550 " <Field\n"
551 " name = \"fieldSFPub_mpchildptr\"\n"
552 " type = \"FCDTestFC\"\n"
553 " cardinality = \"single\"\n"
554 " visibility = \"external\"\n"
555 " defaultValue = \"0\"\n"
556 " access = \"public\"\n"
557 " category = \"childpointer\"\n"
558 " linkParentField=\"Parents\"\n"
559 " >\n"
560 " </Field>\n"
561 "\n"
562 "\n"
563 "\n"
564 "\n"
565 "\n"
566 " <!-- SF, multi parent, protected -->\n"
567 " <Field\n"
568 " name = \"fieldSFPro_ptr\"\n"
569 " type = \"FCDTestFC\"\n"
570 " cardinality = \"single\"\n"
571 " visibility = \"external\"\n"
572 " defaultValue = \"0\"\n"
573 " access = \"protected\"\n"
574 " category = \"pointer\"\n"
575 " >\n"
576 " </Field>\n"
577 "\n"
578 " <Field\n"
579 " name = \"fieldSFPro_weakptr\"\n"
580 " type = \"FCDTestFC\"\n"
581 " cardinality = \"single\"\n"
582 " visibility = \"external\"\n"
583 " defaultValue = \"0\"\n"
584 " access = \"protected\"\n"
585 " category = \"weakpointer\"\n"
586 " >\n"
587 " </Field>\n"
588 "\n"
589 " <Field\n"
590 " name = \"fieldSFPro_mpchildptr\"\n"
591 " type = \"FCDTestFC\"\n"
592 " cardinality = \"single\"\n"
593 " visibility = \"external\"\n"
594 " defaultValue = \"0\"\n"
595 " access = \"protected\"\n"
596 " category = \"childpointer\"\n"
597 " linkParentField=\"Parents\"\n"
598 " >\n"
599 " </Field>\n"
600 "\n"
601 "\n"
602 "\n"
603 " <!-- SF, multi parent, none -->\n"
604 " <Field\n"
605 " name = \"fieldSFNo_ptr\"\n"
606 " type = \"FCDTestFC\"\n"
607 " cardinality = \"single\"\n"
608 " visibility = \"external\"\n"
609 " defaultValue = \"0\"\n"
610 " access = \"none\"\n"
611 " category = \"pointer\"\n"
612 " >\n"
613 " </Field>\n"
614 "\n"
615 " <Field\n"
616 " name = \"fieldSFNo_weakptr\"\n"
617 " type = \"FCDTestFC\"\n"
618 " cardinality = \"single\"\n"
619 " visibility = \"external\"\n"
620 " defaultValue = \"0\"\n"
621 " access = \"none\"\n"
622 " category = \"weakpointer\"\n"
623 " >\n"
624 " </Field>\n"
625 "\n"
626 " <Field\n"
627 " name = \"fieldSFNo_mpchildptr\"\n"
628 " type = \"FCDTestFC\"\n"
629 " cardinality = \"single\"\n"
630 " visibility = \"external\"\n"
631 " defaultValue = \"0\"\n"
632 " access = \"none\"\n"
633 " category = \"childpointer\"\n"
634 " linkParentField=\"Parents\"\n"
635 " >\n"
636 " </Field>\n"
637 "\n"
638 "\n"
639 "\n"
640 "\n"
641 "\n"
642 " <!-- MF, multi parent, public -->\n"
643 " <Field\n"
644 " name = \"fieldMFPub_ptr\"\n"
645 " type = \"FCDTestFC\"\n"
646 " cardinality = \"multi\"\n"
647 " visibility = \"external\"\n"
648 " defaultValue = \"0\"\n"
649 " access = \"public\"\n"
650 " category = \"pointer\"\n"
651 " >\n"
652 " </Field>\n"
653 "\n"
654 " <Field\n"
655 " name = \"fieldMFPub_weakptr\"\n"
656 " type = \"FCDTestFC\"\n"
657 " cardinality = \"multi\"\n"
658 " visibility = \"external\"\n"
659 " defaultValue = \"0\"\n"
660 " access = \"public\"\n"
661 " category = \"weakpointer\"\n"
662 " >\n"
663 " </Field>\n"
664 "\n"
665 " <Field\n"
666 " name = \"fieldMFPub_mpchildptr\"\n"
667 " type = \"FCDTestFC\"\n"
668 " cardinality = \"multi\"\n"
669 " visibility = \"external\"\n"
670 " defaultValue = \"0\"\n"
671 " access = \"public\"\n"
672 " category = \"childpointer\"\n"
673 " linkParentField=\"Parents\"\n"
674 " >\n"
675 " </Field>\n"
676 "\n"
677 "\n"
678 "\n"
679 "\n"
680 " <!-- MF, multi parent, protected -->\n"
681 "\n"
682 " <Field\n"
683 " name = \"fieldMFPro_ptr\"\n"
684 " type = \"FCDTestFC\"\n"
685 " cardinality = \"multi\"\n"
686 " visibility = \"external\"\n"
687 " defaultValue = \"0\"\n"
688 " access = \"protected\"\n"
689 " category = \"pointer\"\n"
690 " >\n"
691 " </Field>\n"
692 "\n"
693 " <Field\n"
694 " name = \"fieldMFPro_weakptr\"\n"
695 " type = \"FCDTestFC\"\n"
696 " cardinality = \"multi\"\n"
697 " visibility = \"external\"\n"
698 " defaultValue = \"0\"\n"
699 " access = \"protected\"\n"
700 " category = \"weakpointer\"\n"
701 " >\n"
702 " </Field>\n"
703 "\n"
704 " <Field\n"
705 " name = \"fieldMFPro_mpchildptr\"\n"
706 " type = \"FCDTestFC\"\n"
707 " cardinality = \"multi\"\n"
708 " visibility = \"external\"\n"
709 " defaultValue = \"0\"\n"
710 " access = \"protected\"\n"
711 " category = \"childpointer\"\n"
712 " linkParentField=\"Parents\"\n"
713 " >\n"
714 " </Field>\n"
715 "\n"
716 "\n"
717 "\n"
718 "\n"
719 " <!-- MF, multi parent, none -->\n"
720 " <Field\n"
721 " name = \"fieldMFNo_ptr\"\n"
722 " type = \"FCDTestFC\"\n"
723 " cardinality = \"multi\"\n"
724 " visibility = \"external\"\n"
725 " defaultValue = \"0\"\n"
726 " access = \"none\"\n"
727 " category = \"pointer\"\n"
728 " >\n"
729 " </Field>\n"
730 "\n"
731 " <Field\n"
732 " name = \"fieldMFNo_weakptr\"\n"
733 " type = \"FCDTestFC\"\n"
734 " cardinality = \"multi\"\n"
735 " visibility = \"external\"\n"
736 " defaultValue = \"0\"\n"
737 " access = \"none\"\n"
738 " category = \"weakpointer\"\n"
739 " >\n"
740 " </Field>\n"
741 "\n"
742 " <Field\n"
743 " name = \"fieldMFNo_mpchildptr\"\n"
744 " type = \"FCDTestFC\"\n"
745 " cardinality = \"multi\"\n"
746 " visibility = \"external\"\n"
747 " defaultValue = \"0\"\n"
748 " access = \"none\"\n"
749 " category = \"childpointer\"\n"
750 " linkParentField=\"Parents\"\n"
751 " >\n"
752 " </Field>\n"
753 "\n"
754 "\n"
755 "\n"
756 "\n"
757 " <!-- SF, single parent, public -->\n"
758 "\n"
759 " <Field\n"
760 " name = \"fieldSFPub_spchildptr\"\n"
761 " type = \"FCDSParTestFC\"\n"
762 " cardinality = \"single\"\n"
763 " visibility = \"external\"\n"
764 " defaultValue = \"0\"\n"
765 " access = \"public\"\n"
766 " category = \"childpointer\"\n"
767 " linkParentField=\"Parent\"\n"
768 " >\n"
769 " </Field>\n"
770 "\n"
771 " <!-- SF, single parent, protected -->\n"
772 "\n"
773 " <Field\n"
774 " name = \"fieldSFPro_spchildptr\"\n"
775 " type = \"FCDSParTestFC\"\n"
776 " cardinality = \"single\"\n"
777 " visibility = \"external\"\n"
778 " defaultValue = \"0\"\n"
779 " access = \"protected\"\n"
780 " category = \"childpointer\"\n"
781 " linkParentField=\"Parent\"\n"
782 " >\n"
783 " </Field>\n"
784 "\n"
785 "\n"
786 " <!-- SF, single parent, none -->\n"
787 "\n"
788 " <Field\n"
789 " name = \"fieldSFNo_spchildptr\"\n"
790 " type = \"FCDSParTestFC\"\n"
791 " cardinality = \"single\"\n"
792 " visibility = \"external\"\n"
793 " defaultValue = \"0\"\n"
794 " access = \"none\"\n"
795 " category = \"childpointer\"\n"
796 " linkParentField=\"Parent\"\n"
797 " >\n"
798 " </Field>\n"
799 "\n"
800 "\n"
801 " <!-- MF, single parent, public -->\n"
802 "\n"
803 " <Field\n"
804 " name = \"fieldMFPub_spchildptr\"\n"
805 " type = \"FCDSParTestFC\"\n"
806 " cardinality = \"multi\"\n"
807 " visibility = \"external\"\n"
808 " defaultValue = \"0\"\n"
809 " access = \"public\"\n"
810 " category = \"childpointer\"\n"
811 " linkParentField=\"Parent\"\n"
812 " >\n"
813 " </Field>\n"
814 "\n"
815 " <!-- MF, single parent, protected -->\n"
816 "\n"
817 " <Field\n"
818 " name = \"fieldMFPro_spchildptr\"\n"
819 " type = \"FCDSParTestFC\"\n"
820 " cardinality = \"multi\"\n"
821 " visibility = \"external\"\n"
822 " defaultValue = \"0\"\n"
823 " access = \"protected\"\n"
824 " category = \"childpointer\"\n"
825 " linkParentField=\"Parent\"\n"
826 " >\n"
827 " </Field>\n"
828 "\n"
829 "\n"
830 " <!-- MF, multi parent, none -->\n"
831 "\n"
832 " <Field\n"
833 " name = \"fieldMFNo_spchildptr\"\n"
834 " type = \"FCDSParTestFC\"\n"
835 " cardinality = \"multi\"\n"
836 " visibility = \"external\"\n"
837 " defaultValue = \"0\"\n"
838 " access = \"none\"\n"
839 " category = \"childpointer\"\n"
840 " linkParentField=\"Parent\"\n"
841 " >\n"
842 " </Field>\n"
843 "\n"
844 "</FieldContainer>\n",
848 /*------------------------------ get -----------------------------------*/
850 FieldContainerType &FCDPtrTestFCBase::getType(void)
852 return _type;
855 const FieldContainerType &FCDPtrTestFCBase::getType(void) const
857 return _type;
860 UInt32 FCDPtrTestFCBase::getContainerSize(void) const
862 return sizeof(FCDPtrTestFC);
865 /*------------------------- decorator get ------------------------------*/
868 //! Get the FCDPtrTestFC::_sfFieldSFPub_ptr field.
869 const SFUnrecFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPub_ptr(void) const
871 return &_sfFieldSFPub_ptr;
874 SFUnrecFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPub_ptr (void)
876 editSField(FieldSFPub_ptrFieldMask);
878 return &_sfFieldSFPub_ptr;
881 //! Get the FCDPtrTestFC::_sfFieldSFPub_weakptr field.
882 const SFWeakFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPub_weakptr(void) const
884 return &_sfFieldSFPub_weakptr;
887 SFWeakFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPub_weakptr(void)
889 editSField(FieldSFPub_weakptrFieldMask);
891 return &_sfFieldSFPub_weakptr;
894 //! Get the FCDPtrTestFC::_sfFieldSFPub_mpchildptr field.
895 const SFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPub_mpchildptr(void) const
897 return &_sfFieldSFPub_mpchildptr;
900 SFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPub_mpchildptr(void)
902 editSField(FieldSFPub_mpchildptrFieldMask);
904 return &_sfFieldSFPub_mpchildptr;
907 //! Get the FCDPtrTestFC::_sfFieldSFPro_ptr field.
908 const SFUnrecFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPro_ptr(void) const
910 return &_sfFieldSFPro_ptr;
913 SFUnrecFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPro_ptr (void)
915 editSField(FieldSFPro_ptrFieldMask);
917 return &_sfFieldSFPro_ptr;
920 //! Get the FCDPtrTestFC::_sfFieldSFPro_weakptr field.
921 const SFWeakFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPro_weakptr(void) const
923 return &_sfFieldSFPro_weakptr;
926 SFWeakFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPro_weakptr(void)
928 editSField(FieldSFPro_weakptrFieldMask);
930 return &_sfFieldSFPro_weakptr;
933 //! Get the FCDPtrTestFC::_sfFieldSFPro_mpchildptr field.
934 const SFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPro_mpchildptr(void) const
936 return &_sfFieldSFPro_mpchildptr;
939 SFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPro_mpchildptr(void)
941 editSField(FieldSFPro_mpchildptrFieldMask);
943 return &_sfFieldSFPro_mpchildptr;
949 //! Get the FCDPtrTestFC::_mfFieldMFPub_ptr field.
950 const MFUnrecFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPub_ptr(void) const
952 return &_mfFieldMFPub_ptr;
955 MFUnrecFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPub_ptr (void)
957 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
959 return &_mfFieldMFPub_ptr;
962 //! Get the FCDPtrTestFC::_mfFieldMFPub_weakptr field.
963 const MFWeakFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPub_weakptr(void) const
965 return &_mfFieldMFPub_weakptr;
968 MFWeakFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPub_weakptr(void)
970 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
972 return &_mfFieldMFPub_weakptr;
975 //! Get the FCDPtrTestFC::_mfFieldMFPub_mpchildptr field.
976 const MFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPub_mpchildptr(void) const
978 return &_mfFieldMFPub_mpchildptr;
981 MFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPub_mpchildptr(void)
983 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
985 return &_mfFieldMFPub_mpchildptr;
988 //! Get the FCDPtrTestFC::_mfFieldMFPro_ptr field.
989 const MFUnrecFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPro_ptr(void) const
991 return &_mfFieldMFPro_ptr;
994 MFUnrecFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPro_ptr (void)
996 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
998 return &_mfFieldMFPro_ptr;
1001 //! Get the FCDPtrTestFC::_mfFieldMFPro_weakptr field.
1002 const MFWeakFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPro_weakptr(void) const
1004 return &_mfFieldMFPro_weakptr;
1007 MFWeakFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPro_weakptr(void)
1009 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1011 return &_mfFieldMFPro_weakptr;
1014 //! Get the FCDPtrTestFC::_mfFieldMFPro_mpchildptr field.
1015 const MFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPro_mpchildptr(void) const
1017 return &_mfFieldMFPro_mpchildptr;
1020 MFUnrecChildFCDTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPro_mpchildptr(void)
1022 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1024 return &_mfFieldMFPro_mpchildptr;
1030 //! Get the FCDPtrTestFC::_sfFieldSFPub_spchildptr field.
1031 const SFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPub_spchildptr(void) const
1033 return &_sfFieldSFPub_spchildptr;
1036 SFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPub_spchildptr(void)
1038 editSField(FieldSFPub_spchildptrFieldMask);
1040 return &_sfFieldSFPub_spchildptr;
1043 //! Get the FCDPtrTestFC::_sfFieldSFPro_spchildptr field.
1044 const SFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::getSFFieldSFPro_spchildptr(void) const
1046 return &_sfFieldSFPro_spchildptr;
1049 SFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::editSFFieldSFPro_spchildptr(void)
1051 editSField(FieldSFPro_spchildptrFieldMask);
1053 return &_sfFieldSFPro_spchildptr;
1057 //! Get the FCDPtrTestFC::_mfFieldMFPub_spchildptr field.
1058 const MFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPub_spchildptr(void) const
1060 return &_mfFieldMFPub_spchildptr;
1063 MFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPub_spchildptr(void)
1065 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1067 return &_mfFieldMFPub_spchildptr;
1070 //! Get the FCDPtrTestFC::_mfFieldMFPro_spchildptr field.
1071 const MFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::getMFFieldMFPro_spchildptr(void) const
1073 return &_mfFieldMFPro_spchildptr;
1076 MFUnrecChildFCDSParTestFCPtr *FCDPtrTestFCBase::editMFFieldMFPro_spchildptr(void)
1078 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1080 return &_mfFieldMFPro_spchildptr;
1086 void FCDPtrTestFCBase::pushToFieldMFPub_ptr(FCDTestFC * const value)
1088 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
1090 _mfFieldMFPub_ptr.push_back(value);
1093 void FCDPtrTestFCBase::assignFieldMFPub_ptr(const MFUnrecFCDTestFCPtr &value)
1095 MFUnrecFCDTestFCPtr::const_iterator elemIt =
1096 value.begin();
1097 MFUnrecFCDTestFCPtr::const_iterator elemEnd =
1098 value.end ();
1100 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_ptr();
1102 while(elemIt != elemEnd)
1104 this->pushToFieldMFPub_ptr(*elemIt);
1106 ++elemIt;
1110 void FCDPtrTestFCBase::removeFromFieldMFPub_ptr(UInt32 uiIndex)
1112 if(uiIndex < _mfFieldMFPub_ptr.size())
1114 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
1116 _mfFieldMFPub_ptr.erase(uiIndex);
1120 void FCDPtrTestFCBase::removeObjFromFieldMFPub_ptr(FCDTestFC * const value)
1122 Int32 iElemIdx = _mfFieldMFPub_ptr.findIndex(value);
1124 if(iElemIdx != -1)
1126 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
1128 _mfFieldMFPub_ptr.erase(iElemIdx);
1131 void FCDPtrTestFCBase::clearFieldMFPub_ptr(void)
1133 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
1136 _mfFieldMFPub_ptr.clear();
1139 void FCDPtrTestFCBase::pushToFieldMFPub_weakptr(FCDTestFC * const value)
1141 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
1143 _mfFieldMFPub_weakptr.push_back(value);
1146 void FCDPtrTestFCBase::assignFieldMFPub_weakptr(const MFWeakFCDTestFCPtr &value)
1148 MFWeakFCDTestFCPtr::const_iterator elemIt =
1149 value.begin();
1150 MFWeakFCDTestFCPtr::const_iterator elemEnd =
1151 value.end ();
1153 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_weakptr();
1155 while(elemIt != elemEnd)
1157 this->pushToFieldMFPub_weakptr(*elemIt);
1159 ++elemIt;
1163 void FCDPtrTestFCBase::removeFromFieldMFPub_weakptr(UInt32 uiIndex)
1165 if(uiIndex < _mfFieldMFPub_weakptr.size())
1167 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
1169 _mfFieldMFPub_weakptr.erase(uiIndex);
1173 void FCDPtrTestFCBase::removeObjFromFieldMFPub_weakptr(FCDTestFC * const value)
1175 Int32 iElemIdx = _mfFieldMFPub_weakptr.findIndex(value);
1177 if(iElemIdx != -1)
1179 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
1181 _mfFieldMFPub_weakptr.erase(iElemIdx);
1184 void FCDPtrTestFCBase::clearFieldMFPub_weakptr(void)
1186 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
1189 _mfFieldMFPub_weakptr.clear();
1192 void FCDPtrTestFCBase::pushToFieldMFPub_mpchildptr(FCDTestFC * const value)
1194 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
1196 _mfFieldMFPub_mpchildptr.push_back(value);
1199 void FCDPtrTestFCBase::assignFieldMFPub_mpchildptr(const MFUnrecChildFCDTestFCPtr &value)
1201 MFUnrecChildFCDTestFCPtr::const_iterator elemIt =
1202 value.begin();
1203 MFUnrecChildFCDTestFCPtr::const_iterator elemEnd =
1204 value.end ();
1206 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_mpchildptr();
1208 while(elemIt != elemEnd)
1210 this->pushToFieldMFPub_mpchildptr(*elemIt);
1212 ++elemIt;
1216 void FCDPtrTestFCBase::removeFromFieldMFPub_mpchildptr(UInt32 uiIndex)
1218 if(uiIndex < _mfFieldMFPub_mpchildptr.size())
1220 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
1222 _mfFieldMFPub_mpchildptr.erase(uiIndex);
1226 void FCDPtrTestFCBase::removeObjFromFieldMFPub_mpchildptr(FCDTestFC * const value)
1228 Int32 iElemIdx = _mfFieldMFPub_mpchildptr.findIndex(value);
1230 if(iElemIdx != -1)
1232 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
1234 _mfFieldMFPub_mpchildptr.erase(iElemIdx);
1237 void FCDPtrTestFCBase::clearFieldMFPub_mpchildptr(void)
1239 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
1242 _mfFieldMFPub_mpchildptr.clear();
1245 void FCDPtrTestFCBase::pushToFieldMFPro_ptr(FCDTestFC * const value)
1247 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
1249 _mfFieldMFPro_ptr.push_back(value);
1252 void FCDPtrTestFCBase::assignFieldMFPro_ptr(const MFUnrecFCDTestFCPtr &value)
1254 MFUnrecFCDTestFCPtr::const_iterator elemIt =
1255 value.begin();
1256 MFUnrecFCDTestFCPtr::const_iterator elemEnd =
1257 value.end ();
1259 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_ptr();
1261 while(elemIt != elemEnd)
1263 this->pushToFieldMFPro_ptr(*elemIt);
1265 ++elemIt;
1269 void FCDPtrTestFCBase::removeFromFieldMFPro_ptr(UInt32 uiIndex)
1271 if(uiIndex < _mfFieldMFPro_ptr.size())
1273 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
1275 _mfFieldMFPro_ptr.erase(uiIndex);
1279 void FCDPtrTestFCBase::removeObjFromFieldMFPro_ptr(FCDTestFC * const value)
1281 Int32 iElemIdx = _mfFieldMFPro_ptr.findIndex(value);
1283 if(iElemIdx != -1)
1285 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
1287 _mfFieldMFPro_ptr.erase(iElemIdx);
1290 void FCDPtrTestFCBase::clearFieldMFPro_ptr(void)
1292 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
1295 _mfFieldMFPro_ptr.clear();
1298 void FCDPtrTestFCBase::pushToFieldMFPro_weakptr(FCDTestFC * const value)
1300 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1302 _mfFieldMFPro_weakptr.push_back(value);
1305 void FCDPtrTestFCBase::assignFieldMFPro_weakptr(const MFWeakFCDTestFCPtr &value)
1307 MFWeakFCDTestFCPtr::const_iterator elemIt =
1308 value.begin();
1309 MFWeakFCDTestFCPtr::const_iterator elemEnd =
1310 value.end ();
1312 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_weakptr();
1314 while(elemIt != elemEnd)
1316 this->pushToFieldMFPro_weakptr(*elemIt);
1318 ++elemIt;
1322 void FCDPtrTestFCBase::removeFromFieldMFPro_weakptr(UInt32 uiIndex)
1324 if(uiIndex < _mfFieldMFPro_weakptr.size())
1326 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1328 _mfFieldMFPro_weakptr.erase(uiIndex);
1332 void FCDPtrTestFCBase::removeObjFromFieldMFPro_weakptr(FCDTestFC * const value)
1334 Int32 iElemIdx = _mfFieldMFPro_weakptr.findIndex(value);
1336 if(iElemIdx != -1)
1338 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1340 _mfFieldMFPro_weakptr.erase(iElemIdx);
1343 void FCDPtrTestFCBase::clearFieldMFPro_weakptr(void)
1345 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1348 _mfFieldMFPro_weakptr.clear();
1351 void FCDPtrTestFCBase::pushToFieldMFPro_mpchildptr(FCDTestFC * const value)
1353 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1355 _mfFieldMFPro_mpchildptr.push_back(value);
1358 void FCDPtrTestFCBase::assignFieldMFPro_mpchildptr(const MFUnrecChildFCDTestFCPtr &value)
1360 MFUnrecChildFCDTestFCPtr::const_iterator elemIt =
1361 value.begin();
1362 MFUnrecChildFCDTestFCPtr::const_iterator elemEnd =
1363 value.end ();
1365 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_mpchildptr();
1367 while(elemIt != elemEnd)
1369 this->pushToFieldMFPro_mpchildptr(*elemIt);
1371 ++elemIt;
1375 void FCDPtrTestFCBase::removeFromFieldMFPro_mpchildptr(UInt32 uiIndex)
1377 if(uiIndex < _mfFieldMFPro_mpchildptr.size())
1379 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1381 _mfFieldMFPro_mpchildptr.erase(uiIndex);
1385 void FCDPtrTestFCBase::removeObjFromFieldMFPro_mpchildptr(FCDTestFC * const value)
1387 Int32 iElemIdx = _mfFieldMFPro_mpchildptr.findIndex(value);
1389 if(iElemIdx != -1)
1391 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1393 _mfFieldMFPro_mpchildptr.erase(iElemIdx);
1396 void FCDPtrTestFCBase::clearFieldMFPro_mpchildptr(void)
1398 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1401 _mfFieldMFPro_mpchildptr.clear();
1404 void FCDPtrTestFCBase::pushToFieldMFPub_spchildptr(FCDSParTestFC * const value)
1406 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1408 _mfFieldMFPub_spchildptr.push_back(value);
1411 void FCDPtrTestFCBase::assignFieldMFPub_spchildptr(const MFUnrecChildFCDSParTestFCPtr &value)
1413 MFUnrecChildFCDSParTestFCPtr::const_iterator elemIt =
1414 value.begin();
1415 MFUnrecChildFCDSParTestFCPtr::const_iterator elemEnd =
1416 value.end ();
1418 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_spchildptr();
1420 while(elemIt != elemEnd)
1422 this->pushToFieldMFPub_spchildptr(*elemIt);
1424 ++elemIt;
1428 void FCDPtrTestFCBase::removeFromFieldMFPub_spchildptr(UInt32 uiIndex)
1430 if(uiIndex < _mfFieldMFPub_spchildptr.size())
1432 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1434 _mfFieldMFPub_spchildptr.erase(uiIndex);
1438 void FCDPtrTestFCBase::removeObjFromFieldMFPub_spchildptr(FCDSParTestFC * const value)
1440 Int32 iElemIdx = _mfFieldMFPub_spchildptr.findIndex(value);
1442 if(iElemIdx != -1)
1444 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1446 _mfFieldMFPub_spchildptr.erase(iElemIdx);
1449 void FCDPtrTestFCBase::clearFieldMFPub_spchildptr(void)
1451 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1454 _mfFieldMFPub_spchildptr.clear();
1457 void FCDPtrTestFCBase::pushToFieldMFPro_spchildptr(FCDSParTestFC * const value)
1459 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1461 _mfFieldMFPro_spchildptr.push_back(value);
1464 void FCDPtrTestFCBase::assignFieldMFPro_spchildptr(const MFUnrecChildFCDSParTestFCPtr &value)
1466 MFUnrecChildFCDSParTestFCPtr::const_iterator elemIt =
1467 value.begin();
1468 MFUnrecChildFCDSParTestFCPtr::const_iterator elemEnd =
1469 value.end ();
1471 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_spchildptr();
1473 while(elemIt != elemEnd)
1475 this->pushToFieldMFPro_spchildptr(*elemIt);
1477 ++elemIt;
1481 void FCDPtrTestFCBase::removeFromFieldMFPro_spchildptr(UInt32 uiIndex)
1483 if(uiIndex < _mfFieldMFPro_spchildptr.size())
1485 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1487 _mfFieldMFPro_spchildptr.erase(uiIndex);
1491 void FCDPtrTestFCBase::removeObjFromFieldMFPro_spchildptr(FCDSParTestFC * const value)
1493 Int32 iElemIdx = _mfFieldMFPro_spchildptr.findIndex(value);
1495 if(iElemIdx != -1)
1497 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1499 _mfFieldMFPro_spchildptr.erase(iElemIdx);
1502 void FCDPtrTestFCBase::clearFieldMFPro_spchildptr(void)
1504 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1507 _mfFieldMFPro_spchildptr.clear();
1512 /*------------------------------ access -----------------------------------*/
1514 SizeT FCDPtrTestFCBase::getBinSize(ConstFieldMaskArg whichField)
1516 SizeT returnValue = Inherited::getBinSize(whichField);
1518 if(FieldBits::NoField != (FieldSFPub_ptrFieldMask & whichField))
1520 returnValue += _sfFieldSFPub_ptr.getBinSize();
1522 if(FieldBits::NoField != (FieldSFPub_weakptrFieldMask & whichField))
1524 returnValue += _sfFieldSFPub_weakptr.getBinSize();
1526 if(FieldBits::NoField != (FieldSFPub_mpchildptrFieldMask & whichField))
1528 returnValue += _sfFieldSFPub_mpchildptr.getBinSize();
1530 if(FieldBits::NoField != (FieldSFPro_ptrFieldMask & whichField))
1532 returnValue += _sfFieldSFPro_ptr.getBinSize();
1534 if(FieldBits::NoField != (FieldSFPro_weakptrFieldMask & whichField))
1536 returnValue += _sfFieldSFPro_weakptr.getBinSize();
1538 if(FieldBits::NoField != (FieldSFPro_mpchildptrFieldMask & whichField))
1540 returnValue += _sfFieldSFPro_mpchildptr.getBinSize();
1542 if(FieldBits::NoField != (FieldSFNo_ptrFieldMask & whichField))
1544 returnValue += _sfFieldSFNo_ptr.getBinSize();
1546 if(FieldBits::NoField != (FieldSFNo_weakptrFieldMask & whichField))
1548 returnValue += _sfFieldSFNo_weakptr.getBinSize();
1550 if(FieldBits::NoField != (FieldSFNo_mpchildptrFieldMask & whichField))
1552 returnValue += _sfFieldSFNo_mpchildptr.getBinSize();
1554 if(FieldBits::NoField != (FieldMFPub_ptrFieldMask & whichField))
1556 returnValue += _mfFieldMFPub_ptr.getBinSize();
1558 if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
1560 returnValue += _mfFieldMFPub_weakptr.getBinSize();
1562 if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
1564 returnValue += _mfFieldMFPub_mpchildptr.getBinSize();
1566 if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
1568 returnValue += _mfFieldMFPro_ptr.getBinSize();
1570 if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
1572 returnValue += _mfFieldMFPro_weakptr.getBinSize();
1574 if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
1576 returnValue += _mfFieldMFPro_mpchildptr.getBinSize();
1578 if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
1580 returnValue += _mfFieldMFNo_ptr.getBinSize();
1582 if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
1584 returnValue += _mfFieldMFNo_weakptr.getBinSize();
1586 if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
1588 returnValue += _mfFieldMFNo_mpchildptr.getBinSize();
1590 if(FieldBits::NoField != (FieldSFPub_spchildptrFieldMask & whichField))
1592 returnValue += _sfFieldSFPub_spchildptr.getBinSize();
1594 if(FieldBits::NoField != (FieldSFPro_spchildptrFieldMask & whichField))
1596 returnValue += _sfFieldSFPro_spchildptr.getBinSize();
1598 if(FieldBits::NoField != (FieldSFNo_spchildptrFieldMask & whichField))
1600 returnValue += _sfFieldSFNo_spchildptr.getBinSize();
1602 if(FieldBits::NoField != (FieldMFPub_spchildptrFieldMask & whichField))
1604 returnValue += _mfFieldMFPub_spchildptr.getBinSize();
1606 if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
1608 returnValue += _mfFieldMFPro_spchildptr.getBinSize();
1610 if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
1612 returnValue += _mfFieldMFNo_spchildptr.getBinSize();
1615 return returnValue;
1618 void FCDPtrTestFCBase::copyToBin(BinaryDataHandler &pMem,
1619 ConstFieldMaskArg whichField)
1621 Inherited::copyToBin(pMem, whichField);
1623 if(FieldBits::NoField != (FieldSFPub_ptrFieldMask & whichField))
1625 _sfFieldSFPub_ptr.copyToBin(pMem);
1627 if(FieldBits::NoField != (FieldSFPub_weakptrFieldMask & whichField))
1629 _sfFieldSFPub_weakptr.copyToBin(pMem);
1631 if(FieldBits::NoField != (FieldSFPub_mpchildptrFieldMask & whichField))
1633 _sfFieldSFPub_mpchildptr.copyToBin(pMem);
1635 if(FieldBits::NoField != (FieldSFPro_ptrFieldMask & whichField))
1637 _sfFieldSFPro_ptr.copyToBin(pMem);
1639 if(FieldBits::NoField != (FieldSFPro_weakptrFieldMask & whichField))
1641 _sfFieldSFPro_weakptr.copyToBin(pMem);
1643 if(FieldBits::NoField != (FieldSFPro_mpchildptrFieldMask & whichField))
1645 _sfFieldSFPro_mpchildptr.copyToBin(pMem);
1647 if(FieldBits::NoField != (FieldSFNo_ptrFieldMask & whichField))
1649 _sfFieldSFNo_ptr.copyToBin(pMem);
1651 if(FieldBits::NoField != (FieldSFNo_weakptrFieldMask & whichField))
1653 _sfFieldSFNo_weakptr.copyToBin(pMem);
1655 if(FieldBits::NoField != (FieldSFNo_mpchildptrFieldMask & whichField))
1657 _sfFieldSFNo_mpchildptr.copyToBin(pMem);
1659 if(FieldBits::NoField != (FieldMFPub_ptrFieldMask & whichField))
1661 _mfFieldMFPub_ptr.copyToBin(pMem);
1663 if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
1665 _mfFieldMFPub_weakptr.copyToBin(pMem);
1667 if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
1669 _mfFieldMFPub_mpchildptr.copyToBin(pMem);
1671 if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
1673 _mfFieldMFPro_ptr.copyToBin(pMem);
1675 if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
1677 _mfFieldMFPro_weakptr.copyToBin(pMem);
1679 if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
1681 _mfFieldMFPro_mpchildptr.copyToBin(pMem);
1683 if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
1685 _mfFieldMFNo_ptr.copyToBin(pMem);
1687 if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
1689 _mfFieldMFNo_weakptr.copyToBin(pMem);
1691 if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
1693 _mfFieldMFNo_mpchildptr.copyToBin(pMem);
1695 if(FieldBits::NoField != (FieldSFPub_spchildptrFieldMask & whichField))
1697 _sfFieldSFPub_spchildptr.copyToBin(pMem);
1699 if(FieldBits::NoField != (FieldSFPro_spchildptrFieldMask & whichField))
1701 _sfFieldSFPro_spchildptr.copyToBin(pMem);
1703 if(FieldBits::NoField != (FieldSFNo_spchildptrFieldMask & whichField))
1705 _sfFieldSFNo_spchildptr.copyToBin(pMem);
1707 if(FieldBits::NoField != (FieldMFPub_spchildptrFieldMask & whichField))
1709 _mfFieldMFPub_spchildptr.copyToBin(pMem);
1711 if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
1713 _mfFieldMFPro_spchildptr.copyToBin(pMem);
1715 if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
1717 _mfFieldMFNo_spchildptr.copyToBin(pMem);
1721 void FCDPtrTestFCBase::copyFromBin(BinaryDataHandler &pMem,
1722 ConstFieldMaskArg whichField)
1724 Inherited::copyFromBin(pMem, whichField);
1726 if(FieldBits::NoField != (FieldSFPub_ptrFieldMask & whichField))
1728 editSField(FieldSFPub_ptrFieldMask);
1729 _sfFieldSFPub_ptr.copyFromBin(pMem);
1731 if(FieldBits::NoField != (FieldSFPub_weakptrFieldMask & whichField))
1733 editSField(FieldSFPub_weakptrFieldMask);
1734 _sfFieldSFPub_weakptr.copyFromBin(pMem);
1736 if(FieldBits::NoField != (FieldSFPub_mpchildptrFieldMask & whichField))
1738 editSField(FieldSFPub_mpchildptrFieldMask);
1739 _sfFieldSFPub_mpchildptr.copyFromBin(pMem);
1741 if(FieldBits::NoField != (FieldSFPro_ptrFieldMask & whichField))
1743 editSField(FieldSFPro_ptrFieldMask);
1744 _sfFieldSFPro_ptr.copyFromBin(pMem);
1746 if(FieldBits::NoField != (FieldSFPro_weakptrFieldMask & whichField))
1748 editSField(FieldSFPro_weakptrFieldMask);
1749 _sfFieldSFPro_weakptr.copyFromBin(pMem);
1751 if(FieldBits::NoField != (FieldSFPro_mpchildptrFieldMask & whichField))
1753 editSField(FieldSFPro_mpchildptrFieldMask);
1754 _sfFieldSFPro_mpchildptr.copyFromBin(pMem);
1756 if(FieldBits::NoField != (FieldSFNo_ptrFieldMask & whichField))
1758 editSField(FieldSFNo_ptrFieldMask);
1759 _sfFieldSFNo_ptr.copyFromBin(pMem);
1761 if(FieldBits::NoField != (FieldSFNo_weakptrFieldMask & whichField))
1763 editSField(FieldSFNo_weakptrFieldMask);
1764 _sfFieldSFNo_weakptr.copyFromBin(pMem);
1766 if(FieldBits::NoField != (FieldSFNo_mpchildptrFieldMask & whichField))
1768 editSField(FieldSFNo_mpchildptrFieldMask);
1769 _sfFieldSFNo_mpchildptr.copyFromBin(pMem);
1771 if(FieldBits::NoField != (FieldMFPub_ptrFieldMask & whichField))
1773 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
1774 _mfFieldMFPub_ptr.copyFromBin(pMem);
1776 if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
1778 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
1779 _mfFieldMFPub_weakptr.copyFromBin(pMem);
1781 if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
1783 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
1784 _mfFieldMFPub_mpchildptr.copyFromBin(pMem);
1786 if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
1788 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
1789 _mfFieldMFPro_ptr.copyFromBin(pMem);
1791 if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
1793 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
1794 _mfFieldMFPro_weakptr.copyFromBin(pMem);
1796 if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
1798 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
1799 _mfFieldMFPro_mpchildptr.copyFromBin(pMem);
1801 if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
1803 editMField(FieldMFNo_ptrFieldMask, _mfFieldMFNo_ptr);
1804 _mfFieldMFNo_ptr.copyFromBin(pMem);
1806 if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
1808 editMField(FieldMFNo_weakptrFieldMask, _mfFieldMFNo_weakptr);
1809 _mfFieldMFNo_weakptr.copyFromBin(pMem);
1811 if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
1813 editMField(FieldMFNo_mpchildptrFieldMask, _mfFieldMFNo_mpchildptr);
1814 _mfFieldMFNo_mpchildptr.copyFromBin(pMem);
1816 if(FieldBits::NoField != (FieldSFPub_spchildptrFieldMask & whichField))
1818 editSField(FieldSFPub_spchildptrFieldMask);
1819 _sfFieldSFPub_spchildptr.copyFromBin(pMem);
1821 if(FieldBits::NoField != (FieldSFPro_spchildptrFieldMask & whichField))
1823 editSField(FieldSFPro_spchildptrFieldMask);
1824 _sfFieldSFPro_spchildptr.copyFromBin(pMem);
1826 if(FieldBits::NoField != (FieldSFNo_spchildptrFieldMask & whichField))
1828 editSField(FieldSFNo_spchildptrFieldMask);
1829 _sfFieldSFNo_spchildptr.copyFromBin(pMem);
1831 if(FieldBits::NoField != (FieldMFPub_spchildptrFieldMask & whichField))
1833 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
1834 _mfFieldMFPub_spchildptr.copyFromBin(pMem);
1836 if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
1838 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
1839 _mfFieldMFPro_spchildptr.copyFromBin(pMem);
1841 if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
1843 editMField(FieldMFNo_spchildptrFieldMask, _mfFieldMFNo_spchildptr);
1844 _mfFieldMFNo_spchildptr.copyFromBin(pMem);
1848 //! create a new instance of the class
1849 FCDPtrTestFCTransitPtr FCDPtrTestFCBase::createLocal(BitVector bFlags)
1851 FCDPtrTestFCTransitPtr fc;
1853 if(getClassType().getPrototype() != NULL)
1855 FieldContainerTransitPtr tmpPtr =
1856 getClassType().getPrototype()-> shallowCopyLocal(bFlags);
1858 fc = dynamic_pointer_cast<FCDPtrTestFC>(tmpPtr);
1861 return fc;
1864 //! create a new instance of the class, copy the container flags
1865 FCDPtrTestFCTransitPtr FCDPtrTestFCBase::createDependent(BitVector bFlags)
1867 FCDPtrTestFCTransitPtr fc;
1869 if(getClassType().getPrototype() != NULL)
1871 FieldContainerTransitPtr tmpPtr =
1872 getClassType().getPrototype()-> shallowCopyDependent(bFlags);
1874 fc = dynamic_pointer_cast<FCDPtrTestFC>(tmpPtr);
1877 return fc;
1880 //! create a new instance of the class
1881 FCDPtrTestFCTransitPtr FCDPtrTestFCBase::create(void)
1883 FCDPtrTestFCTransitPtr fc;
1885 if(getClassType().getPrototype() != NULL)
1887 FieldContainerTransitPtr tmpPtr =
1888 getClassType().getPrototype()-> shallowCopy();
1890 fc = dynamic_pointer_cast<FCDPtrTestFC>(tmpPtr);
1893 return fc;
1896 FCDPtrTestFC *FCDPtrTestFCBase::createEmptyLocal(BitVector bFlags)
1898 FCDPtrTestFC *returnValue;
1900 newPtr<FCDPtrTestFC>(returnValue, bFlags);
1902 returnValue->_pFieldFlags->_bNamespaceMask &= ~bFlags;
1904 return returnValue;
1907 //! create an empty new instance of the class, do not copy the prototype
1908 FCDPtrTestFC *FCDPtrTestFCBase::createEmpty(void)
1910 FCDPtrTestFC *returnValue;
1912 newPtr<FCDPtrTestFC>(returnValue, Thread::getCurrentLocalFlags());
1914 returnValue->_pFieldFlags->_bNamespaceMask &=
1915 ~Thread::getCurrentLocalFlags();
1917 return returnValue;
1921 FieldContainerTransitPtr FCDPtrTestFCBase::shallowCopyLocal(
1922 BitVector bFlags) const
1924 FCDPtrTestFC *tmpPtr;
1926 newPtr(tmpPtr, dynamic_cast<const FCDPtrTestFC *>(this), bFlags);
1928 FieldContainerTransitPtr returnValue(tmpPtr);
1930 tmpPtr->_pFieldFlags->_bNamespaceMask &= ~bFlags;
1932 return returnValue;
1935 FieldContainerTransitPtr FCDPtrTestFCBase::shallowCopyDependent(
1936 BitVector bFlags) const
1938 FCDPtrTestFC *tmpPtr;
1940 newPtr(tmpPtr, dynamic_cast<const FCDPtrTestFC *>(this), ~bFlags);
1942 FieldContainerTransitPtr returnValue(tmpPtr);
1944 tmpPtr->_pFieldFlags->_bNamespaceMask = bFlags;
1946 return returnValue;
1949 FieldContainerTransitPtr FCDPtrTestFCBase::shallowCopy(void) const
1951 FCDPtrTestFC *tmpPtr;
1953 newPtr(tmpPtr,
1954 dynamic_cast<const FCDPtrTestFC *>(this),
1955 Thread::getCurrentLocalFlags());
1957 tmpPtr->_pFieldFlags->_bNamespaceMask &= ~Thread::getCurrentLocalFlags();
1959 FieldContainerTransitPtr returnValue(tmpPtr);
1961 return returnValue;
1967 /*------------------------- constructors ----------------------------------*/
1969 FCDPtrTestFCBase::FCDPtrTestFCBase(void) :
1970 Inherited(),
1971 _sfFieldSFPub_ptr (0),
1972 _sfFieldSFPub_weakptr (0),
1973 _sfFieldSFPub_mpchildptr (this,
1974 FieldSFPub_mpchildptrFieldId,
1975 FCDTestFC::ParentsFieldId),
1976 _sfFieldSFPro_ptr (0),
1977 _sfFieldSFPro_weakptr (0),
1978 _sfFieldSFPro_mpchildptr (this,
1979 FieldSFPro_mpchildptrFieldId,
1980 FCDTestFC::ParentsFieldId),
1981 _sfFieldSFNo_ptr (0),
1982 _sfFieldSFNo_weakptr (0),
1983 _sfFieldSFNo_mpchildptr (this,
1984 FieldSFNo_mpchildptrFieldId,
1985 FCDTestFC::ParentsFieldId),
1986 _mfFieldMFPub_ptr (),
1987 _mfFieldMFPub_weakptr (),
1988 _mfFieldMFPub_mpchildptr (this,
1989 FieldMFPub_mpchildptrFieldId,
1990 FCDTestFC::ParentsFieldId),
1991 _mfFieldMFPro_ptr (),
1992 _mfFieldMFPro_weakptr (),
1993 _mfFieldMFPro_mpchildptr (this,
1994 FieldMFPro_mpchildptrFieldId,
1995 FCDTestFC::ParentsFieldId),
1996 _mfFieldMFNo_ptr (),
1997 _mfFieldMFNo_weakptr (),
1998 _mfFieldMFNo_mpchildptr (this,
1999 FieldMFNo_mpchildptrFieldId,
2000 FCDTestFC::ParentsFieldId),
2001 _sfFieldSFPub_spchildptr (this,
2002 FieldSFPub_spchildptrFieldId,
2003 FCDSParTestFC::ParentFieldId),
2004 _sfFieldSFPro_spchildptr (this,
2005 FieldSFPro_spchildptrFieldId,
2006 FCDSParTestFC::ParentFieldId),
2007 _sfFieldSFNo_spchildptr (this,
2008 FieldSFNo_spchildptrFieldId,
2009 FCDSParTestFC::ParentFieldId),
2010 _mfFieldMFPub_spchildptr (this,
2011 FieldMFPub_spchildptrFieldId,
2012 FCDSParTestFC::ParentFieldId),
2013 _mfFieldMFPro_spchildptr (this,
2014 FieldMFPro_spchildptrFieldId,
2015 FCDSParTestFC::ParentFieldId),
2016 _mfFieldMFNo_spchildptr (this,
2017 FieldMFNo_spchildptrFieldId,
2018 FCDSParTestFC::ParentFieldId)
2022 FCDPtrTestFCBase::FCDPtrTestFCBase(const FCDPtrTestFCBase &source) :
2023 Inherited(source),
2024 _sfFieldSFPub_ptr (NULL),
2025 _sfFieldSFPub_weakptr (NULL),
2026 _sfFieldSFPub_mpchildptr (this,
2027 FieldSFPub_mpchildptrFieldId,
2028 FCDTestFC::ParentsFieldId),
2029 _sfFieldSFPro_ptr (NULL),
2030 _sfFieldSFPro_weakptr (NULL),
2031 _sfFieldSFPro_mpchildptr (this,
2032 FieldSFPro_mpchildptrFieldId,
2033 FCDTestFC::ParentsFieldId),
2034 _sfFieldSFNo_ptr (NULL),
2035 _sfFieldSFNo_weakptr (NULL),
2036 _sfFieldSFNo_mpchildptr (this,
2037 FieldSFNo_mpchildptrFieldId,
2038 FCDTestFC::ParentsFieldId),
2039 _mfFieldMFPub_ptr (),
2040 _mfFieldMFPub_weakptr (),
2041 _mfFieldMFPub_mpchildptr (this,
2042 FieldMFPub_mpchildptrFieldId,
2043 FCDTestFC::ParentsFieldId),
2044 _mfFieldMFPro_ptr (),
2045 _mfFieldMFPro_weakptr (),
2046 _mfFieldMFPro_mpchildptr (this,
2047 FieldMFPro_mpchildptrFieldId,
2048 FCDTestFC::ParentsFieldId),
2049 _mfFieldMFNo_ptr (),
2050 _mfFieldMFNo_weakptr (),
2051 _mfFieldMFNo_mpchildptr (this,
2052 FieldMFNo_mpchildptrFieldId,
2053 FCDTestFC::ParentsFieldId),
2054 _sfFieldSFPub_spchildptr (this,
2055 FieldSFPub_spchildptrFieldId,
2056 FCDSParTestFC::ParentFieldId),
2057 _sfFieldSFPro_spchildptr (this,
2058 FieldSFPro_spchildptrFieldId,
2059 FCDSParTestFC::ParentFieldId),
2060 _sfFieldSFNo_spchildptr (this,
2061 FieldSFNo_spchildptrFieldId,
2062 FCDSParTestFC::ParentFieldId),
2063 _mfFieldMFPub_spchildptr (this,
2064 FieldMFPub_spchildptrFieldId,
2065 FCDSParTestFC::ParentFieldId),
2066 _mfFieldMFPro_spchildptr (this,
2067 FieldMFPro_spchildptrFieldId,
2068 FCDSParTestFC::ParentFieldId),
2069 _mfFieldMFNo_spchildptr (this,
2070 FieldMFNo_spchildptrFieldId,
2071 FCDSParTestFC::ParentFieldId)
2076 /*-------------------------- destructors ----------------------------------*/
2078 FCDPtrTestFCBase::~FCDPtrTestFCBase(void)
2082 /*-------------------------------------------------------------------------*/
2083 /* Child linking */
2085 bool FCDPtrTestFCBase::unlinkChild(
2086 FieldContainer * const pChild,
2087 UInt16 const childFieldId)
2089 if(childFieldId == FieldSFPub_mpchildptrFieldId)
2091 FCDTestFC * pTypedChild =
2092 dynamic_cast<FCDTestFC *>(pChild);
2094 if(pTypedChild != NULL)
2096 if(_sfFieldSFPub_mpchildptr.getValue() == pTypedChild)
2098 editSField(FieldSFPub_mpchildptrFieldMask);
2100 _sfFieldSFPub_mpchildptr.setValue(NULL);
2102 return true;
2105 SWARNING << "Parent ([" << this
2106 << "] id [" << this->getId()
2107 << "] type [" << this->getType().getCName()
2108 << "] childFieldId [" << childFieldId
2109 << "]) - Child ([" << pChild
2110 << "] id [" << pChild->getId()
2111 << "] type [" << pChild->getType().getCName()
2112 << "]): link inconsistent!"
2113 << std::endl;
2115 return false;
2118 return false;
2121 if(childFieldId == FieldSFPro_mpchildptrFieldId)
2123 FCDTestFC * pTypedChild =
2124 dynamic_cast<FCDTestFC *>(pChild);
2126 if(pTypedChild != NULL)
2128 if(_sfFieldSFPro_mpchildptr.getValue() == pTypedChild)
2130 editSField(FieldSFPro_mpchildptrFieldMask);
2132 _sfFieldSFPro_mpchildptr.setValue(NULL);
2134 return true;
2137 SWARNING << "Parent ([" << this
2138 << "] id [" << this->getId()
2139 << "] type [" << this->getType().getCName()
2140 << "] childFieldId [" << childFieldId
2141 << "]) - Child ([" << pChild
2142 << "] id [" << pChild->getId()
2143 << "] type [" << pChild->getType().getCName()
2144 << "]): link inconsistent!"
2145 << std::endl;
2147 return false;
2150 return false;
2153 if(childFieldId == FieldSFNo_mpchildptrFieldId)
2155 FCDTestFC * pTypedChild =
2156 dynamic_cast<FCDTestFC *>(pChild);
2158 if(pTypedChild != NULL)
2160 if(_sfFieldSFNo_mpchildptr.getValue() == pTypedChild)
2162 editSField(FieldSFNo_mpchildptrFieldMask);
2164 _sfFieldSFNo_mpchildptr.setValue(NULL);
2166 return true;
2169 SWARNING << "Parent ([" << this
2170 << "] id [" << this->getId()
2171 << "] type [" << this->getType().getCName()
2172 << "] childFieldId [" << childFieldId
2173 << "]) - Child ([" << pChild
2174 << "] id [" << pChild->getId()
2175 << "] type [" << pChild->getType().getCName()
2176 << "]): link inconsistent!"
2177 << std::endl;
2179 return false;
2182 return false;
2185 if(childFieldId == FieldMFPub_mpchildptrFieldId)
2187 FCDTestFC * pTypedChild =
2188 dynamic_cast<FCDTestFC *>(pChild);
2190 if(pTypedChild != NULL)
2192 Int32 iChildIdx = _mfFieldMFPub_mpchildptr.findIndex(pTypedChild);
2194 if(iChildIdx != -1)
2196 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
2198 _mfFieldMFPub_mpchildptr.erase(iChildIdx);
2200 return true;
2203 SWARNING << "Parent ([" << this
2204 << "] id [" << this->getId()
2205 << "] type [" << this->getType().getCName()
2206 << "] childFieldId [" << childFieldId
2207 << "]) - Child ([" << pChild
2208 << "] id [" << pChild->getId()
2209 << "] type [" << pChild->getType().getCName()
2210 << "]): link inconsistent!"
2211 << std::endl;
2213 return false;
2216 return false;
2219 if(childFieldId == FieldMFPro_mpchildptrFieldId)
2221 FCDTestFC * pTypedChild =
2222 dynamic_cast<FCDTestFC *>(pChild);
2224 if(pTypedChild != NULL)
2226 Int32 iChildIdx = _mfFieldMFPro_mpchildptr.findIndex(pTypedChild);
2228 if(iChildIdx != -1)
2230 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
2232 _mfFieldMFPro_mpchildptr.erase(iChildIdx);
2234 return true;
2237 SWARNING << "Parent ([" << this
2238 << "] id [" << this->getId()
2239 << "] type [" << this->getType().getCName()
2240 << "] childFieldId [" << childFieldId
2241 << "]) - Child ([" << pChild
2242 << "] id [" << pChild->getId()
2243 << "] type [" << pChild->getType().getCName()
2244 << "]): link inconsistent!"
2245 << std::endl;
2247 return false;
2250 return false;
2253 if(childFieldId == FieldMFNo_mpchildptrFieldId)
2255 FCDTestFC * pTypedChild =
2256 dynamic_cast<FCDTestFC *>(pChild);
2258 if(pTypedChild != NULL)
2260 Int32 iChildIdx = _mfFieldMFNo_mpchildptr.findIndex(pTypedChild);
2262 if(iChildIdx != -1)
2264 editMField(FieldMFNo_mpchildptrFieldMask, _mfFieldMFNo_mpchildptr);
2266 _mfFieldMFNo_mpchildptr.erase(iChildIdx);
2268 return true;
2271 SWARNING << "Parent ([" << this
2272 << "] id [" << this->getId()
2273 << "] type [" << this->getType().getCName()
2274 << "] childFieldId [" << childFieldId
2275 << "]) - Child ([" << pChild
2276 << "] id [" << pChild->getId()
2277 << "] type [" << pChild->getType().getCName()
2278 << "]): link inconsistent!"
2279 << std::endl;
2281 return false;
2284 return false;
2287 if(childFieldId == FieldSFPub_spchildptrFieldId)
2289 FCDSParTestFC * pTypedChild =
2290 dynamic_cast<FCDSParTestFC *>(pChild);
2292 if(pTypedChild != NULL)
2294 if(_sfFieldSFPub_spchildptr.getValue() == pTypedChild)
2296 editSField(FieldSFPub_spchildptrFieldMask);
2298 _sfFieldSFPub_spchildptr.setValue(NULL);
2300 return true;
2303 SWARNING << "Parent ([" << this
2304 << "] id [" << this->getId()
2305 << "] type [" << this->getType().getCName()
2306 << "] childFieldId [" << childFieldId
2307 << "]) - Child ([" << pChild
2308 << "] id [" << pChild->getId()
2309 << "] type [" << pChild->getType().getCName()
2310 << "]): link inconsistent!"
2311 << std::endl;
2313 return false;
2316 return false;
2319 if(childFieldId == FieldSFPro_spchildptrFieldId)
2321 FCDSParTestFC * pTypedChild =
2322 dynamic_cast<FCDSParTestFC *>(pChild);
2324 if(pTypedChild != NULL)
2326 if(_sfFieldSFPro_spchildptr.getValue() == pTypedChild)
2328 editSField(FieldSFPro_spchildptrFieldMask);
2330 _sfFieldSFPro_spchildptr.setValue(NULL);
2332 return true;
2335 SWARNING << "Parent ([" << this
2336 << "] id [" << this->getId()
2337 << "] type [" << this->getType().getCName()
2338 << "] childFieldId [" << childFieldId
2339 << "]) - Child ([" << pChild
2340 << "] id [" << pChild->getId()
2341 << "] type [" << pChild->getType().getCName()
2342 << "]): link inconsistent!"
2343 << std::endl;
2345 return false;
2348 return false;
2351 if(childFieldId == FieldSFNo_spchildptrFieldId)
2353 FCDSParTestFC * pTypedChild =
2354 dynamic_cast<FCDSParTestFC *>(pChild);
2356 if(pTypedChild != NULL)
2358 if(_sfFieldSFNo_spchildptr.getValue() == pTypedChild)
2360 editSField(FieldSFNo_spchildptrFieldMask);
2362 _sfFieldSFNo_spchildptr.setValue(NULL);
2364 return true;
2367 SWARNING << "Parent ([" << this
2368 << "] id [" << this->getId()
2369 << "] type [" << this->getType().getCName()
2370 << "] childFieldId [" << childFieldId
2371 << "]) - Child ([" << pChild
2372 << "] id [" << pChild->getId()
2373 << "] type [" << pChild->getType().getCName()
2374 << "]): link inconsistent!"
2375 << std::endl;
2377 return false;
2380 return false;
2383 if(childFieldId == FieldMFPub_spchildptrFieldId)
2385 FCDSParTestFC * pTypedChild =
2386 dynamic_cast<FCDSParTestFC *>(pChild);
2388 if(pTypedChild != NULL)
2390 Int32 iChildIdx = _mfFieldMFPub_spchildptr.findIndex(pTypedChild);
2392 if(iChildIdx != -1)
2394 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
2396 _mfFieldMFPub_spchildptr.erase(iChildIdx);
2398 return true;
2401 SWARNING << "Parent ([" << this
2402 << "] id [" << this->getId()
2403 << "] type [" << this->getType().getCName()
2404 << "] childFieldId [" << childFieldId
2405 << "]) - Child ([" << pChild
2406 << "] id [" << pChild->getId()
2407 << "] type [" << pChild->getType().getCName()
2408 << "]): link inconsistent!"
2409 << std::endl;
2411 return false;
2414 return false;
2417 if(childFieldId == FieldMFPro_spchildptrFieldId)
2419 FCDSParTestFC * pTypedChild =
2420 dynamic_cast<FCDSParTestFC *>(pChild);
2422 if(pTypedChild != NULL)
2424 Int32 iChildIdx = _mfFieldMFPro_spchildptr.findIndex(pTypedChild);
2426 if(iChildIdx != -1)
2428 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
2430 _mfFieldMFPro_spchildptr.erase(iChildIdx);
2432 return true;
2435 SWARNING << "Parent ([" << this
2436 << "] id [" << this->getId()
2437 << "] type [" << this->getType().getCName()
2438 << "] childFieldId [" << childFieldId
2439 << "]) - Child ([" << pChild
2440 << "] id [" << pChild->getId()
2441 << "] type [" << pChild->getType().getCName()
2442 << "]): link inconsistent!"
2443 << std::endl;
2445 return false;
2448 return false;
2451 if(childFieldId == FieldMFNo_spchildptrFieldId)
2453 FCDSParTestFC * pTypedChild =
2454 dynamic_cast<FCDSParTestFC *>(pChild);
2456 if(pTypedChild != NULL)
2458 Int32 iChildIdx = _mfFieldMFNo_spchildptr.findIndex(pTypedChild);
2460 if(iChildIdx != -1)
2462 editMField(FieldMFNo_spchildptrFieldMask, _mfFieldMFNo_spchildptr);
2464 _mfFieldMFNo_spchildptr.erase(iChildIdx);
2466 return true;
2469 SWARNING << "Parent ([" << this
2470 << "] id [" << this->getId()
2471 << "] type [" << this->getType().getCName()
2472 << "] childFieldId [" << childFieldId
2473 << "]) - Child ([" << pChild
2474 << "] id [" << pChild->getId()
2475 << "] type [" << pChild->getType().getCName()
2476 << "]): link inconsistent!"
2477 << std::endl;
2479 return false;
2482 return false;
2486 return Inherited::unlinkChild(pChild, childFieldId);
2489 void FCDPtrTestFCBase::onCreate(const FCDPtrTestFC *source)
2491 Inherited::onCreate(source);
2493 if(source != NULL)
2495 FCDPtrTestFC *pThis = static_cast<FCDPtrTestFC *>(this);
2497 pThis->setFieldSFPub_ptr(source->getFieldSFPub_ptr());
2499 pThis->setFieldSFPub_weakptr(source->getFieldSFPub_weakptr());
2501 pThis->setFieldSFPub_mpchildptr(source->getFieldSFPub_mpchildptr());
2503 pThis->setFieldSFPro_ptr(source->getFieldSFPro_ptr());
2505 pThis->setFieldSFPro_weakptr(source->getFieldSFPro_weakptr());
2507 pThis->setFieldSFPro_mpchildptr(source->getFieldSFPro_mpchildptr());
2509 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrIt =
2510 source->_mfFieldMFPub_ptr.begin();
2511 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrEnd =
2512 source->_mfFieldMFPub_ptr.end ();
2514 while(FieldMFPub_ptrIt != FieldMFPub_ptrEnd)
2516 pThis->pushToFieldMFPub_ptr(*FieldMFPub_ptrIt);
2518 ++FieldMFPub_ptrIt;
2521 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrIt =
2522 source->_mfFieldMFPub_weakptr.begin();
2523 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrEnd =
2524 source->_mfFieldMFPub_weakptr.end ();
2526 while(FieldMFPub_weakptrIt != FieldMFPub_weakptrEnd)
2528 pThis->pushToFieldMFPub_weakptr(*FieldMFPub_weakptrIt);
2530 ++FieldMFPub_weakptrIt;
2533 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrIt =
2534 source->_mfFieldMFPub_mpchildptr.begin();
2535 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrEnd =
2536 source->_mfFieldMFPub_mpchildptr.end ();
2538 while(FieldMFPub_mpchildptrIt != FieldMFPub_mpchildptrEnd)
2540 pThis->pushToFieldMFPub_mpchildptr(*FieldMFPub_mpchildptrIt);
2542 ++FieldMFPub_mpchildptrIt;
2545 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrIt =
2546 source->_mfFieldMFPro_ptr.begin();
2547 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrEnd =
2548 source->_mfFieldMFPro_ptr.end ();
2550 while(FieldMFPro_ptrIt != FieldMFPro_ptrEnd)
2552 pThis->pushToFieldMFPro_ptr(*FieldMFPro_ptrIt);
2554 ++FieldMFPro_ptrIt;
2557 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrIt =
2558 source->_mfFieldMFPro_weakptr.begin();
2559 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrEnd =
2560 source->_mfFieldMFPro_weakptr.end ();
2562 while(FieldMFPro_weakptrIt != FieldMFPro_weakptrEnd)
2564 pThis->pushToFieldMFPro_weakptr(*FieldMFPro_weakptrIt);
2566 ++FieldMFPro_weakptrIt;
2569 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrIt =
2570 source->_mfFieldMFPro_mpchildptr.begin();
2571 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrEnd =
2572 source->_mfFieldMFPro_mpchildptr.end ();
2574 while(FieldMFPro_mpchildptrIt != FieldMFPro_mpchildptrEnd)
2576 pThis->pushToFieldMFPro_mpchildptr(*FieldMFPro_mpchildptrIt);
2578 ++FieldMFPro_mpchildptrIt;
2581 pThis->setFieldSFPub_spchildptr(source->getFieldSFPub_spchildptr());
2583 pThis->setFieldSFPro_spchildptr(source->getFieldSFPro_spchildptr());
2585 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrIt =
2586 source->_mfFieldMFPub_spchildptr.begin();
2587 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrEnd =
2588 source->_mfFieldMFPub_spchildptr.end ();
2590 while(FieldMFPub_spchildptrIt != FieldMFPub_spchildptrEnd)
2592 pThis->pushToFieldMFPub_spchildptr(*FieldMFPub_spchildptrIt);
2594 ++FieldMFPub_spchildptrIt;
2597 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrIt =
2598 source->_mfFieldMFPro_spchildptr.begin();
2599 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrEnd =
2600 source->_mfFieldMFPro_spchildptr.end ();
2602 while(FieldMFPro_spchildptrIt != FieldMFPro_spchildptrEnd)
2604 pThis->pushToFieldMFPro_spchildptr(*FieldMFPro_spchildptrIt);
2606 ++FieldMFPro_spchildptrIt;
2611 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPub_ptr (void) const
2613 SFUnrecFCDTestFCPtr::GetHandlePtr returnValue(
2614 new SFUnrecFCDTestFCPtr::GetHandle(
2615 &_sfFieldSFPub_ptr,
2616 this->getType().getFieldDesc(FieldSFPub_ptrFieldId),
2617 const_cast<FCDPtrTestFCBase *>(this)));
2619 return returnValue;
2622 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPub_ptr (void)
2624 SFUnrecFCDTestFCPtr::EditHandlePtr returnValue(
2625 new SFUnrecFCDTestFCPtr::EditHandle(
2626 &_sfFieldSFPub_ptr,
2627 this->getType().getFieldDesc(FieldSFPub_ptrFieldId),
2628 this));
2630 returnValue->setSetMethod(
2631 boost::bind(&FCDPtrTestFC::setFieldSFPub_ptr,
2632 static_cast<FCDPtrTestFC *>(this), _1));
2634 editSField(FieldSFPub_ptrFieldMask);
2636 return returnValue;
2639 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPub_weakptr (void) const
2641 SFWeakFCDTestFCPtr::GetHandlePtr returnValue(
2642 new SFWeakFCDTestFCPtr::GetHandle(
2643 &_sfFieldSFPub_weakptr,
2644 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId),
2645 const_cast<FCDPtrTestFCBase *>(this)));
2647 return returnValue;
2650 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPub_weakptr(void)
2652 SFWeakFCDTestFCPtr::EditHandlePtr returnValue(
2653 new SFWeakFCDTestFCPtr::EditHandle(
2654 &_sfFieldSFPub_weakptr,
2655 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId),
2656 this));
2658 returnValue->setSetMethod(
2659 boost::bind(&FCDPtrTestFC::setFieldSFPub_weakptr,
2660 static_cast<FCDPtrTestFC *>(this), _1));
2662 editSField(FieldSFPub_weakptrFieldMask);
2664 return returnValue;
2667 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPub_mpchildptr (void) const
2669 SFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue(
2670 new SFUnrecChildFCDTestFCPtr::GetHandle(
2671 &_sfFieldSFPub_mpchildptr,
2672 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId),
2673 const_cast<FCDPtrTestFCBase *>(this)));
2675 return returnValue;
2678 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPub_mpchildptr(void)
2680 SFUnrecChildFCDTestFCPtr::EditHandlePtr returnValue(
2681 new SFUnrecChildFCDTestFCPtr::EditHandle(
2682 &_sfFieldSFPub_mpchildptr,
2683 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId),
2684 this));
2686 returnValue->setSetMethod(
2687 boost::bind(&FCDPtrTestFC::setFieldSFPub_mpchildptr,
2688 static_cast<FCDPtrTestFC *>(this), _1));
2690 editSField(FieldSFPub_mpchildptrFieldMask);
2692 return returnValue;
2695 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPro_ptr (void) const
2697 SFUnrecFCDTestFCPtr::GetHandlePtr returnValue(
2698 new SFUnrecFCDTestFCPtr::GetHandle(
2699 &_sfFieldSFPro_ptr,
2700 this->getType().getFieldDesc(FieldSFPro_ptrFieldId),
2701 const_cast<FCDPtrTestFCBase *>(this)));
2703 return returnValue;
2706 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPro_ptr (void)
2708 SFUnrecFCDTestFCPtr::EditHandlePtr returnValue(
2709 new SFUnrecFCDTestFCPtr::EditHandle(
2710 &_sfFieldSFPro_ptr,
2711 this->getType().getFieldDesc(FieldSFPro_ptrFieldId),
2712 this));
2714 returnValue->setSetMethod(
2715 boost::bind(&FCDPtrTestFC::setFieldSFPro_ptr,
2716 static_cast<FCDPtrTestFC *>(this), _1));
2718 editSField(FieldSFPro_ptrFieldMask);
2720 return returnValue;
2723 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPro_weakptr (void) const
2725 SFWeakFCDTestFCPtr::GetHandlePtr returnValue(
2726 new SFWeakFCDTestFCPtr::GetHandle(
2727 &_sfFieldSFPro_weakptr,
2728 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId),
2729 const_cast<FCDPtrTestFCBase *>(this)));
2731 return returnValue;
2734 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPro_weakptr(void)
2736 SFWeakFCDTestFCPtr::EditHandlePtr returnValue(
2737 new SFWeakFCDTestFCPtr::EditHandle(
2738 &_sfFieldSFPro_weakptr,
2739 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId),
2740 this));
2742 returnValue->setSetMethod(
2743 boost::bind(&FCDPtrTestFC::setFieldSFPro_weakptr,
2744 static_cast<FCDPtrTestFC *>(this), _1));
2746 editSField(FieldSFPro_weakptrFieldMask);
2748 return returnValue;
2751 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPro_mpchildptr (void) const
2753 SFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue(
2754 new SFUnrecChildFCDTestFCPtr::GetHandle(
2755 &_sfFieldSFPro_mpchildptr,
2756 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId),
2757 const_cast<FCDPtrTestFCBase *>(this)));
2759 return returnValue;
2762 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPro_mpchildptr(void)
2764 SFUnrecChildFCDTestFCPtr::EditHandlePtr returnValue(
2765 new SFUnrecChildFCDTestFCPtr::EditHandle(
2766 &_sfFieldSFPro_mpchildptr,
2767 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId),
2768 this));
2770 returnValue->setSetMethod(
2771 boost::bind(&FCDPtrTestFC::setFieldSFPro_mpchildptr,
2772 static_cast<FCDPtrTestFC *>(this), _1));
2774 editSField(FieldSFPro_mpchildptrFieldMask);
2776 return returnValue;
2779 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFNo_ptr (void) const
2781 SFUnrecFCDTestFCPtr::GetHandlePtr returnValue;
2783 return returnValue;
2786 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFNo_ptr (void)
2788 EditFieldHandlePtr returnValue;
2790 return returnValue;
2793 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFNo_weakptr (void) const
2795 SFWeakFCDTestFCPtr::GetHandlePtr returnValue;
2797 return returnValue;
2800 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFNo_weakptr(void)
2802 EditFieldHandlePtr returnValue;
2804 return returnValue;
2807 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFNo_mpchildptr (void) const
2809 SFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue;
2811 return returnValue;
2814 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFNo_mpchildptr(void)
2816 EditFieldHandlePtr returnValue;
2818 return returnValue;
2821 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPub_ptr (void) const
2823 MFUnrecFCDTestFCPtr::GetHandlePtr returnValue(
2824 new MFUnrecFCDTestFCPtr::GetHandle(
2825 &_mfFieldMFPub_ptr,
2826 this->getType().getFieldDesc(FieldMFPub_ptrFieldId),
2827 const_cast<FCDPtrTestFCBase *>(this)));
2829 return returnValue;
2832 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPub_ptr (void)
2834 MFUnrecFCDTestFCPtr::EditHandlePtr returnValue(
2835 new MFUnrecFCDTestFCPtr::EditHandle(
2836 &_mfFieldMFPub_ptr,
2837 this->getType().getFieldDesc(FieldMFPub_ptrFieldId),
2838 this));
2840 returnValue->setAddMethod(
2841 boost::bind(&FCDPtrTestFC::pushToFieldMFPub_ptr,
2842 static_cast<FCDPtrTestFC *>(this), _1));
2843 returnValue->setRemoveMethod(
2844 boost::bind(&FCDPtrTestFC::removeFromFieldMFPub_ptr,
2845 static_cast<FCDPtrTestFC *>(this), _1));
2846 returnValue->setRemoveObjMethod(
2847 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPub_ptr,
2848 static_cast<FCDPtrTestFC *>(this), _1));
2849 returnValue->setClearMethod(
2850 boost::bind(&FCDPtrTestFC::clearFieldMFPub_ptr,
2851 static_cast<FCDPtrTestFC *>(this)));
2853 editMField(FieldMFPub_ptrFieldMask, _mfFieldMFPub_ptr);
2855 return returnValue;
2858 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPub_weakptr (void) const
2860 MFWeakFCDTestFCPtr::GetHandlePtr returnValue(
2861 new MFWeakFCDTestFCPtr::GetHandle(
2862 &_mfFieldMFPub_weakptr,
2863 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId),
2864 const_cast<FCDPtrTestFCBase *>(this)));
2866 return returnValue;
2869 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPub_weakptr(void)
2871 MFWeakFCDTestFCPtr::EditHandlePtr returnValue(
2872 new MFWeakFCDTestFCPtr::EditHandle(
2873 &_mfFieldMFPub_weakptr,
2874 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId),
2875 this));
2877 returnValue->setAddMethod(
2878 boost::bind(&FCDPtrTestFC::pushToFieldMFPub_weakptr,
2879 static_cast<FCDPtrTestFC *>(this), _1));
2880 returnValue->setRemoveMethod(
2881 boost::bind(&FCDPtrTestFC::removeFromFieldMFPub_weakptr,
2882 static_cast<FCDPtrTestFC *>(this), _1));
2883 returnValue->setRemoveObjMethod(
2884 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPub_weakptr,
2885 static_cast<FCDPtrTestFC *>(this), _1));
2886 returnValue->setClearMethod(
2887 boost::bind(&FCDPtrTestFC::clearFieldMFPub_weakptr,
2888 static_cast<FCDPtrTestFC *>(this)));
2890 editMField(FieldMFPub_weakptrFieldMask, _mfFieldMFPub_weakptr);
2892 return returnValue;
2895 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPub_mpchildptr (void) const
2897 MFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue(
2898 new MFUnrecChildFCDTestFCPtr::GetHandle(
2899 &_mfFieldMFPub_mpchildptr,
2900 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId),
2901 const_cast<FCDPtrTestFCBase *>(this)));
2903 return returnValue;
2906 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPub_mpchildptr(void)
2908 MFUnrecChildFCDTestFCPtr::EditHandlePtr returnValue(
2909 new MFUnrecChildFCDTestFCPtr::EditHandle(
2910 &_mfFieldMFPub_mpchildptr,
2911 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId),
2912 this));
2914 returnValue->setAddMethod(
2915 boost::bind(&FCDPtrTestFC::pushToFieldMFPub_mpchildptr,
2916 static_cast<FCDPtrTestFC *>(this), _1));
2917 returnValue->setRemoveMethod(
2918 boost::bind(&FCDPtrTestFC::removeFromFieldMFPub_mpchildptr,
2919 static_cast<FCDPtrTestFC *>(this), _1));
2920 returnValue->setRemoveObjMethod(
2921 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPub_mpchildptr,
2922 static_cast<FCDPtrTestFC *>(this), _1));
2923 returnValue->setClearMethod(
2924 boost::bind(&FCDPtrTestFC::clearFieldMFPub_mpchildptr,
2925 static_cast<FCDPtrTestFC *>(this)));
2927 editMField(FieldMFPub_mpchildptrFieldMask, _mfFieldMFPub_mpchildptr);
2929 return returnValue;
2932 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPro_ptr (void) const
2934 MFUnrecFCDTestFCPtr::GetHandlePtr returnValue(
2935 new MFUnrecFCDTestFCPtr::GetHandle(
2936 &_mfFieldMFPro_ptr,
2937 this->getType().getFieldDesc(FieldMFPro_ptrFieldId),
2938 const_cast<FCDPtrTestFCBase *>(this)));
2940 return returnValue;
2943 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPro_ptr (void)
2945 MFUnrecFCDTestFCPtr::EditHandlePtr returnValue(
2946 new MFUnrecFCDTestFCPtr::EditHandle(
2947 &_mfFieldMFPro_ptr,
2948 this->getType().getFieldDesc(FieldMFPro_ptrFieldId),
2949 this));
2951 returnValue->setAddMethod(
2952 boost::bind(&FCDPtrTestFC::pushToFieldMFPro_ptr,
2953 static_cast<FCDPtrTestFC *>(this), _1));
2954 returnValue->setRemoveMethod(
2955 boost::bind(&FCDPtrTestFC::removeFromFieldMFPro_ptr,
2956 static_cast<FCDPtrTestFC *>(this), _1));
2957 returnValue->setRemoveObjMethod(
2958 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPro_ptr,
2959 static_cast<FCDPtrTestFC *>(this), _1));
2960 returnValue->setClearMethod(
2961 boost::bind(&FCDPtrTestFC::clearFieldMFPro_ptr,
2962 static_cast<FCDPtrTestFC *>(this)));
2964 editMField(FieldMFPro_ptrFieldMask, _mfFieldMFPro_ptr);
2966 return returnValue;
2969 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPro_weakptr (void) const
2971 MFWeakFCDTestFCPtr::GetHandlePtr returnValue(
2972 new MFWeakFCDTestFCPtr::GetHandle(
2973 &_mfFieldMFPro_weakptr,
2974 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId),
2975 const_cast<FCDPtrTestFCBase *>(this)));
2977 return returnValue;
2980 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPro_weakptr(void)
2982 MFWeakFCDTestFCPtr::EditHandlePtr returnValue(
2983 new MFWeakFCDTestFCPtr::EditHandle(
2984 &_mfFieldMFPro_weakptr,
2985 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId),
2986 this));
2988 returnValue->setAddMethod(
2989 boost::bind(&FCDPtrTestFC::pushToFieldMFPro_weakptr,
2990 static_cast<FCDPtrTestFC *>(this), _1));
2991 returnValue->setRemoveMethod(
2992 boost::bind(&FCDPtrTestFC::removeFromFieldMFPro_weakptr,
2993 static_cast<FCDPtrTestFC *>(this), _1));
2994 returnValue->setRemoveObjMethod(
2995 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPro_weakptr,
2996 static_cast<FCDPtrTestFC *>(this), _1));
2997 returnValue->setClearMethod(
2998 boost::bind(&FCDPtrTestFC::clearFieldMFPro_weakptr,
2999 static_cast<FCDPtrTestFC *>(this)));
3001 editMField(FieldMFPro_weakptrFieldMask, _mfFieldMFPro_weakptr);
3003 return returnValue;
3006 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPro_mpchildptr (void) const
3008 MFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue(
3009 new MFUnrecChildFCDTestFCPtr::GetHandle(
3010 &_mfFieldMFPro_mpchildptr,
3011 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId),
3012 const_cast<FCDPtrTestFCBase *>(this)));
3014 return returnValue;
3017 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPro_mpchildptr(void)
3019 MFUnrecChildFCDTestFCPtr::EditHandlePtr returnValue(
3020 new MFUnrecChildFCDTestFCPtr::EditHandle(
3021 &_mfFieldMFPro_mpchildptr,
3022 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId),
3023 this));
3025 returnValue->setAddMethod(
3026 boost::bind(&FCDPtrTestFC::pushToFieldMFPro_mpchildptr,
3027 static_cast<FCDPtrTestFC *>(this), _1));
3028 returnValue->setRemoveMethod(
3029 boost::bind(&FCDPtrTestFC::removeFromFieldMFPro_mpchildptr,
3030 static_cast<FCDPtrTestFC *>(this), _1));
3031 returnValue->setRemoveObjMethod(
3032 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPro_mpchildptr,
3033 static_cast<FCDPtrTestFC *>(this), _1));
3034 returnValue->setClearMethod(
3035 boost::bind(&FCDPtrTestFC::clearFieldMFPro_mpchildptr,
3036 static_cast<FCDPtrTestFC *>(this)));
3038 editMField(FieldMFPro_mpchildptrFieldMask, _mfFieldMFPro_mpchildptr);
3040 return returnValue;
3043 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFNo_ptr (void) const
3045 MFUnrecFCDTestFCPtr::GetHandlePtr returnValue;
3047 return returnValue;
3050 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFNo_ptr (void)
3052 EditFieldHandlePtr returnValue;
3054 return returnValue;
3057 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFNo_weakptr (void) const
3059 MFWeakFCDTestFCPtr::GetHandlePtr returnValue;
3061 return returnValue;
3064 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFNo_weakptr(void)
3066 EditFieldHandlePtr returnValue;
3068 return returnValue;
3071 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFNo_mpchildptr (void) const
3073 MFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue;
3075 return returnValue;
3078 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFNo_mpchildptr(void)
3080 EditFieldHandlePtr returnValue;
3082 return returnValue;
3085 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPub_spchildptr (void) const
3087 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue(
3088 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
3089 &_sfFieldSFPub_spchildptr,
3090 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId),
3091 const_cast<FCDPtrTestFCBase *>(this)));
3093 return returnValue;
3096 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPub_spchildptr(void)
3098 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr returnValue(
3099 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
3100 &_sfFieldSFPub_spchildptr,
3101 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId),
3102 this));
3104 returnValue->setSetMethod(
3105 boost::bind(&FCDPtrTestFC::setFieldSFPub_spchildptr,
3106 static_cast<FCDPtrTestFC *>(this), _1));
3108 editSField(FieldSFPub_spchildptrFieldMask);
3110 return returnValue;
3113 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFPro_spchildptr (void) const
3115 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue(
3116 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
3117 &_sfFieldSFPro_spchildptr,
3118 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId),
3119 const_cast<FCDPtrTestFCBase *>(this)));
3121 return returnValue;
3124 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFPro_spchildptr(void)
3126 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr returnValue(
3127 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
3128 &_sfFieldSFPro_spchildptr,
3129 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId),
3130 this));
3132 returnValue->setSetMethod(
3133 boost::bind(&FCDPtrTestFC::setFieldSFPro_spchildptr,
3134 static_cast<FCDPtrTestFC *>(this), _1));
3136 editSField(FieldSFPro_spchildptrFieldMask);
3138 return returnValue;
3141 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldSFNo_spchildptr (void) const
3143 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue;
3145 return returnValue;
3148 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldSFNo_spchildptr(void)
3150 EditFieldHandlePtr returnValue;
3152 return returnValue;
3155 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPub_spchildptr (void) const
3157 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue(
3158 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
3159 &_mfFieldMFPub_spchildptr,
3160 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId),
3161 const_cast<FCDPtrTestFCBase *>(this)));
3163 return returnValue;
3166 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPub_spchildptr(void)
3168 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr returnValue(
3169 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
3170 &_mfFieldMFPub_spchildptr,
3171 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId),
3172 this));
3174 returnValue->setAddMethod(
3175 boost::bind(&FCDPtrTestFC::pushToFieldMFPub_spchildptr,
3176 static_cast<FCDPtrTestFC *>(this), _1));
3177 returnValue->setRemoveMethod(
3178 boost::bind(&FCDPtrTestFC::removeFromFieldMFPub_spchildptr,
3179 static_cast<FCDPtrTestFC *>(this), _1));
3180 returnValue->setRemoveObjMethod(
3181 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPub_spchildptr,
3182 static_cast<FCDPtrTestFC *>(this), _1));
3183 returnValue->setClearMethod(
3184 boost::bind(&FCDPtrTestFC::clearFieldMFPub_spchildptr,
3185 static_cast<FCDPtrTestFC *>(this)));
3187 editMField(FieldMFPub_spchildptrFieldMask, _mfFieldMFPub_spchildptr);
3189 return returnValue;
3192 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFPro_spchildptr (void) const
3194 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue(
3195 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
3196 &_mfFieldMFPro_spchildptr,
3197 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId),
3198 const_cast<FCDPtrTestFCBase *>(this)));
3200 return returnValue;
3203 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFPro_spchildptr(void)
3205 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr returnValue(
3206 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
3207 &_mfFieldMFPro_spchildptr,
3208 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId),
3209 this));
3211 returnValue->setAddMethod(
3212 boost::bind(&FCDPtrTestFC::pushToFieldMFPro_spchildptr,
3213 static_cast<FCDPtrTestFC *>(this), _1));
3214 returnValue->setRemoveMethod(
3215 boost::bind(&FCDPtrTestFC::removeFromFieldMFPro_spchildptr,
3216 static_cast<FCDPtrTestFC *>(this), _1));
3217 returnValue->setRemoveObjMethod(
3218 boost::bind(&FCDPtrTestFC::removeObjFromFieldMFPro_spchildptr,
3219 static_cast<FCDPtrTestFC *>(this), _1));
3220 returnValue->setClearMethod(
3221 boost::bind(&FCDPtrTestFC::clearFieldMFPro_spchildptr,
3222 static_cast<FCDPtrTestFC *>(this)));
3224 editMField(FieldMFPro_spchildptrFieldMask, _mfFieldMFPro_spchildptr);
3226 return returnValue;
3229 GetFieldHandlePtr FCDPtrTestFCBase::getHandleFieldMFNo_spchildptr (void) const
3231 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue;
3233 return returnValue;
3236 EditFieldHandlePtr FCDPtrTestFCBase::editHandleFieldMFNo_spchildptr(void)
3238 EditFieldHandlePtr returnValue;
3240 return returnValue;
3244 #ifdef OSG_MT_CPTR_ASPECT
3245 void FCDPtrTestFCBase::execSyncV( FieldContainer &oFrom,
3246 ConstFieldMaskArg whichField,
3247 AspectOffsetStore &oOffsets,
3248 ConstFieldMaskArg syncMode,
3249 const UInt32 uiSyncInfo)
3251 FCDPtrTestFC *pThis = static_cast<FCDPtrTestFC *>(this);
3253 pThis->execSync(static_cast<FCDPtrTestFC *>(&oFrom),
3254 whichField,
3255 oOffsets,
3256 syncMode,
3257 uiSyncInfo);
3259 #endif
3262 #ifdef OSG_MT_CPTR_ASPECT
3263 FieldContainer *FCDPtrTestFCBase::createAspectCopy(
3264 const FieldContainer *pRefAspect) const
3266 FCDPtrTestFC *returnValue;
3268 newAspectCopy(returnValue,
3269 dynamic_cast<const FCDPtrTestFC *>(pRefAspect),
3270 dynamic_cast<const FCDPtrTestFC *>(this));
3272 return returnValue;
3274 #endif
3276 void FCDPtrTestFCBase::resolveLinks(void)
3278 Inherited::resolveLinks();
3280 static_cast<FCDPtrTestFC *>(this)->setFieldSFPub_ptr(NULL);
3282 static_cast<FCDPtrTestFC *>(this)->setFieldSFPub_weakptr(NULL);
3284 static_cast<FCDPtrTestFC *>(this)->setFieldSFPub_mpchildptr(NULL);
3286 static_cast<FCDPtrTestFC *>(this)->setFieldSFPro_ptr(NULL);
3288 static_cast<FCDPtrTestFC *>(this)->setFieldSFPro_weakptr(NULL);
3290 static_cast<FCDPtrTestFC *>(this)->setFieldSFPro_mpchildptr(NULL);
3292 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_ptr();
3294 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_weakptr();
3296 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_mpchildptr();
3298 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_ptr();
3300 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_weakptr();
3302 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_mpchildptr();
3304 static_cast<FCDPtrTestFC *>(this)->setFieldSFPub_spchildptr(NULL);
3306 static_cast<FCDPtrTestFC *>(this)->setFieldSFPro_spchildptr(NULL);
3308 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPub_spchildptr();
3310 static_cast<FCDPtrTestFC *>(this)->clearFieldMFPro_spchildptr();
3316 OSG_END_NAMESPACE