fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / Test / SystemLib / OSGFCDPtrTestFCNullCheckAccessBase.h
blob3993fb92d306ce74018d9caa868c51345ac98641
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
18 * *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
27 * *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
30 * Changes *
31 * *
32 * *
33 * *
34 * *
35 * *
36 * *
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
41 ** **
42 ** This file is automatically generated. **
43 ** **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
46 ** **
47 ** Do not change this file, changes should be done in the derived **
48 ** class FCDPtrTestFCNullCheckAccess
49 ** **
50 *****************************************************************************
51 \*****************************************************************************/
54 #ifndef _OSGFCDPTRTESTFCNULLCHECKACCESSBASE_H_
55 #define _OSGFCDPTRTESTFCNULLCHECKACCESSBASE_H_
56 #ifdef __sgi
57 #pragma once
58 #endif
61 #include "OSGConfig.h"
62 #include "OSGSystemDef.h"
64 //#include "OSGBaseTypes.h"
66 #include "OSGNodeCore.h" // Parent
68 #include "OSGFCDTestFCFields.h" // FieldSFPub_ptr type
69 #include "OSGFCDSParTestFCFields.h" // FieldSFPub_spchildptr type
71 #include "OSGFCDPtrTestFCNullCheckAccessFields.h"
73 OSG_BEGIN_NAMESPACE
76 class FCDPtrTestFCNullCheckAccess;
78 //! \brief FCDPtrTestFCNullCheckAccess Base Class.
80 class OSG_SYSTEM_DLLMAPPING FCDPtrTestFCNullCheckAccessBase : public NodeCore
82 public:
84 typedef NodeCore Inherited;
85 typedef NodeCore ParentContainer;
87 typedef Inherited::TypeObject TypeObject;
88 typedef TypeObject::InitPhase InitPhase;
90 OSG_GEN_INTERNALPTR(FCDPtrTestFCNullCheckAccess);
92 /*========================== PUBLIC =================================*/
94 public:
96 enum
98 FieldSFPub_ptrFieldId = Inherited::NextFieldId,
99 FieldSFPub_weakptrFieldId = FieldSFPub_ptrFieldId + 1,
100 FieldSFPub_mpchildptrFieldId = FieldSFPub_weakptrFieldId + 1,
101 FieldSFPro_ptrFieldId = FieldSFPub_mpchildptrFieldId + 1,
102 FieldSFPro_weakptrFieldId = FieldSFPro_ptrFieldId + 1,
103 FieldSFPro_mpchildptrFieldId = FieldSFPro_weakptrFieldId + 1,
104 FieldSFNo_ptrFieldId = FieldSFPro_mpchildptrFieldId + 1,
105 FieldSFNo_weakptrFieldId = FieldSFNo_ptrFieldId + 1,
106 FieldSFNo_mpchildptrFieldId = FieldSFNo_weakptrFieldId + 1,
107 FieldMFPub_ptrFieldId = FieldSFNo_mpchildptrFieldId + 1,
108 FieldMFPub_weakptrFieldId = FieldMFPub_ptrFieldId + 1,
109 FieldMFPub_mpchildptrFieldId = FieldMFPub_weakptrFieldId + 1,
110 FieldMFPro_ptrFieldId = FieldMFPub_mpchildptrFieldId + 1,
111 FieldMFPro_weakptrFieldId = FieldMFPro_ptrFieldId + 1,
112 FieldMFPro_mpchildptrFieldId = FieldMFPro_weakptrFieldId + 1,
113 FieldMFNo_ptrFieldId = FieldMFPro_mpchildptrFieldId + 1,
114 FieldMFNo_weakptrFieldId = FieldMFNo_ptrFieldId + 1,
115 FieldMFNo_mpchildptrFieldId = FieldMFNo_weakptrFieldId + 1,
116 FieldSFPub_spchildptrFieldId = FieldMFNo_mpchildptrFieldId + 1,
117 FieldSFPro_spchildptrFieldId = FieldSFPub_spchildptrFieldId + 1,
118 FieldSFNo_spchildptrFieldId = FieldSFPro_spchildptrFieldId + 1,
119 FieldMFPub_spchildptrFieldId = FieldSFNo_spchildptrFieldId + 1,
120 FieldMFPro_spchildptrFieldId = FieldMFPub_spchildptrFieldId + 1,
121 FieldMFNo_spchildptrFieldId = FieldMFPro_spchildptrFieldId + 1,
122 NextFieldId = FieldMFNo_spchildptrFieldId + 1
125 static const OSG::BitVector FieldSFPub_ptrFieldMask =
126 (TypeTraits<BitVector>::One << FieldSFPub_ptrFieldId);
127 static const OSG::BitVector FieldSFPub_weakptrFieldMask =
128 (TypeTraits<BitVector>::One << FieldSFPub_weakptrFieldId);
129 static const OSG::BitVector FieldSFPub_mpchildptrFieldMask =
130 (TypeTraits<BitVector>::One << FieldSFPub_mpchildptrFieldId);
131 static const OSG::BitVector FieldSFPro_ptrFieldMask =
132 (TypeTraits<BitVector>::One << FieldSFPro_ptrFieldId);
133 static const OSG::BitVector FieldSFPro_weakptrFieldMask =
134 (TypeTraits<BitVector>::One << FieldSFPro_weakptrFieldId);
135 static const OSG::BitVector FieldSFPro_mpchildptrFieldMask =
136 (TypeTraits<BitVector>::One << FieldSFPro_mpchildptrFieldId);
137 static const OSG::BitVector FieldSFNo_ptrFieldMask =
138 (TypeTraits<BitVector>::One << FieldSFNo_ptrFieldId);
139 static const OSG::BitVector FieldSFNo_weakptrFieldMask =
140 (TypeTraits<BitVector>::One << FieldSFNo_weakptrFieldId);
141 static const OSG::BitVector FieldSFNo_mpchildptrFieldMask =
142 (TypeTraits<BitVector>::One << FieldSFNo_mpchildptrFieldId);
143 static const OSG::BitVector FieldMFPub_ptrFieldMask =
144 (TypeTraits<BitVector>::One << FieldMFPub_ptrFieldId);
145 static const OSG::BitVector FieldMFPub_weakptrFieldMask =
146 (TypeTraits<BitVector>::One << FieldMFPub_weakptrFieldId);
147 static const OSG::BitVector FieldMFPub_mpchildptrFieldMask =
148 (TypeTraits<BitVector>::One << FieldMFPub_mpchildptrFieldId);
149 static const OSG::BitVector FieldMFPro_ptrFieldMask =
150 (TypeTraits<BitVector>::One << FieldMFPro_ptrFieldId);
151 static const OSG::BitVector FieldMFPro_weakptrFieldMask =
152 (TypeTraits<BitVector>::One << FieldMFPro_weakptrFieldId);
153 static const OSG::BitVector FieldMFPro_mpchildptrFieldMask =
154 (TypeTraits<BitVector>::One << FieldMFPro_mpchildptrFieldId);
155 static const OSG::BitVector FieldMFNo_ptrFieldMask =
156 (TypeTraits<BitVector>::One << FieldMFNo_ptrFieldId);
157 static const OSG::BitVector FieldMFNo_weakptrFieldMask =
158 (TypeTraits<BitVector>::One << FieldMFNo_weakptrFieldId);
159 static const OSG::BitVector FieldMFNo_mpchildptrFieldMask =
160 (TypeTraits<BitVector>::One << FieldMFNo_mpchildptrFieldId);
161 static const OSG::BitVector FieldSFPub_spchildptrFieldMask =
162 (TypeTraits<BitVector>::One << FieldSFPub_spchildptrFieldId);
163 static const OSG::BitVector FieldSFPro_spchildptrFieldMask =
164 (TypeTraits<BitVector>::One << FieldSFPro_spchildptrFieldId);
165 static const OSG::BitVector FieldSFNo_spchildptrFieldMask =
166 (TypeTraits<BitVector>::One << FieldSFNo_spchildptrFieldId);
167 static const OSG::BitVector FieldMFPub_spchildptrFieldMask =
168 (TypeTraits<BitVector>::One << FieldMFPub_spchildptrFieldId);
169 static const OSG::BitVector FieldMFPro_spchildptrFieldMask =
170 (TypeTraits<BitVector>::One << FieldMFPro_spchildptrFieldId);
171 static const OSG::BitVector FieldMFNo_spchildptrFieldMask =
172 (TypeTraits<BitVector>::One << FieldMFNo_spchildptrFieldId);
173 static const OSG::BitVector NextFieldMask =
174 (TypeTraits<BitVector>::One << NextFieldId);
176 typedef SFUnrecFCDTestFCPtr SFFieldSFPub_ptrType;
177 typedef SFWeakFCDTestFCPtr SFFieldSFPub_weakptrType;
178 typedef SFUnrecChildFCDTestFCPtr SFFieldSFPub_mpchildptrType;
179 typedef SFUnrecFCDTestFCPtr SFFieldSFPro_ptrType;
180 typedef SFWeakFCDTestFCPtr SFFieldSFPro_weakptrType;
181 typedef SFUnrecChildFCDTestFCPtr SFFieldSFPro_mpchildptrType;
182 typedef SFUnrecFCDTestFCPtr SFFieldSFNo_ptrType;
183 typedef SFWeakFCDTestFCPtr SFFieldSFNo_weakptrType;
184 typedef SFUnrecChildFCDTestFCPtr SFFieldSFNo_mpchildptrType;
185 typedef MFUnrecFCDTestFCPtr MFFieldMFPub_ptrType;
186 typedef MFWeakFCDTestFCPtr MFFieldMFPub_weakptrType;
187 typedef MFUnrecChildFCDTestFCPtr MFFieldMFPub_mpchildptrType;
188 typedef MFUnrecFCDTestFCPtr MFFieldMFPro_ptrType;
189 typedef MFWeakFCDTestFCPtr MFFieldMFPro_weakptrType;
190 typedef MFUnrecChildFCDTestFCPtr MFFieldMFPro_mpchildptrType;
191 typedef MFUnrecFCDTestFCPtr MFFieldMFNo_ptrType;
192 typedef MFWeakFCDTestFCPtr MFFieldMFNo_weakptrType;
193 typedef MFUnrecChildFCDTestFCPtr MFFieldMFNo_mpchildptrType;
194 typedef SFUnrecChildFCDSParTestFCPtr SFFieldSFPub_spchildptrType;
195 typedef SFUnrecChildFCDSParTestFCPtr SFFieldSFPro_spchildptrType;
196 typedef SFUnrecChildFCDSParTestFCPtr SFFieldSFNo_spchildptrType;
197 typedef MFUnrecChildFCDSParTestFCPtr MFFieldMFPub_spchildptrType;
198 typedef MFUnrecChildFCDSParTestFCPtr MFFieldMFPro_spchildptrType;
199 typedef MFUnrecChildFCDSParTestFCPtr MFFieldMFNo_spchildptrType;
201 /*---------------------------------------------------------------------*/
202 /*! \name Class Get */
203 /*! \{ */
205 static FieldContainerType &getClassType (void);
206 static UInt32 getClassTypeId (void);
207 static UInt16 getClassGroupId(void);
209 /*! \} */
210 /*---------------------------------------------------------------------*/
211 /*! \name FieldContainer Get */
212 /*! \{ */
214 virtual FieldContainerType &getType (void);
215 virtual const FieldContainerType &getType (void) const;
217 virtual UInt32 getContainerSize(void) const;
219 /*! \} */
220 /*---------------------------------------------------------------------*/
221 /*! \name Field Get */
222 /*! \{ */
224 const SFUnrecFCDTestFCPtr *getSFFieldSFPub_ptr (void) const;
225 SFUnrecFCDTestFCPtr *editSFFieldSFPub_ptr (void);
226 const SFWeakFCDTestFCPtr *getSFFieldSFPub_weakptr(void) const;
227 SFWeakFCDTestFCPtr *editSFFieldSFPub_weakptr(void);
228 const SFUnrecChildFCDTestFCPtr *getSFFieldSFPub_mpchildptr(void) const;
229 SFUnrecChildFCDTestFCPtr *editSFFieldSFPub_mpchildptr(void);
230 const MFUnrecFCDTestFCPtr *getMFFieldMFPub_ptr (void) const;
231 const MFWeakFCDTestFCPtr *getMFFieldMFPub_weakptr(void) const;
232 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPub_mpchildptr(void) const;
233 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPub_spchildptr(void) const;
234 SFUnrecChildFCDSParTestFCPtr *editSFFieldSFPub_spchildptr(void);
235 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPub_spchildptr(void) const;
238 FCDTestFC * getFieldSFPub_ptr (void) const;
240 FCDTestFC * getFieldSFPub_weakptr(void) const;
242 FCDTestFC * getFieldSFPub_mpchildptr(void) const;
244 FCDTestFC * getFieldMFPub_ptr (const UInt32 index) const;
246 FCDTestFC * getFieldMFPub_weakptr(const UInt32 index) const;
248 FCDTestFC * getFieldMFPub_mpchildptr(const UInt32 index) const;
250 FCDSParTestFC * getFieldSFPub_spchildptr(void) const;
252 FCDSParTestFC * getFieldMFPub_spchildptr(const UInt32 index) const;
254 /*! \} */
255 /*---------------------------------------------------------------------*/
256 /*! \name Field Set */
257 /*! \{ */
259 void setFieldSFPub_ptr (FCDTestFC * const value);
260 void setFieldSFPub_weakptr(FCDTestFC * const value);
261 void setFieldSFPub_mpchildptr(FCDTestFC * const value);
262 void setFieldSFPub_spchildptr(FCDSParTestFC * const value);
264 /*! \} */
265 /*---------------------------------------------------------------------*/
266 /*! \name Ptr Field Set */
267 /*! \{ */
269 /*! \} */
270 /*---------------------------------------------------------------------*/
271 /*! \name Ptr MField Set */
272 /*! \{ */
274 void pushToFieldMFPub_ptr (FCDTestFC * const value );
275 void assignFieldMFPub_ptr (const MFUnrecFCDTestFCPtr &value);
276 void clearFieldMFPub_ptr (void );
277 void insertIntoFieldMFPub_ptr (UInt32 uiIndex,
278 FCDTestFC * const value );
279 void replaceInFieldMFPub_ptr ( UInt32 uiIndex,
280 FCDTestFC * const value );
281 void replaceObjInFieldMFPub_ptr (FCDTestFC * const pOldElem,
282 FCDTestFC * const pNewElem);
283 void removeFromFieldMFPub_ptr (UInt32 uiIndex );
284 void removeObjFromFieldMFPub_ptr(FCDTestFC * const value );
286 void pushToFieldMFPub_weakptr (FCDTestFC * const value );
287 void assignFieldMFPub_weakptr (const MFWeakFCDTestFCPtr &value);
288 void clearFieldMFPub_weakptr (void );
289 void insertIntoFieldMFPub_weakptr (UInt32 uiIndex,
290 FCDTestFC * const value );
291 void replaceInFieldMFPub_weakptr ( UInt32 uiIndex,
292 FCDTestFC * const value );
293 void replaceObjInFieldMFPub_weakptr (FCDTestFC * const pOldElem,
294 FCDTestFC * const pNewElem);
295 void removeFromFieldMFPub_weakptr (UInt32 uiIndex );
296 void removeObjFromFieldMFPub_weakptr(FCDTestFC * const value );
298 void pushToFieldMFPub_mpchildptr (FCDTestFC * const value );
299 void assignFieldMFPub_mpchildptr (const MFUnrecChildFCDTestFCPtr &value);
300 void clearFieldMFPub_mpchildptr (void );
301 void insertIntoFieldMFPub_mpchildptr (UInt32 uiIndex,
302 FCDTestFC * const value );
303 void replaceInFieldMFPub_mpchildptr ( UInt32 uiIndex,
304 FCDTestFC * const value );
305 void replaceObjInFieldMFPub_mpchildptr (FCDTestFC * const pOldElem,
306 FCDTestFC * const pNewElem);
307 void removeFromFieldMFPub_mpchildptr (UInt32 uiIndex );
308 void removeObjFromFieldMFPub_mpchildptr(FCDTestFC * const value );
310 void pushToFieldMFPub_spchildptr (FCDSParTestFC * const value );
311 void assignFieldMFPub_spchildptr (const MFUnrecChildFCDSParTestFCPtr &value);
312 void clearFieldMFPub_spchildptr (void );
313 void insertIntoFieldMFPub_spchildptr (UInt32 uiIndex,
314 FCDSParTestFC * const value );
315 void replaceInFieldMFPub_spchildptr ( UInt32 uiIndex,
316 FCDSParTestFC * const value );
317 void replaceObjInFieldMFPub_spchildptr (FCDSParTestFC * const pOldElem,
318 FCDSParTestFC * const pNewElem);
319 void removeFromFieldMFPub_spchildptr (UInt32 uiIndex );
320 void removeObjFromFieldMFPub_spchildptr(FCDSParTestFC * const value );
322 /*! \} */
323 /*---------------------------------------------------------------------*/
324 /*! \name Binary Access */
325 /*! \{ */
327 virtual SizeT getBinSize (ConstFieldMaskArg whichField);
328 virtual void copyToBin (BinaryDataHandler &pMem,
329 ConstFieldMaskArg whichField);
330 virtual void copyFromBin(BinaryDataHandler &pMem,
331 ConstFieldMaskArg whichField);
334 /*! \} */
335 /*---------------------------------------------------------------------*/
336 /*! \name Construction */
337 /*! \{ */
339 static FCDPtrTestFCNullCheckAccessTransitPtr create (void);
340 static FCDPtrTestFCNullCheckAccess *createEmpty (void);
342 static FCDPtrTestFCNullCheckAccessTransitPtr createLocal (
343 BitVector bFlags = FCLocal::All);
345 static FCDPtrTestFCNullCheckAccess *createEmptyLocal(
346 BitVector bFlags = FCLocal::All);
348 static FCDPtrTestFCNullCheckAccessTransitPtr createDependent (BitVector bFlags);
350 /*! \} */
351 /*---------------------------------------------------------------------*/
352 /*! \name Copy */
353 /*! \{ */
355 virtual FieldContainerTransitPtr shallowCopy (void) const;
356 virtual FieldContainerTransitPtr shallowCopyLocal(
357 BitVector bFlags = FCLocal::All) const;
358 virtual FieldContainerTransitPtr shallowCopyDependent(
359 BitVector bFlags) const;
361 /*! \} */
362 /*========================= PROTECTED ===============================*/
364 protected:
366 static TypeObject _type;
368 static void classDescInserter(TypeObject &oType);
369 static const Char8 *getClassname (void );
371 /*---------------------------------------------------------------------*/
372 /*! \name Fields */
373 /*! \{ */
375 SFUnrecFCDTestFCPtr _sfFieldSFPub_ptr;
376 SFWeakFCDTestFCPtr _sfFieldSFPub_weakptr;
377 SFUnrecChildFCDTestFCPtr _sfFieldSFPub_mpchildptr;
378 SFUnrecFCDTestFCPtr _sfFieldSFPro_ptr;
379 SFWeakFCDTestFCPtr _sfFieldSFPro_weakptr;
380 SFUnrecChildFCDTestFCPtr _sfFieldSFPro_mpchildptr;
381 SFUnrecFCDTestFCPtr _sfFieldSFNo_ptr;
382 SFWeakFCDTestFCPtr _sfFieldSFNo_weakptr;
383 SFUnrecChildFCDTestFCPtr _sfFieldSFNo_mpchildptr;
384 MFUnrecFCDTestFCPtr _mfFieldMFPub_ptr;
385 MFWeakFCDTestFCPtr _mfFieldMFPub_weakptr;
386 MFUnrecChildFCDTestFCPtr _mfFieldMFPub_mpchildptr;
387 MFUnrecFCDTestFCPtr _mfFieldMFPro_ptr;
388 MFWeakFCDTestFCPtr _mfFieldMFPro_weakptr;
389 MFUnrecChildFCDTestFCPtr _mfFieldMFPro_mpchildptr;
390 MFUnrecFCDTestFCPtr _mfFieldMFNo_ptr;
391 MFWeakFCDTestFCPtr _mfFieldMFNo_weakptr;
392 MFUnrecChildFCDTestFCPtr _mfFieldMFNo_mpchildptr;
393 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPub_spchildptr;
394 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPro_spchildptr;
395 SFUnrecChildFCDSParTestFCPtr _sfFieldSFNo_spchildptr;
396 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPub_spchildptr;
397 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPro_spchildptr;
398 MFUnrecChildFCDSParTestFCPtr _mfFieldMFNo_spchildptr;
400 /*! \} */
401 /*---------------------------------------------------------------------*/
402 /*! \name Constructors */
403 /*! \{ */
405 FCDPtrTestFCNullCheckAccessBase(void);
406 FCDPtrTestFCNullCheckAccessBase(const FCDPtrTestFCNullCheckAccessBase &source);
408 /*! \} */
409 /*---------------------------------------------------------------------*/
410 /*! \name Destructors */
411 /*! \{ */
413 virtual ~FCDPtrTestFCNullCheckAccessBase(void);
415 /*! \} */
416 /*---------------------------------------------------------------------*/
417 /*! \name onCreate */
418 /*! \{ */
420 void onCreate(const FCDPtrTestFCNullCheckAccess *source = NULL);
422 /*! \} */
423 /*---------------------------------------------------------------------*/
424 /*! \name Child linking */
425 /*! \{ */
427 virtual bool unlinkChild(FieldContainer * const pChild,
428 UInt16 const childFieldId);
430 /*! \} */
431 /*---------------------------------------------------------------------*/
432 /*! \name Generic Field Access */
433 /*! \{ */
435 GetFieldHandlePtr getHandleFieldSFPub_ptr (void) const;
436 EditFieldHandlePtr editHandleFieldSFPub_ptr (void);
437 GetFieldHandlePtr getHandleFieldSFPub_weakptr (void) const;
438 EditFieldHandlePtr editHandleFieldSFPub_weakptr(void);
439 GetFieldHandlePtr getHandleFieldSFPub_mpchildptr (void) const;
440 EditFieldHandlePtr editHandleFieldSFPub_mpchildptr(void);
441 GetFieldHandlePtr getHandleFieldSFPro_ptr (void) const;
442 EditFieldHandlePtr editHandleFieldSFPro_ptr (void);
443 GetFieldHandlePtr getHandleFieldSFPro_weakptr (void) const;
444 EditFieldHandlePtr editHandleFieldSFPro_weakptr(void);
445 GetFieldHandlePtr getHandleFieldSFPro_mpchildptr (void) const;
446 EditFieldHandlePtr editHandleFieldSFPro_mpchildptr(void);
447 GetFieldHandlePtr getHandleFieldSFNo_ptr (void) const;
448 EditFieldHandlePtr editHandleFieldSFNo_ptr (void);
449 GetFieldHandlePtr getHandleFieldSFNo_weakptr (void) const;
450 EditFieldHandlePtr editHandleFieldSFNo_weakptr(void);
451 GetFieldHandlePtr getHandleFieldSFNo_mpchildptr (void) const;
452 EditFieldHandlePtr editHandleFieldSFNo_mpchildptr(void);
453 GetFieldHandlePtr getHandleFieldMFPub_ptr (void) const;
454 EditFieldHandlePtr editHandleFieldMFPub_ptr (void);
455 GetFieldHandlePtr getHandleFieldMFPub_weakptr (void) const;
456 EditFieldHandlePtr editHandleFieldMFPub_weakptr(void);
457 GetFieldHandlePtr getHandleFieldMFPub_mpchildptr (void) const;
458 EditFieldHandlePtr editHandleFieldMFPub_mpchildptr(void);
459 GetFieldHandlePtr getHandleFieldMFPro_ptr (void) const;
460 EditFieldHandlePtr editHandleFieldMFPro_ptr (void);
461 GetFieldHandlePtr getHandleFieldMFPro_weakptr (void) const;
462 EditFieldHandlePtr editHandleFieldMFPro_weakptr(void);
463 GetFieldHandlePtr getHandleFieldMFPro_mpchildptr (void) const;
464 EditFieldHandlePtr editHandleFieldMFPro_mpchildptr(void);
465 GetFieldHandlePtr getHandleFieldMFNo_ptr (void) const;
466 EditFieldHandlePtr editHandleFieldMFNo_ptr (void);
467 GetFieldHandlePtr getHandleFieldMFNo_weakptr (void) const;
468 EditFieldHandlePtr editHandleFieldMFNo_weakptr(void);
469 GetFieldHandlePtr getHandleFieldMFNo_mpchildptr (void) const;
470 EditFieldHandlePtr editHandleFieldMFNo_mpchildptr(void);
471 GetFieldHandlePtr getHandleFieldSFPub_spchildptr (void) const;
472 EditFieldHandlePtr editHandleFieldSFPub_spchildptr(void);
473 GetFieldHandlePtr getHandleFieldSFPro_spchildptr (void) const;
474 EditFieldHandlePtr editHandleFieldSFPro_spchildptr(void);
475 GetFieldHandlePtr getHandleFieldSFNo_spchildptr (void) const;
476 EditFieldHandlePtr editHandleFieldSFNo_spchildptr(void);
477 GetFieldHandlePtr getHandleFieldMFPub_spchildptr (void) const;
478 EditFieldHandlePtr editHandleFieldMFPub_spchildptr(void);
479 GetFieldHandlePtr getHandleFieldMFPro_spchildptr (void) const;
480 EditFieldHandlePtr editHandleFieldMFPro_spchildptr(void);
481 GetFieldHandlePtr getHandleFieldMFNo_spchildptr (void) const;
482 EditFieldHandlePtr editHandleFieldMFNo_spchildptr(void);
484 /*! \} */
485 /*---------------------------------------------------------------------*/
486 /*! \name Field Get */
487 /*! \{ */
489 const SFUnrecFCDTestFCPtr *getSFFieldSFPro_ptr (void) const;
490 SFUnrecFCDTestFCPtr *editSFFieldSFPro_ptr (void);
491 const SFWeakFCDTestFCPtr *getSFFieldSFPro_weakptr (void) const;
492 SFWeakFCDTestFCPtr *editSFFieldSFPro_weakptr(void);
493 const SFUnrecChildFCDTestFCPtr *getSFFieldSFPro_mpchildptr (void) const;
494 SFUnrecChildFCDTestFCPtr *editSFFieldSFPro_mpchildptr(void);
495 const MFUnrecFCDTestFCPtr *getMFFieldMFPro_ptr (void) const;
496 const MFWeakFCDTestFCPtr *getMFFieldMFPro_weakptr (void) const;
497 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPro_mpchildptr (void) const;
498 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPro_spchildptr (void) const;
499 SFUnrecChildFCDSParTestFCPtr *editSFFieldSFPro_spchildptr(void);
500 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPro_spchildptr (void) const;
503 FCDTestFC * getFieldSFPro_ptr (void) const;
505 FCDTestFC * getFieldSFPro_weakptr(void) const;
507 FCDTestFC * getFieldSFPro_mpchildptr(void) const;
509 FCDTestFC * getFieldMFPro_ptr (const UInt32 index) const;
511 FCDTestFC * getFieldMFPro_weakptr(const UInt32 index) const;
513 FCDTestFC * getFieldMFPro_mpchildptr(const UInt32 index) const;
515 FCDSParTestFC * getFieldSFPro_spchildptr(void) const;
517 FCDSParTestFC * getFieldMFPro_spchildptr(const UInt32 index) const;
519 /*! \} */
520 /*---------------------------------------------------------------------*/
521 /*! \name Field Set */
522 /*! \{ */
524 void setFieldSFPro_ptr (FCDTestFC * const value);
525 void setFieldSFPro_weakptr(FCDTestFC * const value);
526 void setFieldSFPro_mpchildptr(FCDTestFC * const value);
527 void setFieldSFPro_spchildptr(FCDSParTestFC * const value);
529 /*! \} */
530 /*---------------------------------------------------------------------*/
531 /*! \name Ptr MField Set */
532 /*! \{ */
534 void pushToFieldMFPro_ptr (FCDTestFC * const value );
535 void assignFieldMFPro_ptr (const MFUnrecFCDTestFCPtr &value);
536 void clearFieldMFPro_ptr (void );
537 void insertIntoFieldMFPro_ptr (UInt32 uiIndex,
538 FCDTestFC * const value );
539 void replaceInFieldMFPro_ptr (UInt32 uiIndex,
540 FCDTestFC * const value );
541 void replaceObjInFieldMFPro_ptr (FCDTestFC * const pOldElem,
542 FCDTestFC * const pNewElem);
543 void removeFromFieldMFPro_ptr (UInt32 uiIndex );
544 void removeObjFromFieldMFPro_ptr(FCDTestFC * const value );
546 void pushToFieldMFPro_weakptr (FCDTestFC * const value );
547 void assignFieldMFPro_weakptr (const MFWeakFCDTestFCPtr &value);
548 void clearFieldMFPro_weakptr (void );
549 void insertIntoFieldMFPro_weakptr (UInt32 uiIndex,
550 FCDTestFC * const value );
551 void replaceInFieldMFPro_weakptr (UInt32 uiIndex,
552 FCDTestFC * const value );
553 void replaceObjInFieldMFPro_weakptr (FCDTestFC * const pOldElem,
554 FCDTestFC * const pNewElem);
555 void removeFromFieldMFPro_weakptr (UInt32 uiIndex );
556 void removeObjFromFieldMFPro_weakptr(FCDTestFC * const value );
558 void pushToFieldMFPro_mpchildptr (FCDTestFC * const value );
559 void assignFieldMFPro_mpchildptr (const MFUnrecChildFCDTestFCPtr &value);
560 void clearFieldMFPro_mpchildptr (void );
561 void insertIntoFieldMFPro_mpchildptr (UInt32 uiIndex,
562 FCDTestFC * const value );
563 void replaceInFieldMFPro_mpchildptr (UInt32 uiIndex,
564 FCDTestFC * const value );
565 void replaceObjInFieldMFPro_mpchildptr (FCDTestFC * const pOldElem,
566 FCDTestFC * const pNewElem);
567 void removeFromFieldMFPro_mpchildptr (UInt32 uiIndex );
568 void removeObjFromFieldMFPro_mpchildptr(FCDTestFC * const value );
570 void pushToFieldMFPro_spchildptr (FCDSParTestFC * const value );
571 void assignFieldMFPro_spchildptr (const MFUnrecChildFCDSParTestFCPtr &value);
572 void clearFieldMFPro_spchildptr (void );
573 void insertIntoFieldMFPro_spchildptr (UInt32 uiIndex,
574 FCDSParTestFC * const value );
575 void replaceInFieldMFPro_spchildptr (UInt32 uiIndex,
576 FCDSParTestFC * const value );
577 void replaceObjInFieldMFPro_spchildptr (FCDSParTestFC * const pOldElem,
578 FCDSParTestFC * const pNewElem);
579 void removeFromFieldMFPro_spchildptr (UInt32 uiIndex );
580 void removeObjFromFieldMFPro_spchildptr(FCDSParTestFC * const value );
582 /*! \} */
583 /*---------------------------------------------------------------------*/
584 /*! \name Sync */
585 /*! \{ */
587 #ifdef OSG_MT_CPTR_ASPECT
588 virtual void execSyncV( FieldContainer &oFrom,
589 ConstFieldMaskArg whichField,
590 AspectOffsetStore &oOffsets,
591 ConstFieldMaskArg syncMode ,
592 const UInt32 uiSyncInfo);
594 void execSync ( FCDPtrTestFCNullCheckAccessBase *pFrom,
595 ConstFieldMaskArg whichField,
596 AspectOffsetStore &oOffsets,
597 ConstFieldMaskArg syncMode ,
598 const UInt32 uiSyncInfo);
599 #endif
601 /*! \} */
602 /*---------------------------------------------------------------------*/
603 /*! \name Edit */
604 /*! \{ */
606 /*! \} */
607 /*---------------------------------------------------------------------*/
608 /*! \name Aspect Create */
609 /*! \{ */
611 #ifdef OSG_MT_CPTR_ASPECT
612 virtual FieldContainer *createAspectCopy(
613 const FieldContainer *pRefAspect) const;
614 #endif
616 /*! \} */
617 /*---------------------------------------------------------------------*/
618 /*! \name Edit */
619 /*! \{ */
620 /*! \} */
621 /*---------------------------------------------------------------------*/
622 /*! \name Sync */
623 /*! \{ */
625 virtual void resolveLinks(void);
627 /*! \} */
628 /*========================== PRIVATE ================================*/
630 private:
631 /*---------------------------------------------------------------------*/
633 // prohibit default functions (move to 'public' if you need one)
634 void operator =(const FCDPtrTestFCNullCheckAccessBase &source);
637 typedef FCDPtrTestFCNullCheckAccessBase *FCDPtrTestFCNullCheckAccessBaseP;
639 typedef CoredNodeRefPtr <FCDPtrTestFCNullCheckAccess> FCDPtrTestFCNullCheckAccessNodeRefPtr;
640 typedef CoredNodeMTRefPtr<FCDPtrTestFCNullCheckAccess> FCDPtrTestFCNullCheckAccessNodeMTRefPtr;
642 OSG_END_NAMESPACE
644 #endif /* _OSGFCDPTRTESTFCNULLCHECKACCESSBASE_H_ */