1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
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. *
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. *
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. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
42 ** This file is automatically generated. **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
47 ** Do not change this file, changes should be done in the derived **
48 ** class FCDPtrTestFCCustomAccess!
50 *****************************************************************************
51 \*****************************************************************************/
56 #include "OSGConfig.h"
60 #include "OSGFCDTestFC.h" // FieldSFPub_ptr Class
61 #include "OSGFCDSParTestFC.h" // FieldSFPub_spchildptr Class
63 #include "OSGFCDPtrTestFCCustomAccessBase.h"
64 #include "OSGFCDPtrTestFCCustomAccess.h"
66 #include <boost/bind.hpp>
68 #ifdef WIN32 // turn off 'this' : used in base member initializer list warning
69 #pragma warning(disable:4355)
74 /***************************************************************************\
76 \***************************************************************************/
78 /*! \class OSG::FCDPtrTestFCCustomAccess
82 /***************************************************************************\
83 * Field Documentation *
84 \***************************************************************************/
86 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPub_ptr
90 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPub_weakptr
94 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPub_mpchildptr
98 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPro_ptr
102 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPro_weakptr
106 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPro_mpchildptr
110 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFNo_ptr
114 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFNo_weakptr
118 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFNo_mpchildptr
122 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPub_ptr
126 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPub_weakptr
130 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPub_mpchildptr
134 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPro_ptr
138 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPro_weakptr
142 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPro_mpchildptr
146 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFNo_ptr
150 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFNo_weakptr
154 /*! \var FCDTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFNo_mpchildptr
158 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPub_spchildptr
162 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFPro_spchildptr
166 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_sfFieldSFNo_spchildptr
170 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPub_spchildptr
174 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFPro_spchildptr
178 /*! \var FCDSParTestFC * FCDPtrTestFCCustomAccessBase::_mfFieldMFNo_spchildptr
183 /***************************************************************************\
184 * FieldType/FieldTrait Instantiation *
185 \***************************************************************************/
187 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
188 PointerType FieldTraits
<FCDPtrTestFCCustomAccess
*, nsOSG
>::_type(
189 "FCDPtrTestFCCustomAccessPtr",
191 FCDPtrTestFCCustomAccess::getClassType(),
195 OSG_FIELDTRAITS_GETTYPE_NS(FCDPtrTestFCCustomAccess
*, nsOSG
)
197 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField
,
198 FCDPtrTestFCCustomAccess
*,
201 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField
,
202 FCDPtrTestFCCustomAccess
*,
205 /***************************************************************************\
206 * Field Description *
207 \***************************************************************************/
209 void FCDPtrTestFCCustomAccessBase::classDescInserter(TypeObject
&oType
)
211 FieldDescriptionBase
*pDesc
= NULL
;
214 pDesc
= new SFUnrecFCDTestFCPtr::Description(
215 SFUnrecFCDTestFCPtr::getClassType(),
218 FieldSFPub_ptrFieldId
, FieldSFPub_ptrFieldMask
,
220 (Field::SFDefaultFlags
| Field::FCustomAccess
),
221 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPub_ptr
),
222 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPub_ptr
));
224 oType
.addInitialDesc(pDesc
);
226 pDesc
= new SFWeakFCDTestFCPtr::Description(
227 SFWeakFCDTestFCPtr::getClassType(),
228 "fieldSFPub_weakptr",
230 FieldSFPub_weakptrFieldId
, FieldSFPub_weakptrFieldMask
,
232 (Field::SFDefaultFlags
| Field::FCustomAccess
),
233 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPub_weakptr
),
234 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPub_weakptr
));
236 oType
.addInitialDesc(pDesc
);
238 pDesc
= new SFUnrecChildFCDTestFCPtr::Description(
239 SFUnrecChildFCDTestFCPtr::getClassType(),
240 "fieldSFPub_mpchildptr",
242 FieldSFPub_mpchildptrFieldId
, FieldSFPub_mpchildptrFieldMask
,
244 (Field::SFDefaultFlags
| Field::FCustomAccess
),
245 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPub_mpchildptr
),
246 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPub_mpchildptr
));
248 oType
.addInitialDesc(pDesc
);
250 pDesc
= new SFUnrecFCDTestFCPtr::Description(
251 SFUnrecFCDTestFCPtr::getClassType(),
254 FieldSFPro_ptrFieldId
, FieldSFPro_ptrFieldMask
,
256 (Field::SFDefaultFlags
| Field::FCustomAccess
),
257 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPro_ptr
),
258 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPro_ptr
));
260 oType
.addInitialDesc(pDesc
);
262 pDesc
= new SFWeakFCDTestFCPtr::Description(
263 SFWeakFCDTestFCPtr::getClassType(),
264 "fieldSFPro_weakptr",
266 FieldSFPro_weakptrFieldId
, FieldSFPro_weakptrFieldMask
,
268 (Field::SFDefaultFlags
| Field::FCustomAccess
),
269 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPro_weakptr
),
270 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPro_weakptr
));
272 oType
.addInitialDesc(pDesc
);
274 pDesc
= new SFUnrecChildFCDTestFCPtr::Description(
275 SFUnrecChildFCDTestFCPtr::getClassType(),
276 "fieldSFPro_mpchildptr",
278 FieldSFPro_mpchildptrFieldId
, FieldSFPro_mpchildptrFieldMask
,
280 (Field::SFDefaultFlags
| Field::FCustomAccess
),
281 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPro_mpchildptr
),
282 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPro_mpchildptr
));
284 oType
.addInitialDesc(pDesc
);
286 pDesc
= new SFUnrecFCDTestFCPtr::Description(
287 SFUnrecFCDTestFCPtr::getClassType(),
290 FieldSFNo_ptrFieldId
, FieldSFNo_ptrFieldMask
,
292 (Field::SFDefaultFlags
| Field::FCustomAccess
),
293 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
294 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
296 oType
.addInitialDesc(pDesc
);
298 pDesc
= new SFWeakFCDTestFCPtr::Description(
299 SFWeakFCDTestFCPtr::getClassType(),
302 FieldSFNo_weakptrFieldId
, FieldSFNo_weakptrFieldMask
,
304 (Field::SFDefaultFlags
| Field::FCustomAccess
),
305 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
306 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
308 oType
.addInitialDesc(pDesc
);
310 pDesc
= new SFUnrecChildFCDTestFCPtr::Description(
311 SFUnrecChildFCDTestFCPtr::getClassType(),
312 "fieldSFNo_mpchildptr",
314 FieldSFNo_mpchildptrFieldId
, FieldSFNo_mpchildptrFieldMask
,
316 (Field::SFDefaultFlags
| Field::FCustomAccess
),
317 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
318 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
320 oType
.addInitialDesc(pDesc
);
322 pDesc
= new MFUnrecFCDTestFCPtr::Description(
323 MFUnrecFCDTestFCPtr::getClassType(),
326 FieldMFPub_ptrFieldId
, FieldMFPub_ptrFieldMask
,
328 (Field::MFDefaultFlags
| Field::FCustomAccess
),
329 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPub_ptr
),
330 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPub_ptr
));
332 oType
.addInitialDesc(pDesc
);
334 pDesc
= new MFWeakFCDTestFCPtr::Description(
335 MFWeakFCDTestFCPtr::getClassType(),
336 "fieldMFPub_weakptr",
338 FieldMFPub_weakptrFieldId
, FieldMFPub_weakptrFieldMask
,
340 (Field::MFDefaultFlags
| Field::FCustomAccess
),
341 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPub_weakptr
),
342 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPub_weakptr
));
344 oType
.addInitialDesc(pDesc
);
346 pDesc
= new MFUnrecChildFCDTestFCPtr::Description(
347 MFUnrecChildFCDTestFCPtr::getClassType(),
348 "fieldMFPub_mpchildptr",
350 FieldMFPub_mpchildptrFieldId
, FieldMFPub_mpchildptrFieldMask
,
352 (Field::MFDefaultFlags
| Field::FCustomAccess
),
353 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPub_mpchildptr
),
354 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPub_mpchildptr
));
356 oType
.addInitialDesc(pDesc
);
358 pDesc
= new MFUnrecFCDTestFCPtr::Description(
359 MFUnrecFCDTestFCPtr::getClassType(),
362 FieldMFPro_ptrFieldId
, FieldMFPro_ptrFieldMask
,
364 (Field::MFDefaultFlags
| Field::FCustomAccess
),
365 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPro_ptr
),
366 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPro_ptr
));
368 oType
.addInitialDesc(pDesc
);
370 pDesc
= new MFWeakFCDTestFCPtr::Description(
371 MFWeakFCDTestFCPtr::getClassType(),
372 "fieldMFPro_weakptr",
374 FieldMFPro_weakptrFieldId
, FieldMFPro_weakptrFieldMask
,
376 (Field::MFDefaultFlags
| Field::FCustomAccess
),
377 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPro_weakptr
),
378 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPro_weakptr
));
380 oType
.addInitialDesc(pDesc
);
382 pDesc
= new MFUnrecChildFCDTestFCPtr::Description(
383 MFUnrecChildFCDTestFCPtr::getClassType(),
384 "fieldMFPro_mpchildptr",
386 FieldMFPro_mpchildptrFieldId
, FieldMFPro_mpchildptrFieldMask
,
388 (Field::MFDefaultFlags
| Field::FCustomAccess
),
389 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPro_mpchildptr
),
390 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPro_mpchildptr
));
392 oType
.addInitialDesc(pDesc
);
394 pDesc
= new MFUnrecFCDTestFCPtr::Description(
395 MFUnrecFCDTestFCPtr::getClassType(),
398 FieldMFNo_ptrFieldId
, FieldMFNo_ptrFieldMask
,
400 (Field::MFDefaultFlags
| Field::FCustomAccess
),
401 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
402 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
404 oType
.addInitialDesc(pDesc
);
406 pDesc
= new MFWeakFCDTestFCPtr::Description(
407 MFWeakFCDTestFCPtr::getClassType(),
410 FieldMFNo_weakptrFieldId
, FieldMFNo_weakptrFieldMask
,
412 (Field::MFDefaultFlags
| Field::FCustomAccess
),
413 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
414 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
416 oType
.addInitialDesc(pDesc
);
418 pDesc
= new MFUnrecChildFCDTestFCPtr::Description(
419 MFUnrecChildFCDTestFCPtr::getClassType(),
420 "fieldMFNo_mpchildptr",
422 FieldMFNo_mpchildptrFieldId
, FieldMFNo_mpchildptrFieldMask
,
424 (Field::MFDefaultFlags
| Field::FCustomAccess
),
425 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
426 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
428 oType
.addInitialDesc(pDesc
);
430 pDesc
= new SFUnrecChildFCDSParTestFCPtr::Description(
431 SFUnrecChildFCDSParTestFCPtr::getClassType(),
432 "fieldSFPub_spchildptr",
434 FieldSFPub_spchildptrFieldId
, FieldSFPub_spchildptrFieldMask
,
436 (Field::SFDefaultFlags
| Field::FCustomAccess
),
437 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPub_spchildptr
),
438 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPub_spchildptr
));
440 oType
.addInitialDesc(pDesc
);
442 pDesc
= new SFUnrecChildFCDSParTestFCPtr::Description(
443 SFUnrecChildFCDSParTestFCPtr::getClassType(),
444 "fieldSFPro_spchildptr",
446 FieldSFPro_spchildptrFieldId
, FieldSFPro_spchildptrFieldMask
,
448 (Field::SFDefaultFlags
| Field::FCustomAccess
),
449 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldSFPro_spchildptr
),
450 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldSFPro_spchildptr
));
452 oType
.addInitialDesc(pDesc
);
454 pDesc
= new SFUnrecChildFCDSParTestFCPtr::Description(
455 SFUnrecChildFCDSParTestFCPtr::getClassType(),
456 "fieldSFNo_spchildptr",
458 FieldSFNo_spchildptrFieldId
, FieldSFNo_spchildptrFieldMask
,
460 (Field::SFDefaultFlags
| Field::FCustomAccess
),
461 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
462 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
464 oType
.addInitialDesc(pDesc
);
466 pDesc
= new MFUnrecChildFCDSParTestFCPtr::Description(
467 MFUnrecChildFCDSParTestFCPtr::getClassType(),
468 "fieldMFPub_spchildptr",
470 FieldMFPub_spchildptrFieldId
, FieldMFPub_spchildptrFieldMask
,
472 (Field::MFDefaultFlags
| Field::FCustomAccess
),
473 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPub_spchildptr
),
474 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPub_spchildptr
));
476 oType
.addInitialDesc(pDesc
);
478 pDesc
= new MFUnrecChildFCDSParTestFCPtr::Description(
479 MFUnrecChildFCDSParTestFCPtr::getClassType(),
480 "fieldMFPro_spchildptr",
482 FieldMFPro_spchildptrFieldId
, FieldMFPro_spchildptrFieldMask
,
484 (Field::MFDefaultFlags
| Field::FCustomAccess
),
485 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::editHandleFieldMFPro_spchildptr
),
486 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::getHandleFieldMFPro_spchildptr
));
488 oType
.addInitialDesc(pDesc
);
490 pDesc
= new MFUnrecChildFCDSParTestFCPtr::Description(
491 MFUnrecChildFCDSParTestFCPtr::getClassType(),
492 "fieldMFNo_spchildptr",
494 FieldMFNo_spchildptrFieldId
, FieldMFNo_spchildptrFieldMask
,
496 (Field::MFDefaultFlags
| Field::FCustomAccess
),
497 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCCustomAccess::invalidEditField
),
498 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCCustomAccess::invalidGetField
));
500 oType
.addInitialDesc(pDesc
);
504 FCDPtrTestFCCustomAccessBase::TypeObject
FCDPtrTestFCCustomAccessBase::_type(
505 FCDPtrTestFCCustomAccessBase::getClassname(),
506 Inherited::getClassname(),
509 reinterpret_cast<PrototypeCreateF
>(&FCDPtrTestFCCustomAccessBase::createEmptyLocal
),
510 FCDPtrTestFCCustomAccess::initMethod
,
511 FCDPtrTestFCCustomAccess::exitMethod
,
512 reinterpret_cast<InitalInsertDescFunc
>(&FCDPtrTestFCCustomAccess::classDescInserter
),
515 "<?xml version=\"1.0\" ?>\n"
518 "\tname=\"FCDPtrTestFCCustomAccess\"\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"
527 " <!-- SF, multi parent, public -->\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 " ptrFieldAccess = \"custom\"\n"
541 " name = \"fieldSFPub_weakptr\"\n"
542 " type = \"FCDTestFC\"\n"
543 " cardinality = \"single\"\n"
544 " visibility = \"external\"\n"
545 " defaultValue = \"0\"\n"
546 " access = \"public\"\n"
547 " category = \"weakpointer\"\n"
548 " ptrFieldAccess = \"custom\"\n"
553 " name = \"fieldSFPub_mpchildptr\"\n"
554 " type = \"FCDTestFC\"\n"
555 " cardinality = \"single\"\n"
556 " visibility = \"external\"\n"
557 " defaultValue = \"0\"\n"
558 " access = \"public\"\n"
559 " category = \"childpointer\"\n"
560 " linkParentField=\"Parents\"\n"
561 " ptrFieldAccess = \"custom\"\n"
569 " <!-- SF, multi parent, protected -->\n"
571 " name = \"fieldSFPro_ptr\"\n"
572 " type = \"FCDTestFC\"\n"
573 " cardinality = \"single\"\n"
574 " visibility = \"external\"\n"
575 " defaultValue = \"0\"\n"
576 " access = \"protected\"\n"
577 " category = \"pointer\"\n"
578 " ptrFieldAccess = \"custom\"\n"
583 " name = \"fieldSFPro_weakptr\"\n"
584 " type = \"FCDTestFC\"\n"
585 " cardinality = \"single\"\n"
586 " visibility = \"external\"\n"
587 " defaultValue = \"0\"\n"
588 " access = \"protected\"\n"
589 " category = \"weakpointer\"\n"
590 " ptrFieldAccess = \"custom\"\n"
595 " name = \"fieldSFPro_mpchildptr\"\n"
596 " type = \"FCDTestFC\"\n"
597 " cardinality = \"single\"\n"
598 " visibility = \"external\"\n"
599 " defaultValue = \"0\"\n"
600 " access = \"protected\"\n"
601 " category = \"childpointer\"\n"
602 " linkParentField=\"Parents\"\n"
603 " ptrFieldAccess = \"custom\"\n"
610 " <!-- SF, multi parent, none -->\n"
612 " name = \"fieldSFNo_ptr\"\n"
613 " type = \"FCDTestFC\"\n"
614 " cardinality = \"single\"\n"
615 " visibility = \"external\"\n"
616 " defaultValue = \"0\"\n"
617 " access = \"none\"\n"
618 " category = \"pointer\"\n"
619 " ptrFieldAccess = \"custom\"\n"
624 " name = \"fieldSFNo_weakptr\"\n"
625 " type = \"FCDTestFC\"\n"
626 " cardinality = \"single\"\n"
627 " visibility = \"external\"\n"
628 " defaultValue = \"0\"\n"
629 " access = \"none\"\n"
630 " category = \"weakpointer\"\n"
631 " ptrFieldAccess = \"custom\"\n"
636 " name = \"fieldSFNo_mpchildptr\"\n"
637 " type = \"FCDTestFC\"\n"
638 " cardinality = \"single\"\n"
639 " visibility = \"external\"\n"
640 " defaultValue = \"0\"\n"
641 " access = \"none\"\n"
642 " category = \"childpointer\"\n"
643 " linkParentField=\"Parents\"\n"
644 " ptrFieldAccess = \"custom\"\n"
652 " <!-- MF, multi parent, public -->\n"
654 " name = \"fieldMFPub_ptr\"\n"
655 " type = \"FCDTestFC\"\n"
656 " cardinality = \"multi\"\n"
657 " visibility = \"external\"\n"
658 " defaultValue = \"0\"\n"
659 " access = \"public\"\n"
660 " category = \"pointer\"\n"
661 " ptrFieldAccess = \"custom\"\n"
666 " name = \"fieldMFPub_weakptr\"\n"
667 " type = \"FCDTestFC\"\n"
668 " cardinality = \"multi\"\n"
669 " visibility = \"external\"\n"
670 " defaultValue = \"0\"\n"
671 " access = \"public\"\n"
672 " category = \"weakpointer\"\n"
673 " ptrFieldAccess = \"custom\"\n"
678 " name = \"fieldMFPub_mpchildptr\"\n"
679 " type = \"FCDTestFC\"\n"
680 " cardinality = \"multi\"\n"
681 " visibility = \"external\"\n"
682 " defaultValue = \"0\"\n"
683 " access = \"public\"\n"
684 " category = \"childpointer\"\n"
685 " linkParentField=\"Parents\"\n"
686 " ptrFieldAccess = \"custom\"\n"
693 " <!-- MF, multi parent, protected -->\n"
696 " name = \"fieldMFPro_ptr\"\n"
697 " type = \"FCDTestFC\"\n"
698 " cardinality = \"multi\"\n"
699 " visibility = \"external\"\n"
700 " defaultValue = \"0\"\n"
701 " access = \"protected\"\n"
702 " category = \"pointer\"\n"
703 " ptrFieldAccess = \"custom\"\n"
708 " name = \"fieldMFPro_weakptr\"\n"
709 " type = \"FCDTestFC\"\n"
710 " cardinality = \"multi\"\n"
711 " visibility = \"external\"\n"
712 " defaultValue = \"0\"\n"
713 " access = \"protected\"\n"
714 " category = \"weakpointer\"\n"
715 " ptrFieldAccess = \"custom\"\n"
720 " name = \"fieldMFPro_mpchildptr\"\n"
721 " type = \"FCDTestFC\"\n"
722 " cardinality = \"multi\"\n"
723 " visibility = \"external\"\n"
724 " defaultValue = \"0\"\n"
725 " access = \"protected\"\n"
726 " category = \"childpointer\"\n"
727 " linkParentField=\"Parents\"\n"
728 " ptrFieldAccess = \"custom\"\n"
735 " <!-- MF, multi parent, none -->\n"
737 " name = \"fieldMFNo_ptr\"\n"
738 " type = \"FCDTestFC\"\n"
739 " cardinality = \"multi\"\n"
740 " visibility = \"external\"\n"
741 " defaultValue = \"0\"\n"
742 " access = \"none\"\n"
743 " category = \"pointer\"\n"
744 " ptrFieldAccess = \"custom\"\n"
749 " name = \"fieldMFNo_weakptr\"\n"
750 " type = \"FCDTestFC\"\n"
751 " cardinality = \"multi\"\n"
752 " visibility = \"external\"\n"
753 " defaultValue = \"0\"\n"
754 " access = \"none\"\n"
755 " category = \"weakpointer\"\n"
756 " ptrFieldAccess = \"custom\"\n"
761 " name = \"fieldMFNo_mpchildptr\"\n"
762 " type = \"FCDTestFC\"\n"
763 " cardinality = \"multi\"\n"
764 " visibility = \"external\"\n"
765 " defaultValue = \"0\"\n"
766 " access = \"none\"\n"
767 " category = \"childpointer\"\n"
768 " linkParentField=\"Parents\"\n"
769 " ptrFieldAccess = \"custom\"\n"
776 " <!-- SF, single parent, public -->\n"
779 " name = \"fieldSFPub_spchildptr\"\n"
780 " type = \"FCDSParTestFC\"\n"
781 " cardinality = \"single\"\n"
782 " visibility = \"external\"\n"
783 " defaultValue = \"0\"\n"
784 " access = \"public\"\n"
785 " category = \"childpointer\"\n"
786 " linkParentField=\"Parent\"\n"
787 " ptrFieldAccess = \"custom\"\n"
791 " <!-- SF, single parent, protected -->\n"
794 " name = \"fieldSFPro_spchildptr\"\n"
795 " type = \"FCDSParTestFC\"\n"
796 " cardinality = \"single\"\n"
797 " visibility = \"external\"\n"
798 " defaultValue = \"0\"\n"
799 " access = \"protected\"\n"
800 " category = \"childpointer\"\n"
801 " linkParentField=\"Parent\"\n"
802 " ptrFieldAccess = \"custom\"\n"
807 " <!-- SF, single parent, none -->\n"
810 " name = \"fieldSFNo_spchildptr\"\n"
811 " type = \"FCDSParTestFC\"\n"
812 " cardinality = \"single\"\n"
813 " visibility = \"external\"\n"
814 " defaultValue = \"0\"\n"
815 " access = \"none\"\n"
816 " category = \"childpointer\"\n"
817 " linkParentField=\"Parent\"\n"
818 " ptrFieldAccess = \"custom\"\n"
823 " <!-- MF, single parent, public -->\n"
826 " name = \"fieldMFPub_spchildptr\"\n"
827 " type = \"FCDSParTestFC\"\n"
828 " cardinality = \"multi\"\n"
829 " visibility = \"external\"\n"
830 " defaultValue = \"0\"\n"
831 " access = \"public\"\n"
832 " category = \"childpointer\"\n"
833 " linkParentField=\"Parent\"\n"
834 " ptrFieldAccess = \"custom\"\n"
838 " <!-- MF, single parent, protected -->\n"
841 " name = \"fieldMFPro_spchildptr\"\n"
842 " type = \"FCDSParTestFC\"\n"
843 " cardinality = \"multi\"\n"
844 " visibility = \"external\"\n"
845 " defaultValue = \"0\"\n"
846 " access = \"protected\"\n"
847 " category = \"childpointer\"\n"
848 " linkParentField=\"Parent\"\n"
849 " ptrFieldAccess = \"custom\"\n"
854 " <!-- MF, multi parent, none -->\n"
857 " name = \"fieldMFNo_spchildptr\"\n"
858 " type = \"FCDSParTestFC\"\n"
859 " cardinality = \"multi\"\n"
860 " visibility = \"external\"\n"
861 " defaultValue = \"0\"\n"
862 " access = \"none\"\n"
863 " category = \"childpointer\"\n"
864 " linkParentField=\"Parent\"\n"
865 " ptrFieldAccess = \"custom\"\n"
869 "</FieldContainer>\n",
873 /*------------------------------ get -----------------------------------*/
875 FieldContainerType
&FCDPtrTestFCCustomAccessBase::getType(void)
880 const FieldContainerType
&FCDPtrTestFCCustomAccessBase::getType(void) const
885 UInt32
FCDPtrTestFCCustomAccessBase::getContainerSize(void) const
887 return sizeof(FCDPtrTestFCCustomAccess
);
890 /*------------------------- decorator get ------------------------------*/
893 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPub_ptr field.
894 const SFUnrecFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPub_ptr(void) const
896 return &_sfFieldSFPub_ptr
;
899 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPub_weakptr field.
900 const SFWeakFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPub_weakptr(void) const
902 return &_sfFieldSFPub_weakptr
;
905 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPub_mpchildptr field.
906 const SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPub_mpchildptr(void) const
908 return &_sfFieldSFPub_mpchildptr
;
911 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPro_ptr field.
912 const SFUnrecFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPro_ptr(void) const
914 return &_sfFieldSFPro_ptr
;
917 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPro_weakptr field.
918 const SFWeakFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPro_weakptr(void) const
920 return &_sfFieldSFPro_weakptr
;
923 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPro_mpchildptr field.
924 const SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPro_mpchildptr(void) const
926 return &_sfFieldSFPro_mpchildptr
;
932 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPub_ptr field.
933 const MFUnrecFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPub_ptr(void) const
935 return &_mfFieldMFPub_ptr
;
938 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPub_weakptr field.
939 const MFWeakFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPub_weakptr(void) const
941 return &_mfFieldMFPub_weakptr
;
944 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPub_mpchildptr field.
945 const MFUnrecChildFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPub_mpchildptr(void) const
947 return &_mfFieldMFPub_mpchildptr
;
950 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPro_ptr field.
951 const MFUnrecFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPro_ptr(void) const
953 return &_mfFieldMFPro_ptr
;
956 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPro_weakptr field.
957 const MFWeakFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPro_weakptr(void) const
959 return &_mfFieldMFPro_weakptr
;
962 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPro_mpchildptr field.
963 const MFUnrecChildFCDTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPro_mpchildptr(void) const
965 return &_mfFieldMFPro_mpchildptr
;
971 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPub_spchildptr field.
972 const SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPub_spchildptr(void) const
974 return &_sfFieldSFPub_spchildptr
;
977 //! Get the FCDPtrTestFCCustomAccess::_sfFieldSFPro_spchildptr field.
978 const SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCCustomAccessBase::getSFFieldSFPro_spchildptr(void) const
980 return &_sfFieldSFPro_spchildptr
;
984 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPub_spchildptr field.
985 const MFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPub_spchildptr(void) const
987 return &_mfFieldMFPub_spchildptr
;
990 //! Get the FCDPtrTestFCCustomAccess::_mfFieldMFPro_spchildptr field.
991 const MFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCCustomAccessBase::getMFFieldMFPro_spchildptr(void) const
993 return &_mfFieldMFPro_spchildptr
;
1009 /*------------------------------ access -----------------------------------*/
1011 SizeT
FCDPtrTestFCCustomAccessBase::getBinSize(ConstFieldMaskArg whichField
)
1013 SizeT returnValue
= Inherited::getBinSize(whichField
);
1015 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
1017 returnValue
+= _sfFieldSFPub_ptr
.getBinSize();
1019 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
1021 returnValue
+= _sfFieldSFPub_weakptr
.getBinSize();
1023 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
1025 returnValue
+= _sfFieldSFPub_mpchildptr
.getBinSize();
1027 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
1029 returnValue
+= _sfFieldSFPro_ptr
.getBinSize();
1031 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
1033 returnValue
+= _sfFieldSFPro_weakptr
.getBinSize();
1035 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
1037 returnValue
+= _sfFieldSFPro_mpchildptr
.getBinSize();
1039 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
1041 returnValue
+= _sfFieldSFNo_ptr
.getBinSize();
1043 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
1045 returnValue
+= _sfFieldSFNo_weakptr
.getBinSize();
1047 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
1049 returnValue
+= _sfFieldSFNo_mpchildptr
.getBinSize();
1051 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
1053 returnValue
+= _mfFieldMFPub_ptr
.getBinSize();
1055 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
1057 returnValue
+= _mfFieldMFPub_weakptr
.getBinSize();
1059 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
1061 returnValue
+= _mfFieldMFPub_mpchildptr
.getBinSize();
1063 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
1065 returnValue
+= _mfFieldMFPro_ptr
.getBinSize();
1067 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
1069 returnValue
+= _mfFieldMFPro_weakptr
.getBinSize();
1071 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
1073 returnValue
+= _mfFieldMFPro_mpchildptr
.getBinSize();
1075 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
1077 returnValue
+= _mfFieldMFNo_ptr
.getBinSize();
1079 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
1081 returnValue
+= _mfFieldMFNo_weakptr
.getBinSize();
1083 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
1085 returnValue
+= _mfFieldMFNo_mpchildptr
.getBinSize();
1087 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
1089 returnValue
+= _sfFieldSFPub_spchildptr
.getBinSize();
1091 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
1093 returnValue
+= _sfFieldSFPro_spchildptr
.getBinSize();
1095 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
1097 returnValue
+= _sfFieldSFNo_spchildptr
.getBinSize();
1099 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
1101 returnValue
+= _mfFieldMFPub_spchildptr
.getBinSize();
1103 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
1105 returnValue
+= _mfFieldMFPro_spchildptr
.getBinSize();
1107 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
1109 returnValue
+= _mfFieldMFNo_spchildptr
.getBinSize();
1115 void FCDPtrTestFCCustomAccessBase::copyToBin(BinaryDataHandler
&pMem
,
1116 ConstFieldMaskArg whichField
)
1118 Inherited::copyToBin(pMem
, whichField
);
1120 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
1122 _sfFieldSFPub_ptr
.copyToBin(pMem
);
1124 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
1126 _sfFieldSFPub_weakptr
.copyToBin(pMem
);
1128 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
1130 _sfFieldSFPub_mpchildptr
.copyToBin(pMem
);
1132 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
1134 _sfFieldSFPro_ptr
.copyToBin(pMem
);
1136 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
1138 _sfFieldSFPro_weakptr
.copyToBin(pMem
);
1140 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
1142 _sfFieldSFPro_mpchildptr
.copyToBin(pMem
);
1144 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
1146 _sfFieldSFNo_ptr
.copyToBin(pMem
);
1148 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
1150 _sfFieldSFNo_weakptr
.copyToBin(pMem
);
1152 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
1154 _sfFieldSFNo_mpchildptr
.copyToBin(pMem
);
1156 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
1158 _mfFieldMFPub_ptr
.copyToBin(pMem
);
1160 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
1162 _mfFieldMFPub_weakptr
.copyToBin(pMem
);
1164 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
1166 _mfFieldMFPub_mpchildptr
.copyToBin(pMem
);
1168 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
1170 _mfFieldMFPro_ptr
.copyToBin(pMem
);
1172 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
1174 _mfFieldMFPro_weakptr
.copyToBin(pMem
);
1176 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
1178 _mfFieldMFPro_mpchildptr
.copyToBin(pMem
);
1180 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
1182 _mfFieldMFNo_ptr
.copyToBin(pMem
);
1184 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
1186 _mfFieldMFNo_weakptr
.copyToBin(pMem
);
1188 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
1190 _mfFieldMFNo_mpchildptr
.copyToBin(pMem
);
1192 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
1194 _sfFieldSFPub_spchildptr
.copyToBin(pMem
);
1196 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
1198 _sfFieldSFPro_spchildptr
.copyToBin(pMem
);
1200 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
1202 _sfFieldSFNo_spchildptr
.copyToBin(pMem
);
1204 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
1206 _mfFieldMFPub_spchildptr
.copyToBin(pMem
);
1208 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
1210 _mfFieldMFPro_spchildptr
.copyToBin(pMem
);
1212 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
1214 _mfFieldMFNo_spchildptr
.copyToBin(pMem
);
1218 void FCDPtrTestFCCustomAccessBase::copyFromBin(BinaryDataHandler
&pMem
,
1219 ConstFieldMaskArg whichField
)
1221 Inherited::copyFromBin(pMem
, whichField
);
1223 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
1225 editSField(FieldSFPub_ptrFieldMask
);
1226 _sfFieldSFPub_ptr
.copyFromBin(pMem
);
1228 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
1230 editSField(FieldSFPub_weakptrFieldMask
);
1231 _sfFieldSFPub_weakptr
.copyFromBin(pMem
);
1233 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
1235 editSField(FieldSFPub_mpchildptrFieldMask
);
1236 _sfFieldSFPub_mpchildptr
.copyFromBin(pMem
);
1238 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
1240 editSField(FieldSFPro_ptrFieldMask
);
1241 _sfFieldSFPro_ptr
.copyFromBin(pMem
);
1243 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
1245 editSField(FieldSFPro_weakptrFieldMask
);
1246 _sfFieldSFPro_weakptr
.copyFromBin(pMem
);
1248 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
1250 editSField(FieldSFPro_mpchildptrFieldMask
);
1251 _sfFieldSFPro_mpchildptr
.copyFromBin(pMem
);
1253 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
1255 editSField(FieldSFNo_ptrFieldMask
);
1256 _sfFieldSFNo_ptr
.copyFromBin(pMem
);
1258 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
1260 editSField(FieldSFNo_weakptrFieldMask
);
1261 _sfFieldSFNo_weakptr
.copyFromBin(pMem
);
1263 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
1265 editSField(FieldSFNo_mpchildptrFieldMask
);
1266 _sfFieldSFNo_mpchildptr
.copyFromBin(pMem
);
1268 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
1270 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1271 _mfFieldMFPub_ptr
.copyFromBin(pMem
);
1273 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
1275 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1276 _mfFieldMFPub_weakptr
.copyFromBin(pMem
);
1278 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
1280 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1281 _mfFieldMFPub_mpchildptr
.copyFromBin(pMem
);
1283 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
1285 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1286 _mfFieldMFPro_ptr
.copyFromBin(pMem
);
1288 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
1290 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1291 _mfFieldMFPro_weakptr
.copyFromBin(pMem
);
1293 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
1295 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1296 _mfFieldMFPro_mpchildptr
.copyFromBin(pMem
);
1298 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
1300 editMField(FieldMFNo_ptrFieldMask
, _mfFieldMFNo_ptr
);
1301 _mfFieldMFNo_ptr
.copyFromBin(pMem
);
1303 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
1305 editMField(FieldMFNo_weakptrFieldMask
, _mfFieldMFNo_weakptr
);
1306 _mfFieldMFNo_weakptr
.copyFromBin(pMem
);
1308 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
1310 editMField(FieldMFNo_mpchildptrFieldMask
, _mfFieldMFNo_mpchildptr
);
1311 _mfFieldMFNo_mpchildptr
.copyFromBin(pMem
);
1313 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
1315 editSField(FieldSFPub_spchildptrFieldMask
);
1316 _sfFieldSFPub_spchildptr
.copyFromBin(pMem
);
1318 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
1320 editSField(FieldSFPro_spchildptrFieldMask
);
1321 _sfFieldSFPro_spchildptr
.copyFromBin(pMem
);
1323 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
1325 editSField(FieldSFNo_spchildptrFieldMask
);
1326 _sfFieldSFNo_spchildptr
.copyFromBin(pMem
);
1328 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
1330 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1331 _mfFieldMFPub_spchildptr
.copyFromBin(pMem
);
1333 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
1335 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1336 _mfFieldMFPro_spchildptr
.copyFromBin(pMem
);
1338 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
1340 editMField(FieldMFNo_spchildptrFieldMask
, _mfFieldMFNo_spchildptr
);
1341 _mfFieldMFNo_spchildptr
.copyFromBin(pMem
);
1345 //! create a new instance of the class
1346 FCDPtrTestFCCustomAccessTransitPtr
FCDPtrTestFCCustomAccessBase::createLocal(BitVector bFlags
)
1348 FCDPtrTestFCCustomAccessTransitPtr fc
;
1350 if(getClassType().getPrototype() != NULL
)
1352 FieldContainerTransitPtr tmpPtr
=
1353 getClassType().getPrototype()-> shallowCopyLocal(bFlags
);
1355 fc
= dynamic_pointer_cast
<FCDPtrTestFCCustomAccess
>(tmpPtr
);
1361 //! create a new instance of the class, copy the container flags
1362 FCDPtrTestFCCustomAccessTransitPtr
FCDPtrTestFCCustomAccessBase::createDependent(BitVector bFlags
)
1364 FCDPtrTestFCCustomAccessTransitPtr fc
;
1366 if(getClassType().getPrototype() != NULL
)
1368 FieldContainerTransitPtr tmpPtr
=
1369 getClassType().getPrototype()-> shallowCopyDependent(bFlags
);
1371 fc
= dynamic_pointer_cast
<FCDPtrTestFCCustomAccess
>(tmpPtr
);
1377 //! create a new instance of the class
1378 FCDPtrTestFCCustomAccessTransitPtr
FCDPtrTestFCCustomAccessBase::create(void)
1380 FCDPtrTestFCCustomAccessTransitPtr fc
;
1382 if(getClassType().getPrototype() != NULL
)
1384 FieldContainerTransitPtr tmpPtr
=
1385 getClassType().getPrototype()-> shallowCopy();
1387 fc
= dynamic_pointer_cast
<FCDPtrTestFCCustomAccess
>(tmpPtr
);
1393 FCDPtrTestFCCustomAccess
*FCDPtrTestFCCustomAccessBase::createEmptyLocal(BitVector bFlags
)
1395 FCDPtrTestFCCustomAccess
*returnValue
;
1397 newPtr
<FCDPtrTestFCCustomAccess
>(returnValue
, bFlags
);
1399 returnValue
->_pFieldFlags
->_bNamespaceMask
&= ~bFlags
;
1404 //! create an empty new instance of the class, do not copy the prototype
1405 FCDPtrTestFCCustomAccess
*FCDPtrTestFCCustomAccessBase::createEmpty(void)
1407 FCDPtrTestFCCustomAccess
*returnValue
;
1409 newPtr
<FCDPtrTestFCCustomAccess
>(returnValue
, Thread::getCurrentLocalFlags());
1411 returnValue
->_pFieldFlags
->_bNamespaceMask
&=
1412 ~Thread::getCurrentLocalFlags();
1418 FieldContainerTransitPtr
FCDPtrTestFCCustomAccessBase::shallowCopyLocal(
1419 BitVector bFlags
) const
1421 FCDPtrTestFCCustomAccess
*tmpPtr
;
1423 newPtr(tmpPtr
, dynamic_cast<const FCDPtrTestFCCustomAccess
*>(this), bFlags
);
1425 FieldContainerTransitPtr
returnValue(tmpPtr
);
1427 tmpPtr
->_pFieldFlags
->_bNamespaceMask
&= ~bFlags
;
1432 FieldContainerTransitPtr
FCDPtrTestFCCustomAccessBase::shallowCopyDependent(
1433 BitVector bFlags
) const
1435 FCDPtrTestFCCustomAccess
*tmpPtr
;
1437 newPtr(tmpPtr
, dynamic_cast<const FCDPtrTestFCCustomAccess
*>(this), ~bFlags
);
1439 FieldContainerTransitPtr
returnValue(tmpPtr
);
1441 tmpPtr
->_pFieldFlags
->_bNamespaceMask
= bFlags
;
1446 FieldContainerTransitPtr
FCDPtrTestFCCustomAccessBase::shallowCopy(void) const
1448 FCDPtrTestFCCustomAccess
*tmpPtr
;
1451 dynamic_cast<const FCDPtrTestFCCustomAccess
*>(this),
1452 Thread::getCurrentLocalFlags());
1454 tmpPtr
->_pFieldFlags
->_bNamespaceMask
&= ~Thread::getCurrentLocalFlags();
1456 FieldContainerTransitPtr
returnValue(tmpPtr
);
1464 /*------------------------- constructors ----------------------------------*/
1466 FCDPtrTestFCCustomAccessBase::FCDPtrTestFCCustomAccessBase(void) :
1468 _sfFieldSFPub_ptr (0),
1469 _sfFieldSFPub_weakptr (0),
1470 _sfFieldSFPub_mpchildptr (this,
1471 FieldSFPub_mpchildptrFieldId
,
1472 FCDTestFC::ParentsFieldId
),
1473 _sfFieldSFPro_ptr (0),
1474 _sfFieldSFPro_weakptr (0),
1475 _sfFieldSFPro_mpchildptr (this,
1476 FieldSFPro_mpchildptrFieldId
,
1477 FCDTestFC::ParentsFieldId
),
1478 _sfFieldSFNo_ptr (0),
1479 _sfFieldSFNo_weakptr (0),
1480 _sfFieldSFNo_mpchildptr (this,
1481 FieldSFNo_mpchildptrFieldId
,
1482 FCDTestFC::ParentsFieldId
),
1483 _mfFieldMFPub_ptr (),
1484 _mfFieldMFPub_weakptr (),
1485 _mfFieldMFPub_mpchildptr (this,
1486 FieldMFPub_mpchildptrFieldId
,
1487 FCDTestFC::ParentsFieldId
),
1488 _mfFieldMFPro_ptr (),
1489 _mfFieldMFPro_weakptr (),
1490 _mfFieldMFPro_mpchildptr (this,
1491 FieldMFPro_mpchildptrFieldId
,
1492 FCDTestFC::ParentsFieldId
),
1493 _mfFieldMFNo_ptr (),
1494 _mfFieldMFNo_weakptr (),
1495 _mfFieldMFNo_mpchildptr (this,
1496 FieldMFNo_mpchildptrFieldId
,
1497 FCDTestFC::ParentsFieldId
),
1498 _sfFieldSFPub_spchildptr (this,
1499 FieldSFPub_spchildptrFieldId
,
1500 FCDSParTestFC::ParentFieldId
),
1501 _sfFieldSFPro_spchildptr (this,
1502 FieldSFPro_spchildptrFieldId
,
1503 FCDSParTestFC::ParentFieldId
),
1504 _sfFieldSFNo_spchildptr (this,
1505 FieldSFNo_spchildptrFieldId
,
1506 FCDSParTestFC::ParentFieldId
),
1507 _mfFieldMFPub_spchildptr (this,
1508 FieldMFPub_spchildptrFieldId
,
1509 FCDSParTestFC::ParentFieldId
),
1510 _mfFieldMFPro_spchildptr (this,
1511 FieldMFPro_spchildptrFieldId
,
1512 FCDSParTestFC::ParentFieldId
),
1513 _mfFieldMFNo_spchildptr (this,
1514 FieldMFNo_spchildptrFieldId
,
1515 FCDSParTestFC::ParentFieldId
)
1519 FCDPtrTestFCCustomAccessBase::FCDPtrTestFCCustomAccessBase(const FCDPtrTestFCCustomAccessBase
&source
) :
1521 _sfFieldSFPub_ptr (NULL
),
1522 _sfFieldSFPub_weakptr (NULL
),
1523 _sfFieldSFPub_mpchildptr (this,
1524 FieldSFPub_mpchildptrFieldId
,
1525 FCDTestFC::ParentsFieldId
),
1526 _sfFieldSFPro_ptr (NULL
),
1527 _sfFieldSFPro_weakptr (NULL
),
1528 _sfFieldSFPro_mpchildptr (this,
1529 FieldSFPro_mpchildptrFieldId
,
1530 FCDTestFC::ParentsFieldId
),
1531 _sfFieldSFNo_ptr (NULL
),
1532 _sfFieldSFNo_weakptr (NULL
),
1533 _sfFieldSFNo_mpchildptr (this,
1534 FieldSFNo_mpchildptrFieldId
,
1535 FCDTestFC::ParentsFieldId
),
1536 _mfFieldMFPub_ptr (),
1537 _mfFieldMFPub_weakptr (),
1538 _mfFieldMFPub_mpchildptr (this,
1539 FieldMFPub_mpchildptrFieldId
,
1540 FCDTestFC::ParentsFieldId
),
1541 _mfFieldMFPro_ptr (),
1542 _mfFieldMFPro_weakptr (),
1543 _mfFieldMFPro_mpchildptr (this,
1544 FieldMFPro_mpchildptrFieldId
,
1545 FCDTestFC::ParentsFieldId
),
1546 _mfFieldMFNo_ptr (),
1547 _mfFieldMFNo_weakptr (),
1548 _mfFieldMFNo_mpchildptr (this,
1549 FieldMFNo_mpchildptrFieldId
,
1550 FCDTestFC::ParentsFieldId
),
1551 _sfFieldSFPub_spchildptr (this,
1552 FieldSFPub_spchildptrFieldId
,
1553 FCDSParTestFC::ParentFieldId
),
1554 _sfFieldSFPro_spchildptr (this,
1555 FieldSFPro_spchildptrFieldId
,
1556 FCDSParTestFC::ParentFieldId
),
1557 _sfFieldSFNo_spchildptr (this,
1558 FieldSFNo_spchildptrFieldId
,
1559 FCDSParTestFC::ParentFieldId
),
1560 _mfFieldMFPub_spchildptr (this,
1561 FieldMFPub_spchildptrFieldId
,
1562 FCDSParTestFC::ParentFieldId
),
1563 _mfFieldMFPro_spchildptr (this,
1564 FieldMFPro_spchildptrFieldId
,
1565 FCDSParTestFC::ParentFieldId
),
1566 _mfFieldMFNo_spchildptr (this,
1567 FieldMFNo_spchildptrFieldId
,
1568 FCDSParTestFC::ParentFieldId
)
1573 /*-------------------------- destructors ----------------------------------*/
1575 FCDPtrTestFCCustomAccessBase::~FCDPtrTestFCCustomAccessBase(void)
1579 /*-------------------------------------------------------------------------*/
1582 bool FCDPtrTestFCCustomAccessBase::unlinkChild(
1583 FieldContainer
* const pChild
,
1584 UInt16
const childFieldId
)
1586 if(childFieldId
== FieldSFPub_mpchildptrFieldId
)
1588 FCDTestFC
* pTypedChild
=
1589 dynamic_cast<FCDTestFC
*>(pChild
);
1591 if(pTypedChild
!= NULL
)
1593 if(_sfFieldSFPub_mpchildptr
.getValue() == pTypedChild
)
1595 editSField(FieldSFPub_mpchildptrFieldMask
);
1597 _sfFieldSFPub_mpchildptr
.setValue(NULL
);
1602 SWARNING
<< "Parent ([" << this
1603 << "] id [" << this->getId()
1604 << "] type [" << this->getType().getCName()
1605 << "] childFieldId [" << childFieldId
1606 << "]) - Child ([" << pChild
1607 << "] id [" << pChild
->getId()
1608 << "] type [" << pChild
->getType().getCName()
1609 << "]): link inconsistent!"
1618 if(childFieldId
== FieldSFPro_mpchildptrFieldId
)
1620 FCDTestFC
* pTypedChild
=
1621 dynamic_cast<FCDTestFC
*>(pChild
);
1623 if(pTypedChild
!= NULL
)
1625 if(_sfFieldSFPro_mpchildptr
.getValue() == pTypedChild
)
1627 editSField(FieldSFPro_mpchildptrFieldMask
);
1629 _sfFieldSFPro_mpchildptr
.setValue(NULL
);
1634 SWARNING
<< "Parent ([" << this
1635 << "] id [" << this->getId()
1636 << "] type [" << this->getType().getCName()
1637 << "] childFieldId [" << childFieldId
1638 << "]) - Child ([" << pChild
1639 << "] id [" << pChild
->getId()
1640 << "] type [" << pChild
->getType().getCName()
1641 << "]): link inconsistent!"
1650 if(childFieldId
== FieldSFNo_mpchildptrFieldId
)
1652 FCDTestFC
* pTypedChild
=
1653 dynamic_cast<FCDTestFC
*>(pChild
);
1655 if(pTypedChild
!= NULL
)
1657 if(_sfFieldSFNo_mpchildptr
.getValue() == pTypedChild
)
1659 editSField(FieldSFNo_mpchildptrFieldMask
);
1661 _sfFieldSFNo_mpchildptr
.setValue(NULL
);
1666 SWARNING
<< "Parent ([" << this
1667 << "] id [" << this->getId()
1668 << "] type [" << this->getType().getCName()
1669 << "] childFieldId [" << childFieldId
1670 << "]) - Child ([" << pChild
1671 << "] id [" << pChild
->getId()
1672 << "] type [" << pChild
->getType().getCName()
1673 << "]): link inconsistent!"
1682 if(childFieldId
== FieldMFPub_mpchildptrFieldId
)
1684 FCDTestFC
* pTypedChild
=
1685 dynamic_cast<FCDTestFC
*>(pChild
);
1687 if(pTypedChild
!= NULL
)
1689 Int32 iChildIdx
= _mfFieldMFPub_mpchildptr
.findIndex(pTypedChild
);
1693 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1695 _mfFieldMFPub_mpchildptr
.erase(iChildIdx
);
1700 SWARNING
<< "Parent ([" << this
1701 << "] id [" << this->getId()
1702 << "] type [" << this->getType().getCName()
1703 << "] childFieldId [" << childFieldId
1704 << "]) - Child ([" << pChild
1705 << "] id [" << pChild
->getId()
1706 << "] type [" << pChild
->getType().getCName()
1707 << "]): link inconsistent!"
1716 if(childFieldId
== FieldMFPro_mpchildptrFieldId
)
1718 FCDTestFC
* pTypedChild
=
1719 dynamic_cast<FCDTestFC
*>(pChild
);
1721 if(pTypedChild
!= NULL
)
1723 Int32 iChildIdx
= _mfFieldMFPro_mpchildptr
.findIndex(pTypedChild
);
1727 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1729 _mfFieldMFPro_mpchildptr
.erase(iChildIdx
);
1734 SWARNING
<< "Parent ([" << this
1735 << "] id [" << this->getId()
1736 << "] type [" << this->getType().getCName()
1737 << "] childFieldId [" << childFieldId
1738 << "]) - Child ([" << pChild
1739 << "] id [" << pChild
->getId()
1740 << "] type [" << pChild
->getType().getCName()
1741 << "]): link inconsistent!"
1750 if(childFieldId
== FieldMFNo_mpchildptrFieldId
)
1752 FCDTestFC
* pTypedChild
=
1753 dynamic_cast<FCDTestFC
*>(pChild
);
1755 if(pTypedChild
!= NULL
)
1757 Int32 iChildIdx
= _mfFieldMFNo_mpchildptr
.findIndex(pTypedChild
);
1761 editMField(FieldMFNo_mpchildptrFieldMask
, _mfFieldMFNo_mpchildptr
);
1763 _mfFieldMFNo_mpchildptr
.erase(iChildIdx
);
1768 SWARNING
<< "Parent ([" << this
1769 << "] id [" << this->getId()
1770 << "] type [" << this->getType().getCName()
1771 << "] childFieldId [" << childFieldId
1772 << "]) - Child ([" << pChild
1773 << "] id [" << pChild
->getId()
1774 << "] type [" << pChild
->getType().getCName()
1775 << "]): link inconsistent!"
1784 if(childFieldId
== FieldSFPub_spchildptrFieldId
)
1786 FCDSParTestFC
* pTypedChild
=
1787 dynamic_cast<FCDSParTestFC
*>(pChild
);
1789 if(pTypedChild
!= NULL
)
1791 if(_sfFieldSFPub_spchildptr
.getValue() == pTypedChild
)
1793 editSField(FieldSFPub_spchildptrFieldMask
);
1795 _sfFieldSFPub_spchildptr
.setValue(NULL
);
1800 SWARNING
<< "Parent ([" << this
1801 << "] id [" << this->getId()
1802 << "] type [" << this->getType().getCName()
1803 << "] childFieldId [" << childFieldId
1804 << "]) - Child ([" << pChild
1805 << "] id [" << pChild
->getId()
1806 << "] type [" << pChild
->getType().getCName()
1807 << "]): link inconsistent!"
1816 if(childFieldId
== FieldSFPro_spchildptrFieldId
)
1818 FCDSParTestFC
* pTypedChild
=
1819 dynamic_cast<FCDSParTestFC
*>(pChild
);
1821 if(pTypedChild
!= NULL
)
1823 if(_sfFieldSFPro_spchildptr
.getValue() == pTypedChild
)
1825 editSField(FieldSFPro_spchildptrFieldMask
);
1827 _sfFieldSFPro_spchildptr
.setValue(NULL
);
1832 SWARNING
<< "Parent ([" << this
1833 << "] id [" << this->getId()
1834 << "] type [" << this->getType().getCName()
1835 << "] childFieldId [" << childFieldId
1836 << "]) - Child ([" << pChild
1837 << "] id [" << pChild
->getId()
1838 << "] type [" << pChild
->getType().getCName()
1839 << "]): link inconsistent!"
1848 if(childFieldId
== FieldSFNo_spchildptrFieldId
)
1850 FCDSParTestFC
* pTypedChild
=
1851 dynamic_cast<FCDSParTestFC
*>(pChild
);
1853 if(pTypedChild
!= NULL
)
1855 if(_sfFieldSFNo_spchildptr
.getValue() == pTypedChild
)
1857 editSField(FieldSFNo_spchildptrFieldMask
);
1859 _sfFieldSFNo_spchildptr
.setValue(NULL
);
1864 SWARNING
<< "Parent ([" << this
1865 << "] id [" << this->getId()
1866 << "] type [" << this->getType().getCName()
1867 << "] childFieldId [" << childFieldId
1868 << "]) - Child ([" << pChild
1869 << "] id [" << pChild
->getId()
1870 << "] type [" << pChild
->getType().getCName()
1871 << "]): link inconsistent!"
1880 if(childFieldId
== FieldMFPub_spchildptrFieldId
)
1882 FCDSParTestFC
* pTypedChild
=
1883 dynamic_cast<FCDSParTestFC
*>(pChild
);
1885 if(pTypedChild
!= NULL
)
1887 Int32 iChildIdx
= _mfFieldMFPub_spchildptr
.findIndex(pTypedChild
);
1891 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1893 _mfFieldMFPub_spchildptr
.erase(iChildIdx
);
1898 SWARNING
<< "Parent ([" << this
1899 << "] id [" << this->getId()
1900 << "] type [" << this->getType().getCName()
1901 << "] childFieldId [" << childFieldId
1902 << "]) - Child ([" << pChild
1903 << "] id [" << pChild
->getId()
1904 << "] type [" << pChild
->getType().getCName()
1905 << "]): link inconsistent!"
1914 if(childFieldId
== FieldMFPro_spchildptrFieldId
)
1916 FCDSParTestFC
* pTypedChild
=
1917 dynamic_cast<FCDSParTestFC
*>(pChild
);
1919 if(pTypedChild
!= NULL
)
1921 Int32 iChildIdx
= _mfFieldMFPro_spchildptr
.findIndex(pTypedChild
);
1925 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1927 _mfFieldMFPro_spchildptr
.erase(iChildIdx
);
1932 SWARNING
<< "Parent ([" << this
1933 << "] id [" << this->getId()
1934 << "] type [" << this->getType().getCName()
1935 << "] childFieldId [" << childFieldId
1936 << "]) - Child ([" << pChild
1937 << "] id [" << pChild
->getId()
1938 << "] type [" << pChild
->getType().getCName()
1939 << "]): link inconsistent!"
1948 if(childFieldId
== FieldMFNo_spchildptrFieldId
)
1950 FCDSParTestFC
* pTypedChild
=
1951 dynamic_cast<FCDSParTestFC
*>(pChild
);
1953 if(pTypedChild
!= NULL
)
1955 Int32 iChildIdx
= _mfFieldMFNo_spchildptr
.findIndex(pTypedChild
);
1959 editMField(FieldMFNo_spchildptrFieldMask
, _mfFieldMFNo_spchildptr
);
1961 _mfFieldMFNo_spchildptr
.erase(iChildIdx
);
1966 SWARNING
<< "Parent ([" << this
1967 << "] id [" << this->getId()
1968 << "] type [" << this->getType().getCName()
1969 << "] childFieldId [" << childFieldId
1970 << "]) - Child ([" << pChild
1971 << "] id [" << pChild
->getId()
1972 << "] type [" << pChild
->getType().getCName()
1973 << "]): link inconsistent!"
1983 return Inherited::unlinkChild(pChild
, childFieldId
);
1986 void FCDPtrTestFCCustomAccessBase::onCreate(const FCDPtrTestFCCustomAccess
*source
)
1988 Inherited::onCreate(source
);
1992 FCDPtrTestFCCustomAccess
*pThis
= static_cast<FCDPtrTestFCCustomAccess
*>(this);
1994 pThis
->setFieldSFPub_ptr(source
->getFieldSFPub_ptr());
1996 pThis
->setFieldSFPub_weakptr(source
->getFieldSFPub_weakptr());
1998 pThis
->setFieldSFPub_mpchildptr(source
->getFieldSFPub_mpchildptr());
2000 pThis
->setFieldSFPro_ptr(source
->getFieldSFPro_ptr());
2002 pThis
->setFieldSFPro_weakptr(source
->getFieldSFPro_weakptr());
2004 pThis
->setFieldSFPro_mpchildptr(source
->getFieldSFPro_mpchildptr());
2006 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrIt
=
2007 source
->_mfFieldMFPub_ptr
.begin();
2008 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrEnd
=
2009 source
->_mfFieldMFPub_ptr
.end ();
2011 while(FieldMFPub_ptrIt
!= FieldMFPub_ptrEnd
)
2013 pThis
->pushToFieldMFPub_ptr(*FieldMFPub_ptrIt
);
2018 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrIt
=
2019 source
->_mfFieldMFPub_weakptr
.begin();
2020 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrEnd
=
2021 source
->_mfFieldMFPub_weakptr
.end ();
2023 while(FieldMFPub_weakptrIt
!= FieldMFPub_weakptrEnd
)
2025 pThis
->pushToFieldMFPub_weakptr(*FieldMFPub_weakptrIt
);
2027 ++FieldMFPub_weakptrIt
;
2030 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrIt
=
2031 source
->_mfFieldMFPub_mpchildptr
.begin();
2032 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrEnd
=
2033 source
->_mfFieldMFPub_mpchildptr
.end ();
2035 while(FieldMFPub_mpchildptrIt
!= FieldMFPub_mpchildptrEnd
)
2037 pThis
->pushToFieldMFPub_mpchildptr(*FieldMFPub_mpchildptrIt
);
2039 ++FieldMFPub_mpchildptrIt
;
2042 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrIt
=
2043 source
->_mfFieldMFPro_ptr
.begin();
2044 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrEnd
=
2045 source
->_mfFieldMFPro_ptr
.end ();
2047 while(FieldMFPro_ptrIt
!= FieldMFPro_ptrEnd
)
2049 pThis
->pushToFieldMFPro_ptr(*FieldMFPro_ptrIt
);
2054 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrIt
=
2055 source
->_mfFieldMFPro_weakptr
.begin();
2056 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrEnd
=
2057 source
->_mfFieldMFPro_weakptr
.end ();
2059 while(FieldMFPro_weakptrIt
!= FieldMFPro_weakptrEnd
)
2061 pThis
->pushToFieldMFPro_weakptr(*FieldMFPro_weakptrIt
);
2063 ++FieldMFPro_weakptrIt
;
2066 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrIt
=
2067 source
->_mfFieldMFPro_mpchildptr
.begin();
2068 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrEnd
=
2069 source
->_mfFieldMFPro_mpchildptr
.end ();
2071 while(FieldMFPro_mpchildptrIt
!= FieldMFPro_mpchildptrEnd
)
2073 pThis
->pushToFieldMFPro_mpchildptr(*FieldMFPro_mpchildptrIt
);
2075 ++FieldMFPro_mpchildptrIt
;
2078 pThis
->setFieldSFPub_spchildptr(source
->getFieldSFPub_spchildptr());
2080 pThis
->setFieldSFPro_spchildptr(source
->getFieldSFPro_spchildptr());
2082 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrIt
=
2083 source
->_mfFieldMFPub_spchildptr
.begin();
2084 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrEnd
=
2085 source
->_mfFieldMFPub_spchildptr
.end ();
2087 while(FieldMFPub_spchildptrIt
!= FieldMFPub_spchildptrEnd
)
2089 pThis
->pushToFieldMFPub_spchildptr(*FieldMFPub_spchildptrIt
);
2091 ++FieldMFPub_spchildptrIt
;
2094 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrIt
=
2095 source
->_mfFieldMFPro_spchildptr
.begin();
2096 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrEnd
=
2097 source
->_mfFieldMFPro_spchildptr
.end ();
2099 while(FieldMFPro_spchildptrIt
!= FieldMFPro_spchildptrEnd
)
2101 pThis
->pushToFieldMFPro_spchildptr(*FieldMFPro_spchildptrIt
);
2103 ++FieldMFPro_spchildptrIt
;
2108 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPub_ptr (void) const
2110 SFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
2111 new SFUnrecFCDTestFCPtr::GetHandle(
2113 this->getType().getFieldDesc(FieldSFPub_ptrFieldId
),
2114 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2119 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPub_ptr (void)
2121 SFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
2122 new SFUnrecFCDTestFCPtr::EditHandle(
2124 this->getType().getFieldDesc(FieldSFPub_ptrFieldId
),
2127 returnValue
->setSetMethod(
2128 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPub_ptr
,
2129 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2131 editSField(FieldSFPub_ptrFieldMask
);
2136 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPub_weakptr (void) const
2138 SFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
2139 new SFWeakFCDTestFCPtr::GetHandle(
2140 &_sfFieldSFPub_weakptr
,
2141 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId
),
2142 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2147 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPub_weakptr(void)
2149 SFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
2150 new SFWeakFCDTestFCPtr::EditHandle(
2151 &_sfFieldSFPub_weakptr
,
2152 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId
),
2155 returnValue
->setSetMethod(
2156 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPub_weakptr
,
2157 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2159 editSField(FieldSFPub_weakptrFieldMask
);
2164 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPub_mpchildptr (void) const
2166 SFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
2167 new SFUnrecChildFCDTestFCPtr::GetHandle(
2168 &_sfFieldSFPub_mpchildptr
,
2169 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId
),
2170 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2175 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPub_mpchildptr(void)
2177 SFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
2178 new SFUnrecChildFCDTestFCPtr::EditHandle(
2179 &_sfFieldSFPub_mpchildptr
,
2180 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId
),
2183 returnValue
->setSetMethod(
2184 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPub_mpchildptr
,
2185 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2187 editSField(FieldSFPub_mpchildptrFieldMask
);
2192 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPro_ptr (void) const
2194 SFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
2195 new SFUnrecFCDTestFCPtr::GetHandle(
2197 this->getType().getFieldDesc(FieldSFPro_ptrFieldId
),
2198 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2203 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPro_ptr (void)
2205 SFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
2206 new SFUnrecFCDTestFCPtr::EditHandle(
2208 this->getType().getFieldDesc(FieldSFPro_ptrFieldId
),
2211 returnValue
->setSetMethod(
2212 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPro_ptr
,
2213 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2215 editSField(FieldSFPro_ptrFieldMask
);
2220 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPro_weakptr (void) const
2222 SFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
2223 new SFWeakFCDTestFCPtr::GetHandle(
2224 &_sfFieldSFPro_weakptr
,
2225 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId
),
2226 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2231 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPro_weakptr(void)
2233 SFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
2234 new SFWeakFCDTestFCPtr::EditHandle(
2235 &_sfFieldSFPro_weakptr
,
2236 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId
),
2239 returnValue
->setSetMethod(
2240 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPro_weakptr
,
2241 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2243 editSField(FieldSFPro_weakptrFieldMask
);
2248 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPro_mpchildptr (void) const
2250 SFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
2251 new SFUnrecChildFCDTestFCPtr::GetHandle(
2252 &_sfFieldSFPro_mpchildptr
,
2253 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId
),
2254 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2259 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPro_mpchildptr(void)
2261 SFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
2262 new SFUnrecChildFCDTestFCPtr::EditHandle(
2263 &_sfFieldSFPro_mpchildptr
,
2264 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId
),
2267 returnValue
->setSetMethod(
2268 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPro_mpchildptr
,
2269 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2271 editSField(FieldSFPro_mpchildptrFieldMask
);
2276 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFNo_ptr (void) const
2278 SFUnrecFCDTestFCPtr::GetHandlePtr returnValue
;
2283 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFNo_ptr (void)
2285 EditFieldHandlePtr returnValue
;
2290 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFNo_weakptr (void) const
2292 SFWeakFCDTestFCPtr::GetHandlePtr returnValue
;
2297 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFNo_weakptr(void)
2299 EditFieldHandlePtr returnValue
;
2304 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFNo_mpchildptr (void) const
2306 SFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue
;
2311 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFNo_mpchildptr(void)
2313 EditFieldHandlePtr returnValue
;
2318 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPub_ptr (void) const
2320 MFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
2321 new MFUnrecFCDTestFCPtr::GetHandle(
2323 this->getType().getFieldDesc(FieldMFPub_ptrFieldId
),
2324 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2329 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPub_ptr (void)
2331 MFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
2332 new MFUnrecFCDTestFCPtr::EditHandle(
2334 this->getType().getFieldDesc(FieldMFPub_ptrFieldId
),
2338 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
2343 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPub_weakptr (void) const
2345 MFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
2346 new MFWeakFCDTestFCPtr::GetHandle(
2347 &_mfFieldMFPub_weakptr
,
2348 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId
),
2349 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2354 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPub_weakptr(void)
2356 MFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
2357 new MFWeakFCDTestFCPtr::EditHandle(
2358 &_mfFieldMFPub_weakptr
,
2359 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId
),
2363 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
2368 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPub_mpchildptr (void) const
2370 MFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
2371 new MFUnrecChildFCDTestFCPtr::GetHandle(
2372 &_mfFieldMFPub_mpchildptr
,
2373 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId
),
2374 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2379 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPub_mpchildptr(void)
2381 MFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
2382 new MFUnrecChildFCDTestFCPtr::EditHandle(
2383 &_mfFieldMFPub_mpchildptr
,
2384 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId
),
2388 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
2393 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPro_ptr (void) const
2395 MFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
2396 new MFUnrecFCDTestFCPtr::GetHandle(
2398 this->getType().getFieldDesc(FieldMFPro_ptrFieldId
),
2399 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2404 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPro_ptr (void)
2406 MFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
2407 new MFUnrecFCDTestFCPtr::EditHandle(
2409 this->getType().getFieldDesc(FieldMFPro_ptrFieldId
),
2413 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
2418 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPro_weakptr (void) const
2420 MFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
2421 new MFWeakFCDTestFCPtr::GetHandle(
2422 &_mfFieldMFPro_weakptr
,
2423 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId
),
2424 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2429 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPro_weakptr(void)
2431 MFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
2432 new MFWeakFCDTestFCPtr::EditHandle(
2433 &_mfFieldMFPro_weakptr
,
2434 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId
),
2438 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
2443 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPro_mpchildptr (void) const
2445 MFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
2446 new MFUnrecChildFCDTestFCPtr::GetHandle(
2447 &_mfFieldMFPro_mpchildptr
,
2448 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId
),
2449 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2454 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPro_mpchildptr(void)
2456 MFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
2457 new MFUnrecChildFCDTestFCPtr::EditHandle(
2458 &_mfFieldMFPro_mpchildptr
,
2459 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId
),
2463 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
2468 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFNo_ptr (void) const
2470 MFUnrecFCDTestFCPtr::GetHandlePtr returnValue
;
2475 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFNo_ptr (void)
2477 EditFieldHandlePtr returnValue
;
2482 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFNo_weakptr (void) const
2484 MFWeakFCDTestFCPtr::GetHandlePtr returnValue
;
2489 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFNo_weakptr(void)
2491 EditFieldHandlePtr returnValue
;
2496 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFNo_mpchildptr (void) const
2498 MFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue
;
2503 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFNo_mpchildptr(void)
2505 EditFieldHandlePtr returnValue
;
2510 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPub_spchildptr (void) const
2512 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
2513 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
2514 &_sfFieldSFPub_spchildptr
,
2515 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId
),
2516 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2521 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPub_spchildptr(void)
2523 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
2524 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
2525 &_sfFieldSFPub_spchildptr
,
2526 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId
),
2529 returnValue
->setSetMethod(
2530 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPub_spchildptr
,
2531 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2533 editSField(FieldSFPub_spchildptrFieldMask
);
2538 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFPro_spchildptr (void) const
2540 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
2541 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
2542 &_sfFieldSFPro_spchildptr
,
2543 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId
),
2544 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2549 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFPro_spchildptr(void)
2551 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
2552 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
2553 &_sfFieldSFPro_spchildptr
,
2554 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId
),
2557 returnValue
->setSetMethod(
2558 boost::bind(&FCDPtrTestFCCustomAccess::setFieldSFPro_spchildptr
,
2559 static_cast<FCDPtrTestFCCustomAccess
*>(this), _1
));
2561 editSField(FieldSFPro_spchildptrFieldMask
);
2566 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldSFNo_spchildptr (void) const
2568 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue
;
2573 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldSFNo_spchildptr(void)
2575 EditFieldHandlePtr returnValue
;
2580 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPub_spchildptr (void) const
2582 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
2583 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
2584 &_mfFieldMFPub_spchildptr
,
2585 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId
),
2586 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2591 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPub_spchildptr(void)
2593 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
2594 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
2595 &_mfFieldMFPub_spchildptr
,
2596 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId
),
2600 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
2605 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFPro_spchildptr (void) const
2607 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
2608 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
2609 &_mfFieldMFPro_spchildptr
,
2610 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId
),
2611 const_cast<FCDPtrTestFCCustomAccessBase
*>(this)));
2616 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFPro_spchildptr(void)
2618 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
2619 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
2620 &_mfFieldMFPro_spchildptr
,
2621 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId
),
2625 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
2630 GetFieldHandlePtr
FCDPtrTestFCCustomAccessBase::getHandleFieldMFNo_spchildptr (void) const
2632 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue
;
2637 EditFieldHandlePtr
FCDPtrTestFCCustomAccessBase::editHandleFieldMFNo_spchildptr(void)
2639 EditFieldHandlePtr returnValue
;
2645 #ifdef OSG_MT_CPTR_ASPECT
2646 void FCDPtrTestFCCustomAccessBase::execSyncV( FieldContainer
&oFrom
,
2647 ConstFieldMaskArg whichField
,
2648 AspectOffsetStore
&oOffsets
,
2649 ConstFieldMaskArg syncMode
,
2650 const UInt32 uiSyncInfo
)
2652 FCDPtrTestFCCustomAccess
*pThis
= static_cast<FCDPtrTestFCCustomAccess
*>(this);
2654 pThis
->execSync(static_cast<FCDPtrTestFCCustomAccess
*>(&oFrom
),
2663 #ifdef OSG_MT_CPTR_ASPECT
2664 FieldContainer
*FCDPtrTestFCCustomAccessBase::createAspectCopy(
2665 const FieldContainer
*pRefAspect
) const
2667 FCDPtrTestFCCustomAccess
*returnValue
;
2669 newAspectCopy(returnValue
,
2670 dynamic_cast<const FCDPtrTestFCCustomAccess
*>(pRefAspect
),
2671 dynamic_cast<const FCDPtrTestFCCustomAccess
*>(this));
2677 void FCDPtrTestFCCustomAccessBase::resolveLinks(void)
2679 Inherited::resolveLinks();
2681 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPub_ptr(NULL
);
2683 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPub_weakptr(NULL
);
2685 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPub_mpchildptr(NULL
);
2687 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPro_ptr(NULL
);
2689 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPro_weakptr(NULL
);
2691 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPro_mpchildptr(NULL
);
2693 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPub_ptr();
2695 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPub_weakptr();
2697 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPub_mpchildptr();
2699 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPro_ptr();
2701 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPro_weakptr();
2703 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPro_mpchildptr();
2705 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPub_spchildptr(NULL
);
2707 static_cast<FCDPtrTestFCCustomAccess
*>(this)->setFieldSFPro_spchildptr(NULL
);
2709 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPub_spchildptr();
2711 static_cast<FCDPtrTestFCCustomAccess
*>(this)->clearFieldMFPro_spchildptr();