fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / Test / SystemLib / OSGFCDPtrTestFCCustomAccessBase.h
blob914a4b83203e61771e395343581edd60be20758c
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 FCDPtrTestFCCustomAccess
49 ** **
50 *****************************************************************************
51 \*****************************************************************************/
54 #ifndef _OSGFCDPTRTESTFCCUSTOMACCESSBASE_H_
55 #define _OSGFCDPTRTESTFCCUSTOMACCESSBASE_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 "OSGFCDPtrTestFCCustomAccessFields.h"
73 OSG_BEGIN_NAMESPACE
76 class FCDPtrTestFCCustomAccess;
78 //! \brief FCDPtrTestFCCustomAccess Base Class.
80 class OSG_SYSTEM_DLLMAPPING FCDPtrTestFCCustomAccessBase : 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(FCDPtrTestFCCustomAccess);
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 const SFWeakFCDTestFCPtr *getSFFieldSFPub_weakptr(void) const;
226 const SFUnrecChildFCDTestFCPtr *getSFFieldSFPub_mpchildptr(void) const;
227 const MFUnrecFCDTestFCPtr *getMFFieldMFPub_ptr (void) const;
228 const MFWeakFCDTestFCPtr *getMFFieldMFPub_weakptr(void) const;
229 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPub_mpchildptr(void) const;
230 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPub_spchildptr(void) const;
231 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPub_spchildptr(void) const;
234 FCDTestFC * getFieldSFPub_ptr (void) const;
236 FCDTestFC * getFieldSFPub_weakptr(void) const;
238 FCDTestFC * getFieldSFPub_mpchildptr(void) const;
240 FCDTestFC * getFieldMFPub_ptr (const UInt32 index) const;
242 FCDTestFC * getFieldMFPub_weakptr(const UInt32 index) const;
244 FCDTestFC * getFieldMFPub_mpchildptr(const UInt32 index) const;
246 FCDSParTestFC * getFieldSFPub_spchildptr(void) const;
248 FCDSParTestFC * getFieldMFPub_spchildptr(const UInt32 index) const;
250 /*! \} */
251 /*---------------------------------------------------------------------*/
252 /*! \name Field Set */
253 /*! \{ */
256 /*! \} */
257 /*---------------------------------------------------------------------*/
258 /*! \name Ptr Field Set */
259 /*! \{ */
261 /*! \} */
262 /*---------------------------------------------------------------------*/
263 /*! \name Ptr MField Set */
264 /*! \{ */
266 /*! \} */
267 /*---------------------------------------------------------------------*/
268 /*! \name Binary Access */
269 /*! \{ */
271 virtual SizeT getBinSize (ConstFieldMaskArg whichField);
272 virtual void copyToBin (BinaryDataHandler &pMem,
273 ConstFieldMaskArg whichField);
274 virtual void copyFromBin(BinaryDataHandler &pMem,
275 ConstFieldMaskArg whichField);
278 /*! \} */
279 /*---------------------------------------------------------------------*/
280 /*! \name Construction */
281 /*! \{ */
283 static FCDPtrTestFCCustomAccessTransitPtr create (void);
284 static FCDPtrTestFCCustomAccess *createEmpty (void);
286 static FCDPtrTestFCCustomAccessTransitPtr createLocal (
287 BitVector bFlags = FCLocal::All);
289 static FCDPtrTestFCCustomAccess *createEmptyLocal(
290 BitVector bFlags = FCLocal::All);
292 static FCDPtrTestFCCustomAccessTransitPtr createDependent (BitVector bFlags);
294 /*! \} */
295 /*---------------------------------------------------------------------*/
296 /*! \name Copy */
297 /*! \{ */
299 virtual FieldContainerTransitPtr shallowCopy (void) const;
300 virtual FieldContainerTransitPtr shallowCopyLocal(
301 BitVector bFlags = FCLocal::All) const;
302 virtual FieldContainerTransitPtr shallowCopyDependent(
303 BitVector bFlags) const;
305 /*! \} */
306 /*========================= PROTECTED ===============================*/
308 protected:
310 static TypeObject _type;
312 static void classDescInserter(TypeObject &oType);
313 static const Char8 *getClassname (void );
315 /*---------------------------------------------------------------------*/
316 /*! \name Fields */
317 /*! \{ */
319 SFUnrecFCDTestFCPtr _sfFieldSFPub_ptr;
320 SFWeakFCDTestFCPtr _sfFieldSFPub_weakptr;
321 SFUnrecChildFCDTestFCPtr _sfFieldSFPub_mpchildptr;
322 SFUnrecFCDTestFCPtr _sfFieldSFPro_ptr;
323 SFWeakFCDTestFCPtr _sfFieldSFPro_weakptr;
324 SFUnrecChildFCDTestFCPtr _sfFieldSFPro_mpchildptr;
325 SFUnrecFCDTestFCPtr _sfFieldSFNo_ptr;
326 SFWeakFCDTestFCPtr _sfFieldSFNo_weakptr;
327 SFUnrecChildFCDTestFCPtr _sfFieldSFNo_mpchildptr;
328 MFUnrecFCDTestFCPtr _mfFieldMFPub_ptr;
329 MFWeakFCDTestFCPtr _mfFieldMFPub_weakptr;
330 MFUnrecChildFCDTestFCPtr _mfFieldMFPub_mpchildptr;
331 MFUnrecFCDTestFCPtr _mfFieldMFPro_ptr;
332 MFWeakFCDTestFCPtr _mfFieldMFPro_weakptr;
333 MFUnrecChildFCDTestFCPtr _mfFieldMFPro_mpchildptr;
334 MFUnrecFCDTestFCPtr _mfFieldMFNo_ptr;
335 MFWeakFCDTestFCPtr _mfFieldMFNo_weakptr;
336 MFUnrecChildFCDTestFCPtr _mfFieldMFNo_mpchildptr;
337 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPub_spchildptr;
338 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPro_spchildptr;
339 SFUnrecChildFCDSParTestFCPtr _sfFieldSFNo_spchildptr;
340 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPub_spchildptr;
341 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPro_spchildptr;
342 MFUnrecChildFCDSParTestFCPtr _mfFieldMFNo_spchildptr;
344 /*! \} */
345 /*---------------------------------------------------------------------*/
346 /*! \name Constructors */
347 /*! \{ */
349 FCDPtrTestFCCustomAccessBase(void);
350 FCDPtrTestFCCustomAccessBase(const FCDPtrTestFCCustomAccessBase &source);
352 /*! \} */
353 /*---------------------------------------------------------------------*/
354 /*! \name Destructors */
355 /*! \{ */
357 virtual ~FCDPtrTestFCCustomAccessBase(void);
359 /*! \} */
360 /*---------------------------------------------------------------------*/
361 /*! \name onCreate */
362 /*! \{ */
364 void onCreate(const FCDPtrTestFCCustomAccess *source = NULL);
366 /*! \} */
367 /*---------------------------------------------------------------------*/
368 /*! \name Child linking */
369 /*! \{ */
371 virtual bool unlinkChild(FieldContainer * const pChild,
372 UInt16 const childFieldId);
374 /*! \} */
375 /*---------------------------------------------------------------------*/
376 /*! \name Generic Field Access */
377 /*! \{ */
379 GetFieldHandlePtr getHandleFieldSFPub_ptr (void) const;
380 EditFieldHandlePtr editHandleFieldSFPub_ptr (void);
381 GetFieldHandlePtr getHandleFieldSFPub_weakptr (void) const;
382 EditFieldHandlePtr editHandleFieldSFPub_weakptr(void);
383 GetFieldHandlePtr getHandleFieldSFPub_mpchildptr (void) const;
384 EditFieldHandlePtr editHandleFieldSFPub_mpchildptr(void);
385 GetFieldHandlePtr getHandleFieldSFPro_ptr (void) const;
386 EditFieldHandlePtr editHandleFieldSFPro_ptr (void);
387 GetFieldHandlePtr getHandleFieldSFPro_weakptr (void) const;
388 EditFieldHandlePtr editHandleFieldSFPro_weakptr(void);
389 GetFieldHandlePtr getHandleFieldSFPro_mpchildptr (void) const;
390 EditFieldHandlePtr editHandleFieldSFPro_mpchildptr(void);
391 GetFieldHandlePtr getHandleFieldSFNo_ptr (void) const;
392 EditFieldHandlePtr editHandleFieldSFNo_ptr (void);
393 GetFieldHandlePtr getHandleFieldSFNo_weakptr (void) const;
394 EditFieldHandlePtr editHandleFieldSFNo_weakptr(void);
395 GetFieldHandlePtr getHandleFieldSFNo_mpchildptr (void) const;
396 EditFieldHandlePtr editHandleFieldSFNo_mpchildptr(void);
397 GetFieldHandlePtr getHandleFieldMFPub_ptr (void) const;
398 EditFieldHandlePtr editHandleFieldMFPub_ptr (void);
399 GetFieldHandlePtr getHandleFieldMFPub_weakptr (void) const;
400 EditFieldHandlePtr editHandleFieldMFPub_weakptr(void);
401 GetFieldHandlePtr getHandleFieldMFPub_mpchildptr (void) const;
402 EditFieldHandlePtr editHandleFieldMFPub_mpchildptr(void);
403 GetFieldHandlePtr getHandleFieldMFPro_ptr (void) const;
404 EditFieldHandlePtr editHandleFieldMFPro_ptr (void);
405 GetFieldHandlePtr getHandleFieldMFPro_weakptr (void) const;
406 EditFieldHandlePtr editHandleFieldMFPro_weakptr(void);
407 GetFieldHandlePtr getHandleFieldMFPro_mpchildptr (void) const;
408 EditFieldHandlePtr editHandleFieldMFPro_mpchildptr(void);
409 GetFieldHandlePtr getHandleFieldMFNo_ptr (void) const;
410 EditFieldHandlePtr editHandleFieldMFNo_ptr (void);
411 GetFieldHandlePtr getHandleFieldMFNo_weakptr (void) const;
412 EditFieldHandlePtr editHandleFieldMFNo_weakptr(void);
413 GetFieldHandlePtr getHandleFieldMFNo_mpchildptr (void) const;
414 EditFieldHandlePtr editHandleFieldMFNo_mpchildptr(void);
415 GetFieldHandlePtr getHandleFieldSFPub_spchildptr (void) const;
416 EditFieldHandlePtr editHandleFieldSFPub_spchildptr(void);
417 GetFieldHandlePtr getHandleFieldSFPro_spchildptr (void) const;
418 EditFieldHandlePtr editHandleFieldSFPro_spchildptr(void);
419 GetFieldHandlePtr getHandleFieldSFNo_spchildptr (void) const;
420 EditFieldHandlePtr editHandleFieldSFNo_spchildptr(void);
421 GetFieldHandlePtr getHandleFieldMFPub_spchildptr (void) const;
422 EditFieldHandlePtr editHandleFieldMFPub_spchildptr(void);
423 GetFieldHandlePtr getHandleFieldMFPro_spchildptr (void) const;
424 EditFieldHandlePtr editHandleFieldMFPro_spchildptr(void);
425 GetFieldHandlePtr getHandleFieldMFNo_spchildptr (void) const;
426 EditFieldHandlePtr editHandleFieldMFNo_spchildptr(void);
428 /*! \} */
429 /*---------------------------------------------------------------------*/
430 /*! \name Field Get */
431 /*! \{ */
433 const SFUnrecFCDTestFCPtr *getSFFieldSFPro_ptr (void) const;
434 const SFWeakFCDTestFCPtr *getSFFieldSFPro_weakptr (void) const;
435 const SFUnrecChildFCDTestFCPtr *getSFFieldSFPro_mpchildptr (void) const;
436 const MFUnrecFCDTestFCPtr *getMFFieldMFPro_ptr (void) const;
437 const MFWeakFCDTestFCPtr *getMFFieldMFPro_weakptr (void) const;
438 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPro_mpchildptr (void) const;
439 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPro_spchildptr (void) const;
440 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPro_spchildptr (void) const;
443 FCDTestFC * getFieldSFPro_ptr (void) const;
445 FCDTestFC * getFieldSFPro_weakptr(void) const;
447 FCDTestFC * getFieldSFPro_mpchildptr(void) const;
449 FCDTestFC * getFieldMFPro_ptr (const UInt32 index) const;
451 FCDTestFC * getFieldMFPro_weakptr(const UInt32 index) const;
453 FCDTestFC * getFieldMFPro_mpchildptr(const UInt32 index) const;
455 FCDSParTestFC * getFieldSFPro_spchildptr(void) const;
457 FCDSParTestFC * getFieldMFPro_spchildptr(const UInt32 index) const;
459 /*! \} */
460 /*---------------------------------------------------------------------*/
461 /*! \name Field Set */
462 /*! \{ */
465 /*! \} */
466 /*---------------------------------------------------------------------*/
467 /*! \name Ptr MField Set */
468 /*! \{ */
470 /*! \} */
471 /*---------------------------------------------------------------------*/
472 /*! \name Sync */
473 /*! \{ */
475 #ifdef OSG_MT_CPTR_ASPECT
476 virtual void execSyncV( FieldContainer &oFrom,
477 ConstFieldMaskArg whichField,
478 AspectOffsetStore &oOffsets,
479 ConstFieldMaskArg syncMode ,
480 const UInt32 uiSyncInfo);
482 void execSync ( FCDPtrTestFCCustomAccessBase *pFrom,
483 ConstFieldMaskArg whichField,
484 AspectOffsetStore &oOffsets,
485 ConstFieldMaskArg syncMode ,
486 const UInt32 uiSyncInfo);
487 #endif
489 /*! \} */
490 /*---------------------------------------------------------------------*/
491 /*! \name Edit */
492 /*! \{ */
494 /*! \} */
495 /*---------------------------------------------------------------------*/
496 /*! \name Aspect Create */
497 /*! \{ */
499 #ifdef OSG_MT_CPTR_ASPECT
500 virtual FieldContainer *createAspectCopy(
501 const FieldContainer *pRefAspect) const;
502 #endif
504 /*! \} */
505 /*---------------------------------------------------------------------*/
506 /*! \name Edit */
507 /*! \{ */
508 /*! \} */
509 /*---------------------------------------------------------------------*/
510 /*! \name Sync */
511 /*! \{ */
513 virtual void resolveLinks(void);
515 /*! \} */
516 /*========================== PRIVATE ================================*/
518 private:
519 /*---------------------------------------------------------------------*/
521 // prohibit default functions (move to 'public' if you need one)
522 void operator =(const FCDPtrTestFCCustomAccessBase &source);
525 typedef FCDPtrTestFCCustomAccessBase *FCDPtrTestFCCustomAccessBaseP;
527 typedef CoredNodeRefPtr <FCDPtrTestFCCustomAccess> FCDPtrTestFCCustomAccessNodeRefPtr;
528 typedef CoredNodeMTRefPtr<FCDPtrTestFCCustomAccess> FCDPtrTestFCCustomAccessNodeMTRefPtr;
530 OSG_END_NAMESPACE
532 #endif /* _OSGFCDPTRTESTFCCUSTOMACCESSBASE_H_ */