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 FCDPtrTestFCNullCheckAccess!
50 *****************************************************************************
51 \*****************************************************************************/
56 #include "OSGConfig.h"
60 #include "OSGFCDTestFC.h" // FieldSFPub_ptr Class
61 #include "OSGFCDSParTestFC.h" // FieldSFPub_spchildptr Class
63 #include "OSGFCDPtrTestFCNullCheckAccessBase.h"
64 #include "OSGFCDPtrTestFCNullCheckAccess.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::FCDPtrTestFCNullCheckAccess
82 /***************************************************************************\
83 * Field Documentation *
84 \***************************************************************************/
86 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPub_ptr
90 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPub_weakptr
94 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPub_mpchildptr
98 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPro_ptr
102 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPro_weakptr
106 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPro_mpchildptr
110 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFNo_ptr
114 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFNo_weakptr
118 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFNo_mpchildptr
122 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPub_ptr
126 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPub_weakptr
130 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPub_mpchildptr
134 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPro_ptr
138 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPro_weakptr
142 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPro_mpchildptr
146 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFNo_ptr
150 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFNo_weakptr
154 /*! \var FCDTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFNo_mpchildptr
158 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPub_spchildptr
162 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFPro_spchildptr
166 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_sfFieldSFNo_spchildptr
170 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPub_spchildptr
174 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFPro_spchildptr
178 /*! \var FCDSParTestFC * FCDPtrTestFCNullCheckAccessBase::_mfFieldMFNo_spchildptr
183 /***************************************************************************\
184 * FieldType/FieldTrait Instantiation *
185 \***************************************************************************/
187 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
188 PointerType FieldTraits
<FCDPtrTestFCNullCheckAccess
*, nsOSG
>::_type(
189 "FCDPtrTestFCNullCheckAccessPtr",
191 FCDPtrTestFCNullCheckAccess::getClassType(),
195 OSG_FIELDTRAITS_GETTYPE_NS(FCDPtrTestFCNullCheckAccess
*, nsOSG
)
197 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField
,
198 FCDPtrTestFCNullCheckAccess
*,
201 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField
,
202 FCDPtrTestFCNullCheckAccess
*,
205 /***************************************************************************\
206 * Field Description *
207 \***************************************************************************/
209 void FCDPtrTestFCNullCheckAccessBase::classDescInserter(TypeObject
&oType
)
211 FieldDescriptionBase
*pDesc
= NULL
;
214 pDesc
= new SFUnrecFCDTestFCPtr::Description(
215 SFUnrecFCDTestFCPtr::getClassType(),
218 FieldSFPub_ptrFieldId
, FieldSFPub_ptrFieldMask
,
220 (Field::SFDefaultFlags
| Field::FNullCheckAccess
),
221 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPub_ptr
),
222 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
233 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPub_weakptr
),
234 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
245 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPub_mpchildptr
),
246 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::getHandleFieldSFPub_mpchildptr
));
248 oType
.addInitialDesc(pDesc
);
250 pDesc
= new SFUnrecFCDTestFCPtr::Description(
251 SFUnrecFCDTestFCPtr::getClassType(),
254 FieldSFPro_ptrFieldId
, FieldSFPro_ptrFieldMask
,
256 (Field::SFDefaultFlags
| Field::FNullCheckAccess
),
257 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPro_ptr
),
258 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
269 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPro_weakptr
),
270 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
281 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPro_mpchildptr
),
282 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::getHandleFieldSFPro_mpchildptr
));
284 oType
.addInitialDesc(pDesc
);
286 pDesc
= new SFUnrecFCDTestFCPtr::Description(
287 SFUnrecFCDTestFCPtr::getClassType(),
290 FieldSFNo_ptrFieldId
, FieldSFNo_ptrFieldMask
,
292 (Field::SFDefaultFlags
| Field::FNullCheckAccess
),
293 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
294 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidGetField
));
296 oType
.addInitialDesc(pDesc
);
298 pDesc
= new SFWeakFCDTestFCPtr::Description(
299 SFWeakFCDTestFCPtr::getClassType(),
302 FieldSFNo_weakptrFieldId
, FieldSFNo_weakptrFieldMask
,
304 (Field::SFDefaultFlags
| Field::FNullCheckAccess
),
305 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
306 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
317 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
318 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidGetField
));
320 oType
.addInitialDesc(pDesc
);
322 pDesc
= new MFUnrecFCDTestFCPtr::Description(
323 MFUnrecFCDTestFCPtr::getClassType(),
326 FieldMFPub_ptrFieldId
, FieldMFPub_ptrFieldMask
,
328 (Field::MFDefaultFlags
| Field::FNullCheckAccess
),
329 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPub_ptr
),
330 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
341 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPub_weakptr
),
342 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
353 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPub_mpchildptr
),
354 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::getHandleFieldMFPub_mpchildptr
));
356 oType
.addInitialDesc(pDesc
);
358 pDesc
= new MFUnrecFCDTestFCPtr::Description(
359 MFUnrecFCDTestFCPtr::getClassType(),
362 FieldMFPro_ptrFieldId
, FieldMFPro_ptrFieldMask
,
364 (Field::MFDefaultFlags
| Field::FNullCheckAccess
),
365 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPro_ptr
),
366 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
377 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPro_weakptr
),
378 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
389 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPro_mpchildptr
),
390 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::getHandleFieldMFPro_mpchildptr
));
392 oType
.addInitialDesc(pDesc
);
394 pDesc
= new MFUnrecFCDTestFCPtr::Description(
395 MFUnrecFCDTestFCPtr::getClassType(),
398 FieldMFNo_ptrFieldId
, FieldMFNo_ptrFieldMask
,
400 (Field::MFDefaultFlags
| Field::FNullCheckAccess
),
401 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
402 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidGetField
));
404 oType
.addInitialDesc(pDesc
);
406 pDesc
= new MFWeakFCDTestFCPtr::Description(
407 MFWeakFCDTestFCPtr::getClassType(),
410 FieldMFNo_weakptrFieldId
, FieldMFNo_weakptrFieldMask
,
412 (Field::MFDefaultFlags
| Field::FNullCheckAccess
),
413 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
414 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
425 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
426 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
437 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPub_spchildptr
),
438 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
449 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldSFPro_spchildptr
),
450 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
461 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
462 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
473 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPub_spchildptr
),
474 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
485 static_cast<FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::editHandleFieldMFPro_spchildptr
),
486 static_cast<FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::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::FNullCheckAccess
),
497 static_cast <FieldEditMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidEditField
),
498 static_cast <FieldGetMethodSig
>(&FCDPtrTestFCNullCheckAccess::invalidGetField
));
500 oType
.addInitialDesc(pDesc
);
504 FCDPtrTestFCNullCheckAccessBase::TypeObject
FCDPtrTestFCNullCheckAccessBase::_type(
505 FCDPtrTestFCNullCheckAccessBase::getClassname(),
506 Inherited::getClassname(),
509 reinterpret_cast<PrototypeCreateF
>(&FCDPtrTestFCNullCheckAccessBase::createEmptyLocal
),
510 FCDPtrTestFCNullCheckAccess::initMethod
,
511 FCDPtrTestFCNullCheckAccess::exitMethod
,
512 reinterpret_cast<InitalInsertDescFunc
>(&FCDPtrTestFCNullCheckAccess::classDescInserter
),
515 "<?xml version=\"1.0\" ?>\n"
518 "\tname=\"FCDPtrTestFCNullCheckAccess\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\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 = \"nullCheck\"\n"
869 "</FieldContainer>\n",
873 /*------------------------------ get -----------------------------------*/
875 FieldContainerType
&FCDPtrTestFCNullCheckAccessBase::getType(void)
880 const FieldContainerType
&FCDPtrTestFCNullCheckAccessBase::getType(void) const
885 UInt32
FCDPtrTestFCNullCheckAccessBase::getContainerSize(void) const
887 return sizeof(FCDPtrTestFCNullCheckAccess
);
890 /*------------------------- decorator get ------------------------------*/
893 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPub_ptr field.
894 const SFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPub_ptr(void) const
896 return &_sfFieldSFPub_ptr
;
899 SFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPub_ptr (void)
901 editSField(FieldSFPub_ptrFieldMask
);
903 return &_sfFieldSFPub_ptr
;
906 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPub_weakptr field.
907 const SFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPub_weakptr(void) const
909 return &_sfFieldSFPub_weakptr
;
912 SFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPub_weakptr(void)
914 editSField(FieldSFPub_weakptrFieldMask
);
916 return &_sfFieldSFPub_weakptr
;
919 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPub_mpchildptr field.
920 const SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPub_mpchildptr(void) const
922 return &_sfFieldSFPub_mpchildptr
;
925 SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPub_mpchildptr(void)
927 editSField(FieldSFPub_mpchildptrFieldMask
);
929 return &_sfFieldSFPub_mpchildptr
;
932 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPro_ptr field.
933 const SFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPro_ptr(void) const
935 return &_sfFieldSFPro_ptr
;
938 SFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPro_ptr (void)
940 editSField(FieldSFPro_ptrFieldMask
);
942 return &_sfFieldSFPro_ptr
;
945 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPro_weakptr field.
946 const SFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPro_weakptr(void) const
948 return &_sfFieldSFPro_weakptr
;
951 SFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPro_weakptr(void)
953 editSField(FieldSFPro_weakptrFieldMask
);
955 return &_sfFieldSFPro_weakptr
;
958 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPro_mpchildptr field.
959 const SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPro_mpchildptr(void) const
961 return &_sfFieldSFPro_mpchildptr
;
964 SFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPro_mpchildptr(void)
966 editSField(FieldSFPro_mpchildptrFieldMask
);
968 return &_sfFieldSFPro_mpchildptr
;
974 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPub_ptr field.
975 const MFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPub_ptr(void) const
977 return &_mfFieldMFPub_ptr
;
980 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPub_weakptr field.
981 const MFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPub_weakptr(void) const
983 return &_mfFieldMFPub_weakptr
;
986 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPub_mpchildptr field.
987 const MFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPub_mpchildptr(void) const
989 return &_mfFieldMFPub_mpchildptr
;
992 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPro_ptr field.
993 const MFUnrecFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPro_ptr(void) const
995 return &_mfFieldMFPro_ptr
;
998 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPro_weakptr field.
999 const MFWeakFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPro_weakptr(void) const
1001 return &_mfFieldMFPro_weakptr
;
1004 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPro_mpchildptr field.
1005 const MFUnrecChildFCDTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPro_mpchildptr(void) const
1007 return &_mfFieldMFPro_mpchildptr
;
1013 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPub_spchildptr field.
1014 const SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPub_spchildptr(void) const
1016 return &_sfFieldSFPub_spchildptr
;
1019 SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPub_spchildptr(void)
1021 editSField(FieldSFPub_spchildptrFieldMask
);
1023 return &_sfFieldSFPub_spchildptr
;
1026 //! Get the FCDPtrTestFCNullCheckAccess::_sfFieldSFPro_spchildptr field.
1027 const SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getSFFieldSFPro_spchildptr(void) const
1029 return &_sfFieldSFPro_spchildptr
;
1032 SFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::editSFFieldSFPro_spchildptr(void)
1034 editSField(FieldSFPro_spchildptrFieldMask
);
1036 return &_sfFieldSFPro_spchildptr
;
1040 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPub_spchildptr field.
1041 const MFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPub_spchildptr(void) const
1043 return &_mfFieldMFPub_spchildptr
;
1046 //! Get the FCDPtrTestFCNullCheckAccess::_mfFieldMFPro_spchildptr field.
1047 const MFUnrecChildFCDSParTestFCPtr
*FCDPtrTestFCNullCheckAccessBase::getMFFieldMFPro_spchildptr(void) const
1049 return &_mfFieldMFPro_spchildptr
;
1055 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPub_ptr(FCDTestFC
* const value
)
1060 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1062 _mfFieldMFPub_ptr
.push_back(value
);
1065 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPub_ptr(const MFUnrecFCDTestFCPtr
&value
)
1067 MFUnrecFCDTestFCPtr::const_iterator elemIt
=
1069 MFUnrecFCDTestFCPtr::const_iterator elemEnd
=
1072 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_ptr();
1074 while(elemIt
!= elemEnd
)
1076 this->pushToFieldMFPub_ptr(*elemIt
);
1082 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPub_ptr(UInt32 uiIndex
,
1083 FCDTestFC
* const value
)
1088 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1090 MFUnrecFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPub_ptr
.begin_nc();
1094 _mfFieldMFPub_ptr
.insert(fieldIt
, value
);
1097 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPub_ptr(UInt32 uiIndex
,
1098 FCDTestFC
* const value
)
1103 if(uiIndex
>= _mfFieldMFPub_ptr
.size())
1106 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1108 _mfFieldMFPub_ptr
.replace(uiIndex
, value
);
1111 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPub_ptr(FCDTestFC
* const pOldElem
,
1112 FCDTestFC
* const pNewElem
)
1114 if(pNewElem
== NULL
)
1117 Int32 elemIdx
= _mfFieldMFPub_ptr
.findIndex(pOldElem
);
1121 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1123 _mfFieldMFPub_ptr
.replace(elemIdx
, pNewElem
);
1127 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPub_ptr(UInt32 uiIndex
)
1129 if(uiIndex
< _mfFieldMFPub_ptr
.size())
1131 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1133 _mfFieldMFPub_ptr
.erase(uiIndex
);
1137 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPub_ptr(FCDTestFC
* const value
)
1139 Int32 iElemIdx
= _mfFieldMFPub_ptr
.findIndex(value
);
1143 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1145 _mfFieldMFPub_ptr
.erase(iElemIdx
);
1148 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPub_ptr(void)
1150 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
1153 _mfFieldMFPub_ptr
.clear();
1156 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPub_weakptr(FCDTestFC
* const value
)
1161 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1163 _mfFieldMFPub_weakptr
.push_back(value
);
1166 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPub_weakptr(const MFWeakFCDTestFCPtr
&value
)
1168 MFWeakFCDTestFCPtr::const_iterator elemIt
=
1170 MFWeakFCDTestFCPtr::const_iterator elemEnd
=
1173 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_weakptr();
1175 while(elemIt
!= elemEnd
)
1177 this->pushToFieldMFPub_weakptr(*elemIt
);
1183 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPub_weakptr(UInt32 uiIndex
,
1184 FCDTestFC
* const value
)
1189 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1191 MFWeakFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPub_weakptr
.begin_nc();
1195 _mfFieldMFPub_weakptr
.insert(fieldIt
, value
);
1198 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPub_weakptr(UInt32 uiIndex
,
1199 FCDTestFC
* const value
)
1204 if(uiIndex
>= _mfFieldMFPub_weakptr
.size())
1207 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1209 _mfFieldMFPub_weakptr
.replace(uiIndex
, value
);
1212 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPub_weakptr(FCDTestFC
* const pOldElem
,
1213 FCDTestFC
* const pNewElem
)
1215 if(pNewElem
== NULL
)
1218 Int32 elemIdx
= _mfFieldMFPub_weakptr
.findIndex(pOldElem
);
1222 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1224 _mfFieldMFPub_weakptr
.replace(elemIdx
, pNewElem
);
1228 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPub_weakptr(UInt32 uiIndex
)
1230 if(uiIndex
< _mfFieldMFPub_weakptr
.size())
1232 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1234 _mfFieldMFPub_weakptr
.erase(uiIndex
);
1238 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPub_weakptr(FCDTestFC
* const value
)
1240 Int32 iElemIdx
= _mfFieldMFPub_weakptr
.findIndex(value
);
1244 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1246 _mfFieldMFPub_weakptr
.erase(iElemIdx
);
1249 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPub_weakptr(void)
1251 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
1254 _mfFieldMFPub_weakptr
.clear();
1257 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPub_mpchildptr(FCDTestFC
* const value
)
1262 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1264 _mfFieldMFPub_mpchildptr
.push_back(value
);
1267 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPub_mpchildptr(const MFUnrecChildFCDTestFCPtr
&value
)
1269 MFUnrecChildFCDTestFCPtr::const_iterator elemIt
=
1271 MFUnrecChildFCDTestFCPtr::const_iterator elemEnd
=
1274 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_mpchildptr();
1276 while(elemIt
!= elemEnd
)
1278 this->pushToFieldMFPub_mpchildptr(*elemIt
);
1284 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPub_mpchildptr(UInt32 uiIndex
,
1285 FCDTestFC
* const value
)
1290 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1292 MFUnrecChildFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPub_mpchildptr
.begin_nc();
1296 _mfFieldMFPub_mpchildptr
.insert(fieldIt
, value
);
1299 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPub_mpchildptr(UInt32 uiIndex
,
1300 FCDTestFC
* const value
)
1305 if(uiIndex
>= _mfFieldMFPub_mpchildptr
.size())
1308 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1310 _mfFieldMFPub_mpchildptr
.replace(uiIndex
, value
);
1313 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPub_mpchildptr(FCDTestFC
* const pOldElem
,
1314 FCDTestFC
* const pNewElem
)
1316 if(pNewElem
== NULL
)
1319 Int32 elemIdx
= _mfFieldMFPub_mpchildptr
.findIndex(pOldElem
);
1323 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1325 _mfFieldMFPub_mpchildptr
.replace(elemIdx
, pNewElem
);
1329 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPub_mpchildptr(UInt32 uiIndex
)
1331 if(uiIndex
< _mfFieldMFPub_mpchildptr
.size())
1333 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1335 _mfFieldMFPub_mpchildptr
.erase(uiIndex
);
1339 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPub_mpchildptr(FCDTestFC
* const value
)
1341 Int32 iElemIdx
= _mfFieldMFPub_mpchildptr
.findIndex(value
);
1345 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1347 _mfFieldMFPub_mpchildptr
.erase(iElemIdx
);
1350 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPub_mpchildptr(void)
1352 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
1355 _mfFieldMFPub_mpchildptr
.clear();
1358 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPro_ptr(FCDTestFC
* const value
)
1363 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1365 _mfFieldMFPro_ptr
.push_back(value
);
1368 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPro_ptr(const MFUnrecFCDTestFCPtr
&value
)
1370 MFUnrecFCDTestFCPtr::const_iterator elemIt
=
1372 MFUnrecFCDTestFCPtr::const_iterator elemEnd
=
1375 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_ptr();
1377 while(elemIt
!= elemEnd
)
1379 this->pushToFieldMFPro_ptr(*elemIt
);
1385 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPro_ptr(UInt32 uiIndex
,
1386 FCDTestFC
* const value
)
1391 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1393 MFUnrecFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPro_ptr
.begin_nc();
1397 _mfFieldMFPro_ptr
.insert(fieldIt
, value
);
1400 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPro_ptr(UInt32 uiIndex
,
1401 FCDTestFC
* const value
)
1406 if(uiIndex
>= _mfFieldMFPro_ptr
.size())
1409 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1411 _mfFieldMFPro_ptr
.replace(uiIndex
, value
);
1414 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPro_ptr(FCDTestFC
* const pOldElem
,
1415 FCDTestFC
* const pNewElem
)
1417 if(pNewElem
== NULL
)
1420 Int32 elemIdx
= _mfFieldMFPro_ptr
.findIndex(pOldElem
);
1424 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1426 _mfFieldMFPro_ptr
.replace(elemIdx
, pNewElem
);
1430 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPro_ptr(UInt32 uiIndex
)
1432 if(uiIndex
< _mfFieldMFPro_ptr
.size())
1434 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1436 _mfFieldMFPro_ptr
.erase(uiIndex
);
1440 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPro_ptr(FCDTestFC
* const value
)
1442 Int32 iElemIdx
= _mfFieldMFPro_ptr
.findIndex(value
);
1446 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1448 _mfFieldMFPro_ptr
.erase(iElemIdx
);
1451 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPro_ptr(void)
1453 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
1456 _mfFieldMFPro_ptr
.clear();
1459 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPro_weakptr(FCDTestFC
* const value
)
1464 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1466 _mfFieldMFPro_weakptr
.push_back(value
);
1469 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPro_weakptr(const MFWeakFCDTestFCPtr
&value
)
1471 MFWeakFCDTestFCPtr::const_iterator elemIt
=
1473 MFWeakFCDTestFCPtr::const_iterator elemEnd
=
1476 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_weakptr();
1478 while(elemIt
!= elemEnd
)
1480 this->pushToFieldMFPro_weakptr(*elemIt
);
1486 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPro_weakptr(UInt32 uiIndex
,
1487 FCDTestFC
* const value
)
1492 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1494 MFWeakFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPro_weakptr
.begin_nc();
1498 _mfFieldMFPro_weakptr
.insert(fieldIt
, value
);
1501 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPro_weakptr(UInt32 uiIndex
,
1502 FCDTestFC
* const value
)
1507 if(uiIndex
>= _mfFieldMFPro_weakptr
.size())
1510 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1512 _mfFieldMFPro_weakptr
.replace(uiIndex
, value
);
1515 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPro_weakptr(FCDTestFC
* const pOldElem
,
1516 FCDTestFC
* const pNewElem
)
1518 if(pNewElem
== NULL
)
1521 Int32 elemIdx
= _mfFieldMFPro_weakptr
.findIndex(pOldElem
);
1525 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1527 _mfFieldMFPro_weakptr
.replace(elemIdx
, pNewElem
);
1531 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPro_weakptr(UInt32 uiIndex
)
1533 if(uiIndex
< _mfFieldMFPro_weakptr
.size())
1535 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1537 _mfFieldMFPro_weakptr
.erase(uiIndex
);
1541 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPro_weakptr(FCDTestFC
* const value
)
1543 Int32 iElemIdx
= _mfFieldMFPro_weakptr
.findIndex(value
);
1547 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1549 _mfFieldMFPro_weakptr
.erase(iElemIdx
);
1552 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPro_weakptr(void)
1554 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
1557 _mfFieldMFPro_weakptr
.clear();
1560 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPro_mpchildptr(FCDTestFC
* const value
)
1565 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1567 _mfFieldMFPro_mpchildptr
.push_back(value
);
1570 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPro_mpchildptr(const MFUnrecChildFCDTestFCPtr
&value
)
1572 MFUnrecChildFCDTestFCPtr::const_iterator elemIt
=
1574 MFUnrecChildFCDTestFCPtr::const_iterator elemEnd
=
1577 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_mpchildptr();
1579 while(elemIt
!= elemEnd
)
1581 this->pushToFieldMFPro_mpchildptr(*elemIt
);
1587 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPro_mpchildptr(UInt32 uiIndex
,
1588 FCDTestFC
* const value
)
1593 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1595 MFUnrecChildFCDTestFCPtr::iterator fieldIt
= _mfFieldMFPro_mpchildptr
.begin_nc();
1599 _mfFieldMFPro_mpchildptr
.insert(fieldIt
, value
);
1602 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPro_mpchildptr(UInt32 uiIndex
,
1603 FCDTestFC
* const value
)
1608 if(uiIndex
>= _mfFieldMFPro_mpchildptr
.size())
1611 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1613 _mfFieldMFPro_mpchildptr
.replace(uiIndex
, value
);
1616 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPro_mpchildptr(FCDTestFC
* const pOldElem
,
1617 FCDTestFC
* const pNewElem
)
1619 if(pNewElem
== NULL
)
1622 Int32 elemIdx
= _mfFieldMFPro_mpchildptr
.findIndex(pOldElem
);
1626 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1628 _mfFieldMFPro_mpchildptr
.replace(elemIdx
, pNewElem
);
1632 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPro_mpchildptr(UInt32 uiIndex
)
1634 if(uiIndex
< _mfFieldMFPro_mpchildptr
.size())
1636 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1638 _mfFieldMFPro_mpchildptr
.erase(uiIndex
);
1642 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPro_mpchildptr(FCDTestFC
* const value
)
1644 Int32 iElemIdx
= _mfFieldMFPro_mpchildptr
.findIndex(value
);
1648 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1650 _mfFieldMFPro_mpchildptr
.erase(iElemIdx
);
1653 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPro_mpchildptr(void)
1655 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
1658 _mfFieldMFPro_mpchildptr
.clear();
1661 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPub_spchildptr(FCDSParTestFC
* const value
)
1666 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1668 _mfFieldMFPub_spchildptr
.push_back(value
);
1671 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPub_spchildptr(const MFUnrecChildFCDSParTestFCPtr
&value
)
1673 MFUnrecChildFCDSParTestFCPtr::const_iterator elemIt
=
1675 MFUnrecChildFCDSParTestFCPtr::const_iterator elemEnd
=
1678 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_spchildptr();
1680 while(elemIt
!= elemEnd
)
1682 this->pushToFieldMFPub_spchildptr(*elemIt
);
1688 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPub_spchildptr(UInt32 uiIndex
,
1689 FCDSParTestFC
* const value
)
1694 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1696 MFUnrecChildFCDSParTestFCPtr::iterator fieldIt
= _mfFieldMFPub_spchildptr
.begin_nc();
1700 _mfFieldMFPub_spchildptr
.insert(fieldIt
, value
);
1703 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPub_spchildptr(UInt32 uiIndex
,
1704 FCDSParTestFC
* const value
)
1709 if(uiIndex
>= _mfFieldMFPub_spchildptr
.size())
1712 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1714 _mfFieldMFPub_spchildptr
.replace(uiIndex
, value
);
1717 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPub_spchildptr(FCDSParTestFC
* const pOldElem
,
1718 FCDSParTestFC
* const pNewElem
)
1720 if(pNewElem
== NULL
)
1723 Int32 elemIdx
= _mfFieldMFPub_spchildptr
.findIndex(pOldElem
);
1727 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1729 _mfFieldMFPub_spchildptr
.replace(elemIdx
, pNewElem
);
1733 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPub_spchildptr(UInt32 uiIndex
)
1735 if(uiIndex
< _mfFieldMFPub_spchildptr
.size())
1737 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1739 _mfFieldMFPub_spchildptr
.erase(uiIndex
);
1743 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPub_spchildptr(FCDSParTestFC
* const value
)
1745 Int32 iElemIdx
= _mfFieldMFPub_spchildptr
.findIndex(value
);
1749 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1751 _mfFieldMFPub_spchildptr
.erase(iElemIdx
);
1754 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPub_spchildptr(void)
1756 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
1759 _mfFieldMFPub_spchildptr
.clear();
1762 void FCDPtrTestFCNullCheckAccessBase::pushToFieldMFPro_spchildptr(FCDSParTestFC
* const value
)
1767 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1769 _mfFieldMFPro_spchildptr
.push_back(value
);
1772 void FCDPtrTestFCNullCheckAccessBase::assignFieldMFPro_spchildptr(const MFUnrecChildFCDSParTestFCPtr
&value
)
1774 MFUnrecChildFCDSParTestFCPtr::const_iterator elemIt
=
1776 MFUnrecChildFCDSParTestFCPtr::const_iterator elemEnd
=
1779 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_spchildptr();
1781 while(elemIt
!= elemEnd
)
1783 this->pushToFieldMFPro_spchildptr(*elemIt
);
1789 void FCDPtrTestFCNullCheckAccessBase::insertIntoFieldMFPro_spchildptr(UInt32 uiIndex
,
1790 FCDSParTestFC
* const value
)
1795 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1797 MFUnrecChildFCDSParTestFCPtr::iterator fieldIt
= _mfFieldMFPro_spchildptr
.begin_nc();
1801 _mfFieldMFPro_spchildptr
.insert(fieldIt
, value
);
1804 void FCDPtrTestFCNullCheckAccessBase::replaceInFieldMFPro_spchildptr(UInt32 uiIndex
,
1805 FCDSParTestFC
* const value
)
1810 if(uiIndex
>= _mfFieldMFPro_spchildptr
.size())
1813 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1815 _mfFieldMFPro_spchildptr
.replace(uiIndex
, value
);
1818 void FCDPtrTestFCNullCheckAccessBase::replaceObjInFieldMFPro_spchildptr(FCDSParTestFC
* const pOldElem
,
1819 FCDSParTestFC
* const pNewElem
)
1821 if(pNewElem
== NULL
)
1824 Int32 elemIdx
= _mfFieldMFPro_spchildptr
.findIndex(pOldElem
);
1828 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1830 _mfFieldMFPro_spchildptr
.replace(elemIdx
, pNewElem
);
1834 void FCDPtrTestFCNullCheckAccessBase::removeFromFieldMFPro_spchildptr(UInt32 uiIndex
)
1836 if(uiIndex
< _mfFieldMFPro_spchildptr
.size())
1838 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1840 _mfFieldMFPro_spchildptr
.erase(uiIndex
);
1844 void FCDPtrTestFCNullCheckAccessBase::removeObjFromFieldMFPro_spchildptr(FCDSParTestFC
* const value
)
1846 Int32 iElemIdx
= _mfFieldMFPro_spchildptr
.findIndex(value
);
1850 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1852 _mfFieldMFPro_spchildptr
.erase(iElemIdx
);
1855 void FCDPtrTestFCNullCheckAccessBase::clearFieldMFPro_spchildptr(void)
1857 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
1860 _mfFieldMFPro_spchildptr
.clear();
1865 /*------------------------------ access -----------------------------------*/
1867 SizeT
FCDPtrTestFCNullCheckAccessBase::getBinSize(ConstFieldMaskArg whichField
)
1869 SizeT returnValue
= Inherited::getBinSize(whichField
);
1871 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
1873 returnValue
+= _sfFieldSFPub_ptr
.getBinSize();
1875 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
1877 returnValue
+= _sfFieldSFPub_weakptr
.getBinSize();
1879 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
1881 returnValue
+= _sfFieldSFPub_mpchildptr
.getBinSize();
1883 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
1885 returnValue
+= _sfFieldSFPro_ptr
.getBinSize();
1887 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
1889 returnValue
+= _sfFieldSFPro_weakptr
.getBinSize();
1891 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
1893 returnValue
+= _sfFieldSFPro_mpchildptr
.getBinSize();
1895 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
1897 returnValue
+= _sfFieldSFNo_ptr
.getBinSize();
1899 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
1901 returnValue
+= _sfFieldSFNo_weakptr
.getBinSize();
1903 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
1905 returnValue
+= _sfFieldSFNo_mpchildptr
.getBinSize();
1907 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
1909 returnValue
+= _mfFieldMFPub_ptr
.getBinSize();
1911 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
1913 returnValue
+= _mfFieldMFPub_weakptr
.getBinSize();
1915 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
1917 returnValue
+= _mfFieldMFPub_mpchildptr
.getBinSize();
1919 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
1921 returnValue
+= _mfFieldMFPro_ptr
.getBinSize();
1923 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
1925 returnValue
+= _mfFieldMFPro_weakptr
.getBinSize();
1927 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
1929 returnValue
+= _mfFieldMFPro_mpchildptr
.getBinSize();
1931 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
1933 returnValue
+= _mfFieldMFNo_ptr
.getBinSize();
1935 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
1937 returnValue
+= _mfFieldMFNo_weakptr
.getBinSize();
1939 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
1941 returnValue
+= _mfFieldMFNo_mpchildptr
.getBinSize();
1943 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
1945 returnValue
+= _sfFieldSFPub_spchildptr
.getBinSize();
1947 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
1949 returnValue
+= _sfFieldSFPro_spchildptr
.getBinSize();
1951 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
1953 returnValue
+= _sfFieldSFNo_spchildptr
.getBinSize();
1955 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
1957 returnValue
+= _mfFieldMFPub_spchildptr
.getBinSize();
1959 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
1961 returnValue
+= _mfFieldMFPro_spchildptr
.getBinSize();
1963 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
1965 returnValue
+= _mfFieldMFNo_spchildptr
.getBinSize();
1971 void FCDPtrTestFCNullCheckAccessBase::copyToBin(BinaryDataHandler
&pMem
,
1972 ConstFieldMaskArg whichField
)
1974 Inherited::copyToBin(pMem
, whichField
);
1976 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
1978 _sfFieldSFPub_ptr
.copyToBin(pMem
);
1980 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
1982 _sfFieldSFPub_weakptr
.copyToBin(pMem
);
1984 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
1986 _sfFieldSFPub_mpchildptr
.copyToBin(pMem
);
1988 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
1990 _sfFieldSFPro_ptr
.copyToBin(pMem
);
1992 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
1994 _sfFieldSFPro_weakptr
.copyToBin(pMem
);
1996 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
1998 _sfFieldSFPro_mpchildptr
.copyToBin(pMem
);
2000 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
2002 _sfFieldSFNo_ptr
.copyToBin(pMem
);
2004 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
2006 _sfFieldSFNo_weakptr
.copyToBin(pMem
);
2008 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
2010 _sfFieldSFNo_mpchildptr
.copyToBin(pMem
);
2012 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
2014 _mfFieldMFPub_ptr
.copyToBin(pMem
);
2016 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
2018 _mfFieldMFPub_weakptr
.copyToBin(pMem
);
2020 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
2022 _mfFieldMFPub_mpchildptr
.copyToBin(pMem
);
2024 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
2026 _mfFieldMFPro_ptr
.copyToBin(pMem
);
2028 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
2030 _mfFieldMFPro_weakptr
.copyToBin(pMem
);
2032 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
2034 _mfFieldMFPro_mpchildptr
.copyToBin(pMem
);
2036 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
2038 _mfFieldMFNo_ptr
.copyToBin(pMem
);
2040 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
2042 _mfFieldMFNo_weakptr
.copyToBin(pMem
);
2044 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
2046 _mfFieldMFNo_mpchildptr
.copyToBin(pMem
);
2048 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
2050 _sfFieldSFPub_spchildptr
.copyToBin(pMem
);
2052 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
2054 _sfFieldSFPro_spchildptr
.copyToBin(pMem
);
2056 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
2058 _sfFieldSFNo_spchildptr
.copyToBin(pMem
);
2060 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
2062 _mfFieldMFPub_spchildptr
.copyToBin(pMem
);
2064 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
2066 _mfFieldMFPro_spchildptr
.copyToBin(pMem
);
2068 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
2070 _mfFieldMFNo_spchildptr
.copyToBin(pMem
);
2074 void FCDPtrTestFCNullCheckAccessBase::copyFromBin(BinaryDataHandler
&pMem
,
2075 ConstFieldMaskArg whichField
)
2077 Inherited::copyFromBin(pMem
, whichField
);
2079 if(FieldBits::NoField
!= (FieldSFPub_ptrFieldMask
& whichField
))
2081 editSField(FieldSFPub_ptrFieldMask
);
2082 _sfFieldSFPub_ptr
.copyFromBin(pMem
);
2084 if(FieldBits::NoField
!= (FieldSFPub_weakptrFieldMask
& whichField
))
2086 editSField(FieldSFPub_weakptrFieldMask
);
2087 _sfFieldSFPub_weakptr
.copyFromBin(pMem
);
2089 if(FieldBits::NoField
!= (FieldSFPub_mpchildptrFieldMask
& whichField
))
2091 editSField(FieldSFPub_mpchildptrFieldMask
);
2092 _sfFieldSFPub_mpchildptr
.copyFromBin(pMem
);
2094 if(FieldBits::NoField
!= (FieldSFPro_ptrFieldMask
& whichField
))
2096 editSField(FieldSFPro_ptrFieldMask
);
2097 _sfFieldSFPro_ptr
.copyFromBin(pMem
);
2099 if(FieldBits::NoField
!= (FieldSFPro_weakptrFieldMask
& whichField
))
2101 editSField(FieldSFPro_weakptrFieldMask
);
2102 _sfFieldSFPro_weakptr
.copyFromBin(pMem
);
2104 if(FieldBits::NoField
!= (FieldSFPro_mpchildptrFieldMask
& whichField
))
2106 editSField(FieldSFPro_mpchildptrFieldMask
);
2107 _sfFieldSFPro_mpchildptr
.copyFromBin(pMem
);
2109 if(FieldBits::NoField
!= (FieldSFNo_ptrFieldMask
& whichField
))
2111 editSField(FieldSFNo_ptrFieldMask
);
2112 _sfFieldSFNo_ptr
.copyFromBin(pMem
);
2114 if(FieldBits::NoField
!= (FieldSFNo_weakptrFieldMask
& whichField
))
2116 editSField(FieldSFNo_weakptrFieldMask
);
2117 _sfFieldSFNo_weakptr
.copyFromBin(pMem
);
2119 if(FieldBits::NoField
!= (FieldSFNo_mpchildptrFieldMask
& whichField
))
2121 editSField(FieldSFNo_mpchildptrFieldMask
);
2122 _sfFieldSFNo_mpchildptr
.copyFromBin(pMem
);
2124 if(FieldBits::NoField
!= (FieldMFPub_ptrFieldMask
& whichField
))
2126 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
2127 _mfFieldMFPub_ptr
.copyFromBin(pMem
);
2129 if(FieldBits::NoField
!= (FieldMFPub_weakptrFieldMask
& whichField
))
2131 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
2132 _mfFieldMFPub_weakptr
.copyFromBin(pMem
);
2134 if(FieldBits::NoField
!= (FieldMFPub_mpchildptrFieldMask
& whichField
))
2136 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
2137 _mfFieldMFPub_mpchildptr
.copyFromBin(pMem
);
2139 if(FieldBits::NoField
!= (FieldMFPro_ptrFieldMask
& whichField
))
2141 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
2142 _mfFieldMFPro_ptr
.copyFromBin(pMem
);
2144 if(FieldBits::NoField
!= (FieldMFPro_weakptrFieldMask
& whichField
))
2146 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
2147 _mfFieldMFPro_weakptr
.copyFromBin(pMem
);
2149 if(FieldBits::NoField
!= (FieldMFPro_mpchildptrFieldMask
& whichField
))
2151 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
2152 _mfFieldMFPro_mpchildptr
.copyFromBin(pMem
);
2154 if(FieldBits::NoField
!= (FieldMFNo_ptrFieldMask
& whichField
))
2156 editMField(FieldMFNo_ptrFieldMask
, _mfFieldMFNo_ptr
);
2157 _mfFieldMFNo_ptr
.copyFromBin(pMem
);
2159 if(FieldBits::NoField
!= (FieldMFNo_weakptrFieldMask
& whichField
))
2161 editMField(FieldMFNo_weakptrFieldMask
, _mfFieldMFNo_weakptr
);
2162 _mfFieldMFNo_weakptr
.copyFromBin(pMem
);
2164 if(FieldBits::NoField
!= (FieldMFNo_mpchildptrFieldMask
& whichField
))
2166 editMField(FieldMFNo_mpchildptrFieldMask
, _mfFieldMFNo_mpchildptr
);
2167 _mfFieldMFNo_mpchildptr
.copyFromBin(pMem
);
2169 if(FieldBits::NoField
!= (FieldSFPub_spchildptrFieldMask
& whichField
))
2171 editSField(FieldSFPub_spchildptrFieldMask
);
2172 _sfFieldSFPub_spchildptr
.copyFromBin(pMem
);
2174 if(FieldBits::NoField
!= (FieldSFPro_spchildptrFieldMask
& whichField
))
2176 editSField(FieldSFPro_spchildptrFieldMask
);
2177 _sfFieldSFPro_spchildptr
.copyFromBin(pMem
);
2179 if(FieldBits::NoField
!= (FieldSFNo_spchildptrFieldMask
& whichField
))
2181 editSField(FieldSFNo_spchildptrFieldMask
);
2182 _sfFieldSFNo_spchildptr
.copyFromBin(pMem
);
2184 if(FieldBits::NoField
!= (FieldMFPub_spchildptrFieldMask
& whichField
))
2186 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
2187 _mfFieldMFPub_spchildptr
.copyFromBin(pMem
);
2189 if(FieldBits::NoField
!= (FieldMFPro_spchildptrFieldMask
& whichField
))
2191 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
2192 _mfFieldMFPro_spchildptr
.copyFromBin(pMem
);
2194 if(FieldBits::NoField
!= (FieldMFNo_spchildptrFieldMask
& whichField
))
2196 editMField(FieldMFNo_spchildptrFieldMask
, _mfFieldMFNo_spchildptr
);
2197 _mfFieldMFNo_spchildptr
.copyFromBin(pMem
);
2201 //! create a new instance of the class
2202 FCDPtrTestFCNullCheckAccessTransitPtr
FCDPtrTestFCNullCheckAccessBase::createLocal(BitVector bFlags
)
2204 FCDPtrTestFCNullCheckAccessTransitPtr fc
;
2206 if(getClassType().getPrototype() != NULL
)
2208 FieldContainerTransitPtr tmpPtr
=
2209 getClassType().getPrototype()-> shallowCopyLocal(bFlags
);
2211 fc
= dynamic_pointer_cast
<FCDPtrTestFCNullCheckAccess
>(tmpPtr
);
2217 //! create a new instance of the class, copy the container flags
2218 FCDPtrTestFCNullCheckAccessTransitPtr
FCDPtrTestFCNullCheckAccessBase::createDependent(BitVector bFlags
)
2220 FCDPtrTestFCNullCheckAccessTransitPtr fc
;
2222 if(getClassType().getPrototype() != NULL
)
2224 FieldContainerTransitPtr tmpPtr
=
2225 getClassType().getPrototype()-> shallowCopyDependent(bFlags
);
2227 fc
= dynamic_pointer_cast
<FCDPtrTestFCNullCheckAccess
>(tmpPtr
);
2233 //! create a new instance of the class
2234 FCDPtrTestFCNullCheckAccessTransitPtr
FCDPtrTestFCNullCheckAccessBase::create(void)
2236 FCDPtrTestFCNullCheckAccessTransitPtr fc
;
2238 if(getClassType().getPrototype() != NULL
)
2240 FieldContainerTransitPtr tmpPtr
=
2241 getClassType().getPrototype()-> shallowCopy();
2243 fc
= dynamic_pointer_cast
<FCDPtrTestFCNullCheckAccess
>(tmpPtr
);
2249 FCDPtrTestFCNullCheckAccess
*FCDPtrTestFCNullCheckAccessBase::createEmptyLocal(BitVector bFlags
)
2251 FCDPtrTestFCNullCheckAccess
*returnValue
;
2253 newPtr
<FCDPtrTestFCNullCheckAccess
>(returnValue
, bFlags
);
2255 returnValue
->_pFieldFlags
->_bNamespaceMask
&= ~bFlags
;
2260 //! create an empty new instance of the class, do not copy the prototype
2261 FCDPtrTestFCNullCheckAccess
*FCDPtrTestFCNullCheckAccessBase::createEmpty(void)
2263 FCDPtrTestFCNullCheckAccess
*returnValue
;
2265 newPtr
<FCDPtrTestFCNullCheckAccess
>(returnValue
, Thread::getCurrentLocalFlags());
2267 returnValue
->_pFieldFlags
->_bNamespaceMask
&=
2268 ~Thread::getCurrentLocalFlags();
2274 FieldContainerTransitPtr
FCDPtrTestFCNullCheckAccessBase::shallowCopyLocal(
2275 BitVector bFlags
) const
2277 FCDPtrTestFCNullCheckAccess
*tmpPtr
;
2279 newPtr(tmpPtr
, dynamic_cast<const FCDPtrTestFCNullCheckAccess
*>(this), bFlags
);
2281 FieldContainerTransitPtr
returnValue(tmpPtr
);
2283 tmpPtr
->_pFieldFlags
->_bNamespaceMask
&= ~bFlags
;
2288 FieldContainerTransitPtr
FCDPtrTestFCNullCheckAccessBase::shallowCopyDependent(
2289 BitVector bFlags
) const
2291 FCDPtrTestFCNullCheckAccess
*tmpPtr
;
2293 newPtr(tmpPtr
, dynamic_cast<const FCDPtrTestFCNullCheckAccess
*>(this), ~bFlags
);
2295 FieldContainerTransitPtr
returnValue(tmpPtr
);
2297 tmpPtr
->_pFieldFlags
->_bNamespaceMask
= bFlags
;
2302 FieldContainerTransitPtr
FCDPtrTestFCNullCheckAccessBase::shallowCopy(void) const
2304 FCDPtrTestFCNullCheckAccess
*tmpPtr
;
2307 dynamic_cast<const FCDPtrTestFCNullCheckAccess
*>(this),
2308 Thread::getCurrentLocalFlags());
2310 tmpPtr
->_pFieldFlags
->_bNamespaceMask
&= ~Thread::getCurrentLocalFlags();
2312 FieldContainerTransitPtr
returnValue(tmpPtr
);
2320 /*------------------------- constructors ----------------------------------*/
2322 FCDPtrTestFCNullCheckAccessBase::FCDPtrTestFCNullCheckAccessBase(void) :
2324 _sfFieldSFPub_ptr (0),
2325 _sfFieldSFPub_weakptr (0),
2326 _sfFieldSFPub_mpchildptr (this,
2327 FieldSFPub_mpchildptrFieldId
,
2328 FCDTestFC::ParentsFieldId
),
2329 _sfFieldSFPro_ptr (0),
2330 _sfFieldSFPro_weakptr (0),
2331 _sfFieldSFPro_mpchildptr (this,
2332 FieldSFPro_mpchildptrFieldId
,
2333 FCDTestFC::ParentsFieldId
),
2334 _sfFieldSFNo_ptr (0),
2335 _sfFieldSFNo_weakptr (0),
2336 _sfFieldSFNo_mpchildptr (this,
2337 FieldSFNo_mpchildptrFieldId
,
2338 FCDTestFC::ParentsFieldId
),
2339 _mfFieldMFPub_ptr (),
2340 _mfFieldMFPub_weakptr (),
2341 _mfFieldMFPub_mpchildptr (this,
2342 FieldMFPub_mpchildptrFieldId
,
2343 FCDTestFC::ParentsFieldId
),
2344 _mfFieldMFPro_ptr (),
2345 _mfFieldMFPro_weakptr (),
2346 _mfFieldMFPro_mpchildptr (this,
2347 FieldMFPro_mpchildptrFieldId
,
2348 FCDTestFC::ParentsFieldId
),
2349 _mfFieldMFNo_ptr (),
2350 _mfFieldMFNo_weakptr (),
2351 _mfFieldMFNo_mpchildptr (this,
2352 FieldMFNo_mpchildptrFieldId
,
2353 FCDTestFC::ParentsFieldId
),
2354 _sfFieldSFPub_spchildptr (this,
2355 FieldSFPub_spchildptrFieldId
,
2356 FCDSParTestFC::ParentFieldId
),
2357 _sfFieldSFPro_spchildptr (this,
2358 FieldSFPro_spchildptrFieldId
,
2359 FCDSParTestFC::ParentFieldId
),
2360 _sfFieldSFNo_spchildptr (this,
2361 FieldSFNo_spchildptrFieldId
,
2362 FCDSParTestFC::ParentFieldId
),
2363 _mfFieldMFPub_spchildptr (this,
2364 FieldMFPub_spchildptrFieldId
,
2365 FCDSParTestFC::ParentFieldId
),
2366 _mfFieldMFPro_spchildptr (this,
2367 FieldMFPro_spchildptrFieldId
,
2368 FCDSParTestFC::ParentFieldId
),
2369 _mfFieldMFNo_spchildptr (this,
2370 FieldMFNo_spchildptrFieldId
,
2371 FCDSParTestFC::ParentFieldId
)
2375 FCDPtrTestFCNullCheckAccessBase::FCDPtrTestFCNullCheckAccessBase(const FCDPtrTestFCNullCheckAccessBase
&source
) :
2377 _sfFieldSFPub_ptr (NULL
),
2378 _sfFieldSFPub_weakptr (NULL
),
2379 _sfFieldSFPub_mpchildptr (this,
2380 FieldSFPub_mpchildptrFieldId
,
2381 FCDTestFC::ParentsFieldId
),
2382 _sfFieldSFPro_ptr (NULL
),
2383 _sfFieldSFPro_weakptr (NULL
),
2384 _sfFieldSFPro_mpchildptr (this,
2385 FieldSFPro_mpchildptrFieldId
,
2386 FCDTestFC::ParentsFieldId
),
2387 _sfFieldSFNo_ptr (NULL
),
2388 _sfFieldSFNo_weakptr (NULL
),
2389 _sfFieldSFNo_mpchildptr (this,
2390 FieldSFNo_mpchildptrFieldId
,
2391 FCDTestFC::ParentsFieldId
),
2392 _mfFieldMFPub_ptr (),
2393 _mfFieldMFPub_weakptr (),
2394 _mfFieldMFPub_mpchildptr (this,
2395 FieldMFPub_mpchildptrFieldId
,
2396 FCDTestFC::ParentsFieldId
),
2397 _mfFieldMFPro_ptr (),
2398 _mfFieldMFPro_weakptr (),
2399 _mfFieldMFPro_mpchildptr (this,
2400 FieldMFPro_mpchildptrFieldId
,
2401 FCDTestFC::ParentsFieldId
),
2402 _mfFieldMFNo_ptr (),
2403 _mfFieldMFNo_weakptr (),
2404 _mfFieldMFNo_mpchildptr (this,
2405 FieldMFNo_mpchildptrFieldId
,
2406 FCDTestFC::ParentsFieldId
),
2407 _sfFieldSFPub_spchildptr (this,
2408 FieldSFPub_spchildptrFieldId
,
2409 FCDSParTestFC::ParentFieldId
),
2410 _sfFieldSFPro_spchildptr (this,
2411 FieldSFPro_spchildptrFieldId
,
2412 FCDSParTestFC::ParentFieldId
),
2413 _sfFieldSFNo_spchildptr (this,
2414 FieldSFNo_spchildptrFieldId
,
2415 FCDSParTestFC::ParentFieldId
),
2416 _mfFieldMFPub_spchildptr (this,
2417 FieldMFPub_spchildptrFieldId
,
2418 FCDSParTestFC::ParentFieldId
),
2419 _mfFieldMFPro_spchildptr (this,
2420 FieldMFPro_spchildptrFieldId
,
2421 FCDSParTestFC::ParentFieldId
),
2422 _mfFieldMFNo_spchildptr (this,
2423 FieldMFNo_spchildptrFieldId
,
2424 FCDSParTestFC::ParentFieldId
)
2429 /*-------------------------- destructors ----------------------------------*/
2431 FCDPtrTestFCNullCheckAccessBase::~FCDPtrTestFCNullCheckAccessBase(void)
2435 /*-------------------------------------------------------------------------*/
2438 bool FCDPtrTestFCNullCheckAccessBase::unlinkChild(
2439 FieldContainer
* const pChild
,
2440 UInt16
const childFieldId
)
2442 if(childFieldId
== FieldSFPub_mpchildptrFieldId
)
2444 FCDTestFC
* pTypedChild
=
2445 dynamic_cast<FCDTestFC
*>(pChild
);
2447 if(pTypedChild
!= NULL
)
2449 if(_sfFieldSFPub_mpchildptr
.getValue() == pTypedChild
)
2451 editSField(FieldSFPub_mpchildptrFieldMask
);
2453 _sfFieldSFPub_mpchildptr
.setValue(NULL
);
2458 SWARNING
<< "Parent ([" << this
2459 << "] id [" << this->getId()
2460 << "] type [" << this->getType().getCName()
2461 << "] childFieldId [" << childFieldId
2462 << "]) - Child ([" << pChild
2463 << "] id [" << pChild
->getId()
2464 << "] type [" << pChild
->getType().getCName()
2465 << "]): link inconsistent!"
2474 if(childFieldId
== FieldSFPro_mpchildptrFieldId
)
2476 FCDTestFC
* pTypedChild
=
2477 dynamic_cast<FCDTestFC
*>(pChild
);
2479 if(pTypedChild
!= NULL
)
2481 if(_sfFieldSFPro_mpchildptr
.getValue() == pTypedChild
)
2483 editSField(FieldSFPro_mpchildptrFieldMask
);
2485 _sfFieldSFPro_mpchildptr
.setValue(NULL
);
2490 SWARNING
<< "Parent ([" << this
2491 << "] id [" << this->getId()
2492 << "] type [" << this->getType().getCName()
2493 << "] childFieldId [" << childFieldId
2494 << "]) - Child ([" << pChild
2495 << "] id [" << pChild
->getId()
2496 << "] type [" << pChild
->getType().getCName()
2497 << "]): link inconsistent!"
2506 if(childFieldId
== FieldSFNo_mpchildptrFieldId
)
2508 FCDTestFC
* pTypedChild
=
2509 dynamic_cast<FCDTestFC
*>(pChild
);
2511 if(pTypedChild
!= NULL
)
2513 if(_sfFieldSFNo_mpchildptr
.getValue() == pTypedChild
)
2515 editSField(FieldSFNo_mpchildptrFieldMask
);
2517 _sfFieldSFNo_mpchildptr
.setValue(NULL
);
2522 SWARNING
<< "Parent ([" << this
2523 << "] id [" << this->getId()
2524 << "] type [" << this->getType().getCName()
2525 << "] childFieldId [" << childFieldId
2526 << "]) - Child ([" << pChild
2527 << "] id [" << pChild
->getId()
2528 << "] type [" << pChild
->getType().getCName()
2529 << "]): link inconsistent!"
2538 if(childFieldId
== FieldMFPub_mpchildptrFieldId
)
2540 FCDTestFC
* pTypedChild
=
2541 dynamic_cast<FCDTestFC
*>(pChild
);
2543 if(pTypedChild
!= NULL
)
2545 Int32 iChildIdx
= _mfFieldMFPub_mpchildptr
.findIndex(pTypedChild
);
2549 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
2551 _mfFieldMFPub_mpchildptr
.erase(iChildIdx
);
2556 SWARNING
<< "Parent ([" << this
2557 << "] id [" << this->getId()
2558 << "] type [" << this->getType().getCName()
2559 << "] childFieldId [" << childFieldId
2560 << "]) - Child ([" << pChild
2561 << "] id [" << pChild
->getId()
2562 << "] type [" << pChild
->getType().getCName()
2563 << "]): link inconsistent!"
2572 if(childFieldId
== FieldMFPro_mpchildptrFieldId
)
2574 FCDTestFC
* pTypedChild
=
2575 dynamic_cast<FCDTestFC
*>(pChild
);
2577 if(pTypedChild
!= NULL
)
2579 Int32 iChildIdx
= _mfFieldMFPro_mpchildptr
.findIndex(pTypedChild
);
2583 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
2585 _mfFieldMFPro_mpchildptr
.erase(iChildIdx
);
2590 SWARNING
<< "Parent ([" << this
2591 << "] id [" << this->getId()
2592 << "] type [" << this->getType().getCName()
2593 << "] childFieldId [" << childFieldId
2594 << "]) - Child ([" << pChild
2595 << "] id [" << pChild
->getId()
2596 << "] type [" << pChild
->getType().getCName()
2597 << "]): link inconsistent!"
2606 if(childFieldId
== FieldMFNo_mpchildptrFieldId
)
2608 FCDTestFC
* pTypedChild
=
2609 dynamic_cast<FCDTestFC
*>(pChild
);
2611 if(pTypedChild
!= NULL
)
2613 Int32 iChildIdx
= _mfFieldMFNo_mpchildptr
.findIndex(pTypedChild
);
2617 editMField(FieldMFNo_mpchildptrFieldMask
, _mfFieldMFNo_mpchildptr
);
2619 _mfFieldMFNo_mpchildptr
.erase(iChildIdx
);
2624 SWARNING
<< "Parent ([" << this
2625 << "] id [" << this->getId()
2626 << "] type [" << this->getType().getCName()
2627 << "] childFieldId [" << childFieldId
2628 << "]) - Child ([" << pChild
2629 << "] id [" << pChild
->getId()
2630 << "] type [" << pChild
->getType().getCName()
2631 << "]): link inconsistent!"
2640 if(childFieldId
== FieldSFPub_spchildptrFieldId
)
2642 FCDSParTestFC
* pTypedChild
=
2643 dynamic_cast<FCDSParTestFC
*>(pChild
);
2645 if(pTypedChild
!= NULL
)
2647 if(_sfFieldSFPub_spchildptr
.getValue() == pTypedChild
)
2649 editSField(FieldSFPub_spchildptrFieldMask
);
2651 _sfFieldSFPub_spchildptr
.setValue(NULL
);
2656 SWARNING
<< "Parent ([" << this
2657 << "] id [" << this->getId()
2658 << "] type [" << this->getType().getCName()
2659 << "] childFieldId [" << childFieldId
2660 << "]) - Child ([" << pChild
2661 << "] id [" << pChild
->getId()
2662 << "] type [" << pChild
->getType().getCName()
2663 << "]): link inconsistent!"
2672 if(childFieldId
== FieldSFPro_spchildptrFieldId
)
2674 FCDSParTestFC
* pTypedChild
=
2675 dynamic_cast<FCDSParTestFC
*>(pChild
);
2677 if(pTypedChild
!= NULL
)
2679 if(_sfFieldSFPro_spchildptr
.getValue() == pTypedChild
)
2681 editSField(FieldSFPro_spchildptrFieldMask
);
2683 _sfFieldSFPro_spchildptr
.setValue(NULL
);
2688 SWARNING
<< "Parent ([" << this
2689 << "] id [" << this->getId()
2690 << "] type [" << this->getType().getCName()
2691 << "] childFieldId [" << childFieldId
2692 << "]) - Child ([" << pChild
2693 << "] id [" << pChild
->getId()
2694 << "] type [" << pChild
->getType().getCName()
2695 << "]): link inconsistent!"
2704 if(childFieldId
== FieldSFNo_spchildptrFieldId
)
2706 FCDSParTestFC
* pTypedChild
=
2707 dynamic_cast<FCDSParTestFC
*>(pChild
);
2709 if(pTypedChild
!= NULL
)
2711 if(_sfFieldSFNo_spchildptr
.getValue() == pTypedChild
)
2713 editSField(FieldSFNo_spchildptrFieldMask
);
2715 _sfFieldSFNo_spchildptr
.setValue(NULL
);
2720 SWARNING
<< "Parent ([" << this
2721 << "] id [" << this->getId()
2722 << "] type [" << this->getType().getCName()
2723 << "] childFieldId [" << childFieldId
2724 << "]) - Child ([" << pChild
2725 << "] id [" << pChild
->getId()
2726 << "] type [" << pChild
->getType().getCName()
2727 << "]): link inconsistent!"
2736 if(childFieldId
== FieldMFPub_spchildptrFieldId
)
2738 FCDSParTestFC
* pTypedChild
=
2739 dynamic_cast<FCDSParTestFC
*>(pChild
);
2741 if(pTypedChild
!= NULL
)
2743 Int32 iChildIdx
= _mfFieldMFPub_spchildptr
.findIndex(pTypedChild
);
2747 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
2749 _mfFieldMFPub_spchildptr
.erase(iChildIdx
);
2754 SWARNING
<< "Parent ([" << this
2755 << "] id [" << this->getId()
2756 << "] type [" << this->getType().getCName()
2757 << "] childFieldId [" << childFieldId
2758 << "]) - Child ([" << pChild
2759 << "] id [" << pChild
->getId()
2760 << "] type [" << pChild
->getType().getCName()
2761 << "]): link inconsistent!"
2770 if(childFieldId
== FieldMFPro_spchildptrFieldId
)
2772 FCDSParTestFC
* pTypedChild
=
2773 dynamic_cast<FCDSParTestFC
*>(pChild
);
2775 if(pTypedChild
!= NULL
)
2777 Int32 iChildIdx
= _mfFieldMFPro_spchildptr
.findIndex(pTypedChild
);
2781 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
2783 _mfFieldMFPro_spchildptr
.erase(iChildIdx
);
2788 SWARNING
<< "Parent ([" << this
2789 << "] id [" << this->getId()
2790 << "] type [" << this->getType().getCName()
2791 << "] childFieldId [" << childFieldId
2792 << "]) - Child ([" << pChild
2793 << "] id [" << pChild
->getId()
2794 << "] type [" << pChild
->getType().getCName()
2795 << "]): link inconsistent!"
2804 if(childFieldId
== FieldMFNo_spchildptrFieldId
)
2806 FCDSParTestFC
* pTypedChild
=
2807 dynamic_cast<FCDSParTestFC
*>(pChild
);
2809 if(pTypedChild
!= NULL
)
2811 Int32 iChildIdx
= _mfFieldMFNo_spchildptr
.findIndex(pTypedChild
);
2815 editMField(FieldMFNo_spchildptrFieldMask
, _mfFieldMFNo_spchildptr
);
2817 _mfFieldMFNo_spchildptr
.erase(iChildIdx
);
2822 SWARNING
<< "Parent ([" << this
2823 << "] id [" << this->getId()
2824 << "] type [" << this->getType().getCName()
2825 << "] childFieldId [" << childFieldId
2826 << "]) - Child ([" << pChild
2827 << "] id [" << pChild
->getId()
2828 << "] type [" << pChild
->getType().getCName()
2829 << "]): link inconsistent!"
2839 return Inherited::unlinkChild(pChild
, childFieldId
);
2842 void FCDPtrTestFCNullCheckAccessBase::onCreate(const FCDPtrTestFCNullCheckAccess
*source
)
2844 Inherited::onCreate(source
);
2848 FCDPtrTestFCNullCheckAccess
*pThis
= static_cast<FCDPtrTestFCNullCheckAccess
*>(this);
2850 pThis
->setFieldSFPub_ptr(source
->getFieldSFPub_ptr());
2852 pThis
->setFieldSFPub_weakptr(source
->getFieldSFPub_weakptr());
2854 pThis
->setFieldSFPub_mpchildptr(source
->getFieldSFPub_mpchildptr());
2856 pThis
->setFieldSFPro_ptr(source
->getFieldSFPro_ptr());
2858 pThis
->setFieldSFPro_weakptr(source
->getFieldSFPro_weakptr());
2860 pThis
->setFieldSFPro_mpchildptr(source
->getFieldSFPro_mpchildptr());
2862 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrIt
=
2863 source
->_mfFieldMFPub_ptr
.begin();
2864 MFUnrecFCDTestFCPtr::const_iterator FieldMFPub_ptrEnd
=
2865 source
->_mfFieldMFPub_ptr
.end ();
2867 while(FieldMFPub_ptrIt
!= FieldMFPub_ptrEnd
)
2869 pThis
->pushToFieldMFPub_ptr(*FieldMFPub_ptrIt
);
2874 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrIt
=
2875 source
->_mfFieldMFPub_weakptr
.begin();
2876 MFWeakFCDTestFCPtr::const_iterator FieldMFPub_weakptrEnd
=
2877 source
->_mfFieldMFPub_weakptr
.end ();
2879 while(FieldMFPub_weakptrIt
!= FieldMFPub_weakptrEnd
)
2881 pThis
->pushToFieldMFPub_weakptr(*FieldMFPub_weakptrIt
);
2883 ++FieldMFPub_weakptrIt
;
2886 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrIt
=
2887 source
->_mfFieldMFPub_mpchildptr
.begin();
2888 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPub_mpchildptrEnd
=
2889 source
->_mfFieldMFPub_mpchildptr
.end ();
2891 while(FieldMFPub_mpchildptrIt
!= FieldMFPub_mpchildptrEnd
)
2893 pThis
->pushToFieldMFPub_mpchildptr(*FieldMFPub_mpchildptrIt
);
2895 ++FieldMFPub_mpchildptrIt
;
2898 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrIt
=
2899 source
->_mfFieldMFPro_ptr
.begin();
2900 MFUnrecFCDTestFCPtr::const_iterator FieldMFPro_ptrEnd
=
2901 source
->_mfFieldMFPro_ptr
.end ();
2903 while(FieldMFPro_ptrIt
!= FieldMFPro_ptrEnd
)
2905 pThis
->pushToFieldMFPro_ptr(*FieldMFPro_ptrIt
);
2910 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrIt
=
2911 source
->_mfFieldMFPro_weakptr
.begin();
2912 MFWeakFCDTestFCPtr::const_iterator FieldMFPro_weakptrEnd
=
2913 source
->_mfFieldMFPro_weakptr
.end ();
2915 while(FieldMFPro_weakptrIt
!= FieldMFPro_weakptrEnd
)
2917 pThis
->pushToFieldMFPro_weakptr(*FieldMFPro_weakptrIt
);
2919 ++FieldMFPro_weakptrIt
;
2922 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrIt
=
2923 source
->_mfFieldMFPro_mpchildptr
.begin();
2924 MFUnrecChildFCDTestFCPtr::const_iterator FieldMFPro_mpchildptrEnd
=
2925 source
->_mfFieldMFPro_mpchildptr
.end ();
2927 while(FieldMFPro_mpchildptrIt
!= FieldMFPro_mpchildptrEnd
)
2929 pThis
->pushToFieldMFPro_mpchildptr(*FieldMFPro_mpchildptrIt
);
2931 ++FieldMFPro_mpchildptrIt
;
2934 pThis
->setFieldSFPub_spchildptr(source
->getFieldSFPub_spchildptr());
2936 pThis
->setFieldSFPro_spchildptr(source
->getFieldSFPro_spchildptr());
2938 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrIt
=
2939 source
->_mfFieldMFPub_spchildptr
.begin();
2940 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPub_spchildptrEnd
=
2941 source
->_mfFieldMFPub_spchildptr
.end ();
2943 while(FieldMFPub_spchildptrIt
!= FieldMFPub_spchildptrEnd
)
2945 pThis
->pushToFieldMFPub_spchildptr(*FieldMFPub_spchildptrIt
);
2947 ++FieldMFPub_spchildptrIt
;
2950 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrIt
=
2951 source
->_mfFieldMFPro_spchildptr
.begin();
2952 MFUnrecChildFCDSParTestFCPtr::const_iterator FieldMFPro_spchildptrEnd
=
2953 source
->_mfFieldMFPro_spchildptr
.end ();
2955 while(FieldMFPro_spchildptrIt
!= FieldMFPro_spchildptrEnd
)
2957 pThis
->pushToFieldMFPro_spchildptr(*FieldMFPro_spchildptrIt
);
2959 ++FieldMFPro_spchildptrIt
;
2964 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPub_ptr (void) const
2966 SFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
2967 new SFUnrecFCDTestFCPtr::GetHandle(
2969 this->getType().getFieldDesc(FieldSFPub_ptrFieldId
),
2970 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
2975 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPub_ptr (void)
2977 SFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
2978 new SFUnrecFCDTestFCPtr::EditHandle(
2980 this->getType().getFieldDesc(FieldSFPub_ptrFieldId
),
2983 returnValue
->setSetMethod(
2984 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPub_ptr
,
2985 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
2987 editSField(FieldSFPub_ptrFieldMask
);
2992 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPub_weakptr (void) const
2994 SFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
2995 new SFWeakFCDTestFCPtr::GetHandle(
2996 &_sfFieldSFPub_weakptr
,
2997 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId
),
2998 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3003 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPub_weakptr(void)
3005 SFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
3006 new SFWeakFCDTestFCPtr::EditHandle(
3007 &_sfFieldSFPub_weakptr
,
3008 this->getType().getFieldDesc(FieldSFPub_weakptrFieldId
),
3011 returnValue
->setSetMethod(
3012 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPub_weakptr
,
3013 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3015 editSField(FieldSFPub_weakptrFieldMask
);
3020 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPub_mpchildptr (void) const
3022 SFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
3023 new SFUnrecChildFCDTestFCPtr::GetHandle(
3024 &_sfFieldSFPub_mpchildptr
,
3025 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId
),
3026 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3031 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPub_mpchildptr(void)
3033 SFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
3034 new SFUnrecChildFCDTestFCPtr::EditHandle(
3035 &_sfFieldSFPub_mpchildptr
,
3036 this->getType().getFieldDesc(FieldSFPub_mpchildptrFieldId
),
3039 returnValue
->setSetMethod(
3040 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPub_mpchildptr
,
3041 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3043 editSField(FieldSFPub_mpchildptrFieldMask
);
3048 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPro_ptr (void) const
3050 SFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
3051 new SFUnrecFCDTestFCPtr::GetHandle(
3053 this->getType().getFieldDesc(FieldSFPro_ptrFieldId
),
3054 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3059 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPro_ptr (void)
3061 SFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
3062 new SFUnrecFCDTestFCPtr::EditHandle(
3064 this->getType().getFieldDesc(FieldSFPro_ptrFieldId
),
3067 returnValue
->setSetMethod(
3068 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPro_ptr
,
3069 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3071 editSField(FieldSFPro_ptrFieldMask
);
3076 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPro_weakptr (void) const
3078 SFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
3079 new SFWeakFCDTestFCPtr::GetHandle(
3080 &_sfFieldSFPro_weakptr
,
3081 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId
),
3082 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3087 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPro_weakptr(void)
3089 SFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
3090 new SFWeakFCDTestFCPtr::EditHandle(
3091 &_sfFieldSFPro_weakptr
,
3092 this->getType().getFieldDesc(FieldSFPro_weakptrFieldId
),
3095 returnValue
->setSetMethod(
3096 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPro_weakptr
,
3097 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3099 editSField(FieldSFPro_weakptrFieldMask
);
3104 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPro_mpchildptr (void) const
3106 SFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
3107 new SFUnrecChildFCDTestFCPtr::GetHandle(
3108 &_sfFieldSFPro_mpchildptr
,
3109 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId
),
3110 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3115 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPro_mpchildptr(void)
3117 SFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
3118 new SFUnrecChildFCDTestFCPtr::EditHandle(
3119 &_sfFieldSFPro_mpchildptr
,
3120 this->getType().getFieldDesc(FieldSFPro_mpchildptrFieldId
),
3123 returnValue
->setSetMethod(
3124 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPro_mpchildptr
,
3125 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3127 editSField(FieldSFPro_mpchildptrFieldMask
);
3132 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFNo_ptr (void) const
3134 SFUnrecFCDTestFCPtr::GetHandlePtr returnValue
;
3139 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFNo_ptr (void)
3141 EditFieldHandlePtr returnValue
;
3146 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFNo_weakptr (void) const
3148 SFWeakFCDTestFCPtr::GetHandlePtr returnValue
;
3153 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFNo_weakptr(void)
3155 EditFieldHandlePtr returnValue
;
3160 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFNo_mpchildptr (void) const
3162 SFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue
;
3167 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFNo_mpchildptr(void)
3169 EditFieldHandlePtr returnValue
;
3174 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPub_ptr (void) const
3176 MFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
3177 new MFUnrecFCDTestFCPtr::GetHandle(
3179 this->getType().getFieldDesc(FieldMFPub_ptrFieldId
),
3180 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3185 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPub_ptr (void)
3187 MFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
3188 new MFUnrecFCDTestFCPtr::EditHandle(
3190 this->getType().getFieldDesc(FieldMFPub_ptrFieldId
),
3193 returnValue
->setAddMethod(
3194 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPub_ptr
,
3195 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3196 returnValue
->setInsertMethod(
3197 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPub_ptr
,
3198 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3199 returnValue
->setReplaceMethod(
3200 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPub_ptr
,
3201 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3202 returnValue
->setReplaceObjMethod(
3203 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPub_ptr
,
3204 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3205 returnValue
->setRemoveMethod(
3206 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPub_ptr
,
3207 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3208 returnValue
->setRemoveObjMethod(
3209 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPub_ptr
,
3210 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3211 returnValue
->setClearMethod(
3212 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPub_ptr
,
3213 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3215 editMField(FieldMFPub_ptrFieldMask
, _mfFieldMFPub_ptr
);
3220 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPub_weakptr (void) const
3222 MFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
3223 new MFWeakFCDTestFCPtr::GetHandle(
3224 &_mfFieldMFPub_weakptr
,
3225 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId
),
3226 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3231 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPub_weakptr(void)
3233 MFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
3234 new MFWeakFCDTestFCPtr::EditHandle(
3235 &_mfFieldMFPub_weakptr
,
3236 this->getType().getFieldDesc(FieldMFPub_weakptrFieldId
),
3239 returnValue
->setAddMethod(
3240 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPub_weakptr
,
3241 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3242 returnValue
->setInsertMethod(
3243 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPub_weakptr
,
3244 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3245 returnValue
->setReplaceMethod(
3246 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPub_weakptr
,
3247 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3248 returnValue
->setReplaceObjMethod(
3249 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPub_weakptr
,
3250 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3251 returnValue
->setRemoveMethod(
3252 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPub_weakptr
,
3253 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3254 returnValue
->setRemoveObjMethod(
3255 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPub_weakptr
,
3256 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3257 returnValue
->setClearMethod(
3258 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPub_weakptr
,
3259 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3261 editMField(FieldMFPub_weakptrFieldMask
, _mfFieldMFPub_weakptr
);
3266 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPub_mpchildptr (void) const
3268 MFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
3269 new MFUnrecChildFCDTestFCPtr::GetHandle(
3270 &_mfFieldMFPub_mpchildptr
,
3271 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId
),
3272 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3277 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPub_mpchildptr(void)
3279 MFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
3280 new MFUnrecChildFCDTestFCPtr::EditHandle(
3281 &_mfFieldMFPub_mpchildptr
,
3282 this->getType().getFieldDesc(FieldMFPub_mpchildptrFieldId
),
3285 returnValue
->setAddMethod(
3286 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPub_mpchildptr
,
3287 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3288 returnValue
->setInsertMethod(
3289 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPub_mpchildptr
,
3290 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3291 returnValue
->setReplaceMethod(
3292 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPub_mpchildptr
,
3293 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3294 returnValue
->setReplaceObjMethod(
3295 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPub_mpchildptr
,
3296 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3297 returnValue
->setRemoveMethod(
3298 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPub_mpchildptr
,
3299 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3300 returnValue
->setRemoveObjMethod(
3301 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPub_mpchildptr
,
3302 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3303 returnValue
->setClearMethod(
3304 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPub_mpchildptr
,
3305 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3307 editMField(FieldMFPub_mpchildptrFieldMask
, _mfFieldMFPub_mpchildptr
);
3312 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPro_ptr (void) const
3314 MFUnrecFCDTestFCPtr::GetHandlePtr
returnValue(
3315 new MFUnrecFCDTestFCPtr::GetHandle(
3317 this->getType().getFieldDesc(FieldMFPro_ptrFieldId
),
3318 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3323 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPro_ptr (void)
3325 MFUnrecFCDTestFCPtr::EditHandlePtr
returnValue(
3326 new MFUnrecFCDTestFCPtr::EditHandle(
3328 this->getType().getFieldDesc(FieldMFPro_ptrFieldId
),
3331 returnValue
->setAddMethod(
3332 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPro_ptr
,
3333 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3334 returnValue
->setInsertMethod(
3335 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPro_ptr
,
3336 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3337 returnValue
->setReplaceMethod(
3338 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPro_ptr
,
3339 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3340 returnValue
->setReplaceObjMethod(
3341 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPro_ptr
,
3342 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3343 returnValue
->setRemoveMethod(
3344 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPro_ptr
,
3345 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3346 returnValue
->setRemoveObjMethod(
3347 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPro_ptr
,
3348 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3349 returnValue
->setClearMethod(
3350 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPro_ptr
,
3351 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3353 editMField(FieldMFPro_ptrFieldMask
, _mfFieldMFPro_ptr
);
3358 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPro_weakptr (void) const
3360 MFWeakFCDTestFCPtr::GetHandlePtr
returnValue(
3361 new MFWeakFCDTestFCPtr::GetHandle(
3362 &_mfFieldMFPro_weakptr
,
3363 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId
),
3364 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3369 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPro_weakptr(void)
3371 MFWeakFCDTestFCPtr::EditHandlePtr
returnValue(
3372 new MFWeakFCDTestFCPtr::EditHandle(
3373 &_mfFieldMFPro_weakptr
,
3374 this->getType().getFieldDesc(FieldMFPro_weakptrFieldId
),
3377 returnValue
->setAddMethod(
3378 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPro_weakptr
,
3379 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3380 returnValue
->setInsertMethod(
3381 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPro_weakptr
,
3382 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3383 returnValue
->setReplaceMethod(
3384 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPro_weakptr
,
3385 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3386 returnValue
->setReplaceObjMethod(
3387 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPro_weakptr
,
3388 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3389 returnValue
->setRemoveMethod(
3390 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPro_weakptr
,
3391 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3392 returnValue
->setRemoveObjMethod(
3393 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPro_weakptr
,
3394 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3395 returnValue
->setClearMethod(
3396 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPro_weakptr
,
3397 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3399 editMField(FieldMFPro_weakptrFieldMask
, _mfFieldMFPro_weakptr
);
3404 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPro_mpchildptr (void) const
3406 MFUnrecChildFCDTestFCPtr::GetHandlePtr
returnValue(
3407 new MFUnrecChildFCDTestFCPtr::GetHandle(
3408 &_mfFieldMFPro_mpchildptr
,
3409 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId
),
3410 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3415 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPro_mpchildptr(void)
3417 MFUnrecChildFCDTestFCPtr::EditHandlePtr
returnValue(
3418 new MFUnrecChildFCDTestFCPtr::EditHandle(
3419 &_mfFieldMFPro_mpchildptr
,
3420 this->getType().getFieldDesc(FieldMFPro_mpchildptrFieldId
),
3423 returnValue
->setAddMethod(
3424 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPro_mpchildptr
,
3425 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3426 returnValue
->setInsertMethod(
3427 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPro_mpchildptr
,
3428 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3429 returnValue
->setReplaceMethod(
3430 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPro_mpchildptr
,
3431 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3432 returnValue
->setReplaceObjMethod(
3433 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPro_mpchildptr
,
3434 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3435 returnValue
->setRemoveMethod(
3436 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPro_mpchildptr
,
3437 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3438 returnValue
->setRemoveObjMethod(
3439 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPro_mpchildptr
,
3440 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3441 returnValue
->setClearMethod(
3442 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPro_mpchildptr
,
3443 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3445 editMField(FieldMFPro_mpchildptrFieldMask
, _mfFieldMFPro_mpchildptr
);
3450 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFNo_ptr (void) const
3452 MFUnrecFCDTestFCPtr::GetHandlePtr returnValue
;
3457 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFNo_ptr (void)
3459 EditFieldHandlePtr returnValue
;
3464 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFNo_weakptr (void) const
3466 MFWeakFCDTestFCPtr::GetHandlePtr returnValue
;
3471 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFNo_weakptr(void)
3473 EditFieldHandlePtr returnValue
;
3478 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFNo_mpchildptr (void) const
3480 MFUnrecChildFCDTestFCPtr::GetHandlePtr returnValue
;
3485 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFNo_mpchildptr(void)
3487 EditFieldHandlePtr returnValue
;
3492 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPub_spchildptr (void) const
3494 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
3495 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
3496 &_sfFieldSFPub_spchildptr
,
3497 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId
),
3498 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3503 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPub_spchildptr(void)
3505 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
3506 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
3507 &_sfFieldSFPub_spchildptr
,
3508 this->getType().getFieldDesc(FieldSFPub_spchildptrFieldId
),
3511 returnValue
->setSetMethod(
3512 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPub_spchildptr
,
3513 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3515 editSField(FieldSFPub_spchildptrFieldMask
);
3520 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFPro_spchildptr (void) const
3522 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
3523 new SFUnrecChildFCDSParTestFCPtr::GetHandle(
3524 &_sfFieldSFPro_spchildptr
,
3525 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId
),
3526 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3531 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFPro_spchildptr(void)
3533 SFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
3534 new SFUnrecChildFCDSParTestFCPtr::EditHandle(
3535 &_sfFieldSFPro_spchildptr
,
3536 this->getType().getFieldDesc(FieldSFPro_spchildptrFieldId
),
3539 returnValue
->setSetMethod(
3540 boost::bind(&FCDPtrTestFCNullCheckAccess::setFieldSFPro_spchildptr
,
3541 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3543 editSField(FieldSFPro_spchildptrFieldMask
);
3548 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldSFNo_spchildptr (void) const
3550 SFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue
;
3555 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldSFNo_spchildptr(void)
3557 EditFieldHandlePtr returnValue
;
3562 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPub_spchildptr (void) const
3564 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
3565 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
3566 &_mfFieldMFPub_spchildptr
,
3567 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId
),
3568 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3573 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPub_spchildptr(void)
3575 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
3576 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
3577 &_mfFieldMFPub_spchildptr
,
3578 this->getType().getFieldDesc(FieldMFPub_spchildptrFieldId
),
3581 returnValue
->setAddMethod(
3582 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPub_spchildptr
,
3583 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3584 returnValue
->setInsertMethod(
3585 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPub_spchildptr
,
3586 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3587 returnValue
->setReplaceMethod(
3588 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPub_spchildptr
,
3589 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3590 returnValue
->setReplaceObjMethod(
3591 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPub_spchildptr
,
3592 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3593 returnValue
->setRemoveMethod(
3594 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPub_spchildptr
,
3595 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3596 returnValue
->setRemoveObjMethod(
3597 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPub_spchildptr
,
3598 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3599 returnValue
->setClearMethod(
3600 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPub_spchildptr
,
3601 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3603 editMField(FieldMFPub_spchildptrFieldMask
, _mfFieldMFPub_spchildptr
);
3608 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFPro_spchildptr (void) const
3610 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr
returnValue(
3611 new MFUnrecChildFCDSParTestFCPtr::GetHandle(
3612 &_mfFieldMFPro_spchildptr
,
3613 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId
),
3614 const_cast<FCDPtrTestFCNullCheckAccessBase
*>(this)));
3619 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFPro_spchildptr(void)
3621 MFUnrecChildFCDSParTestFCPtr::EditHandlePtr
returnValue(
3622 new MFUnrecChildFCDSParTestFCPtr::EditHandle(
3623 &_mfFieldMFPro_spchildptr
,
3624 this->getType().getFieldDesc(FieldMFPro_spchildptrFieldId
),
3627 returnValue
->setAddMethod(
3628 boost::bind(&FCDPtrTestFCNullCheckAccess::pushToFieldMFPro_spchildptr
,
3629 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3630 returnValue
->setInsertMethod(
3631 boost::bind(&FCDPtrTestFCNullCheckAccess::insertIntoFieldMFPro_spchildptr
,
3632 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3633 returnValue
->setReplaceMethod(
3634 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceInFieldMFPro_spchildptr
,
3635 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3636 returnValue
->setReplaceObjMethod(
3637 boost::bind(&FCDPtrTestFCNullCheckAccess::replaceObjInFieldMFPro_spchildptr
,
3638 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
, _2
));
3639 returnValue
->setRemoveMethod(
3640 boost::bind(&FCDPtrTestFCNullCheckAccess::removeFromFieldMFPro_spchildptr
,
3641 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3642 returnValue
->setRemoveObjMethod(
3643 boost::bind(&FCDPtrTestFCNullCheckAccess::removeObjFromFieldMFPro_spchildptr
,
3644 static_cast<FCDPtrTestFCNullCheckAccess
*>(this), _1
));
3645 returnValue
->setClearMethod(
3646 boost::bind(&FCDPtrTestFCNullCheckAccess::clearFieldMFPro_spchildptr
,
3647 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)));
3649 editMField(FieldMFPro_spchildptrFieldMask
, _mfFieldMFPro_spchildptr
);
3654 GetFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::getHandleFieldMFNo_spchildptr (void) const
3656 MFUnrecChildFCDSParTestFCPtr::GetHandlePtr returnValue
;
3661 EditFieldHandlePtr
FCDPtrTestFCNullCheckAccessBase::editHandleFieldMFNo_spchildptr(void)
3663 EditFieldHandlePtr returnValue
;
3669 #ifdef OSG_MT_CPTR_ASPECT
3670 void FCDPtrTestFCNullCheckAccessBase::execSyncV( FieldContainer
&oFrom
,
3671 ConstFieldMaskArg whichField
,
3672 AspectOffsetStore
&oOffsets
,
3673 ConstFieldMaskArg syncMode
,
3674 const UInt32 uiSyncInfo
)
3676 FCDPtrTestFCNullCheckAccess
*pThis
= static_cast<FCDPtrTestFCNullCheckAccess
*>(this);
3678 pThis
->execSync(static_cast<FCDPtrTestFCNullCheckAccess
*>(&oFrom
),
3687 #ifdef OSG_MT_CPTR_ASPECT
3688 FieldContainer
*FCDPtrTestFCNullCheckAccessBase::createAspectCopy(
3689 const FieldContainer
*pRefAspect
) const
3691 FCDPtrTestFCNullCheckAccess
*returnValue
;
3693 newAspectCopy(returnValue
,
3694 dynamic_cast<const FCDPtrTestFCNullCheckAccess
*>(pRefAspect
),
3695 dynamic_cast<const FCDPtrTestFCNullCheckAccess
*>(this));
3701 void FCDPtrTestFCNullCheckAccessBase::resolveLinks(void)
3703 Inherited::resolveLinks();
3705 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPub_ptr(NULL
);
3707 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPub_weakptr(NULL
);
3709 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPub_mpchildptr(NULL
);
3711 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPro_ptr(NULL
);
3713 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPro_weakptr(NULL
);
3715 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPro_mpchildptr(NULL
);
3717 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_ptr();
3719 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_weakptr();
3721 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_mpchildptr();
3723 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_ptr();
3725 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_weakptr();
3727 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_mpchildptr();
3729 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPub_spchildptr(NULL
);
3731 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->setFieldSFPro_spchildptr(NULL
);
3733 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPub_spchildptr();
3735 static_cast<FCDPtrTestFCNullCheckAccess
*>(this)->clearFieldMFPro_spchildptr();