fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / Test / SystemLib / OSGFCDPtrTestFCBase.h
blob17e7efa124a1d16c0ba2fe12e7e912714ac18952
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
18 * *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
27 * *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
30 * Changes *
31 * *
32 * *
33 * *
34 * *
35 * *
36 * *
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
41 ** **
42 ** This file is automatically generated. **
43 ** **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
46 ** **
47 ** Do not change this file, changes should be done in the derived **
48 ** class FCDPtrTestFC
49 ** **
50 *****************************************************************************
51 \*****************************************************************************/
54 #ifndef _OSGFCDPTRTESTFCBASE_H_
55 #define _OSGFCDPTRTESTFCBASE_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 "OSGFCDPtrTestFCFields.h"
73 OSG_BEGIN_NAMESPACE
76 class FCDPtrTestFC;
78 //! \brief FCDPtrTestFC Base Class.
80 class OSG_SYSTEM_DLLMAPPING FCDPtrTestFCBase : 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(FCDPtrTestFC);
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 MFUnrecFCDTestFCPtr *editMFFieldMFPub_ptr (void);
232 const MFWeakFCDTestFCPtr *getMFFieldMFPub_weakptr(void) const;
233 MFWeakFCDTestFCPtr *editMFFieldMFPub_weakptr(void);
234 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPub_mpchildptr(void) const;
235 MFUnrecChildFCDTestFCPtr *editMFFieldMFPub_mpchildptr(void);
236 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPub_spchildptr(void) const;
237 SFUnrecChildFCDSParTestFCPtr *editSFFieldSFPub_spchildptr(void);
238 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPub_spchildptr(void) const;
239 MFUnrecChildFCDSParTestFCPtr *editMFFieldMFPub_spchildptr(void);
242 FCDTestFC * getFieldSFPub_ptr (void) const;
244 FCDTestFC * getFieldSFPub_weakptr(void) const;
246 FCDTestFC * getFieldSFPub_mpchildptr(void) const;
248 FCDTestFC * getFieldMFPub_ptr (const UInt32 index) const;
250 FCDTestFC * getFieldMFPub_weakptr(const UInt32 index) const;
252 FCDTestFC * getFieldMFPub_mpchildptr(const UInt32 index) const;
254 FCDSParTestFC * getFieldSFPub_spchildptr(void) const;
256 FCDSParTestFC * getFieldMFPub_spchildptr(const UInt32 index) const;
258 /*! \} */
259 /*---------------------------------------------------------------------*/
260 /*! \name Field Set */
261 /*! \{ */
263 void setFieldSFPub_ptr (FCDTestFC * const value);
264 void setFieldSFPub_weakptr(FCDTestFC * const value);
265 void setFieldSFPub_mpchildptr(FCDTestFC * const value);
266 void setFieldSFPub_spchildptr(FCDSParTestFC * const value);
268 /*! \} */
269 /*---------------------------------------------------------------------*/
270 /*! \name Ptr Field Set */
271 /*! \{ */
273 /*! \} */
274 /*---------------------------------------------------------------------*/
275 /*! \name Ptr MField Set */
276 /*! \{ */
278 void pushToFieldMFPub_ptr (FCDTestFC * const value );
279 void assignFieldMFPub_ptr (const MFUnrecFCDTestFCPtr &value);
280 void removeFromFieldMFPub_ptr (UInt32 uiIndex );
281 void removeObjFromFieldMFPub_ptr(FCDTestFC * const value );
282 void clearFieldMFPub_ptr (void );
284 void pushToFieldMFPub_weakptr (FCDTestFC * const value );
285 void assignFieldMFPub_weakptr (const MFWeakFCDTestFCPtr &value);
286 void removeFromFieldMFPub_weakptr (UInt32 uiIndex );
287 void removeObjFromFieldMFPub_weakptr(FCDTestFC * const value );
288 void clearFieldMFPub_weakptr (void );
290 void pushToFieldMFPub_mpchildptr (FCDTestFC * const value );
291 void assignFieldMFPub_mpchildptr (const MFUnrecChildFCDTestFCPtr &value);
292 void removeFromFieldMFPub_mpchildptr (UInt32 uiIndex );
293 void removeObjFromFieldMFPub_mpchildptr(FCDTestFC * const value );
294 void clearFieldMFPub_mpchildptr (void );
296 void pushToFieldMFPub_spchildptr (FCDSParTestFC * const value );
297 void assignFieldMFPub_spchildptr (const MFUnrecChildFCDSParTestFCPtr &value);
298 void removeFromFieldMFPub_spchildptr (UInt32 uiIndex );
299 void removeObjFromFieldMFPub_spchildptr(FCDSParTestFC * const value );
300 void clearFieldMFPub_spchildptr (void );
302 /*! \} */
303 /*---------------------------------------------------------------------*/
304 /*! \name Binary Access */
305 /*! \{ */
307 virtual SizeT getBinSize (ConstFieldMaskArg whichField);
308 virtual void copyToBin (BinaryDataHandler &pMem,
309 ConstFieldMaskArg whichField);
310 virtual void copyFromBin(BinaryDataHandler &pMem,
311 ConstFieldMaskArg whichField);
314 /*! \} */
315 /*---------------------------------------------------------------------*/
316 /*! \name Construction */
317 /*! \{ */
319 static FCDPtrTestFCTransitPtr create (void);
320 static FCDPtrTestFC *createEmpty (void);
322 static FCDPtrTestFCTransitPtr createLocal (
323 BitVector bFlags = FCLocal::All);
325 static FCDPtrTestFC *createEmptyLocal(
326 BitVector bFlags = FCLocal::All);
328 static FCDPtrTestFCTransitPtr createDependent (BitVector bFlags);
330 /*! \} */
331 /*---------------------------------------------------------------------*/
332 /*! \name Copy */
333 /*! \{ */
335 virtual FieldContainerTransitPtr shallowCopy (void) const;
336 virtual FieldContainerTransitPtr shallowCopyLocal(
337 BitVector bFlags = FCLocal::All) const;
338 virtual FieldContainerTransitPtr shallowCopyDependent(
339 BitVector bFlags) const;
341 /*! \} */
342 /*========================= PROTECTED ===============================*/
344 protected:
346 static TypeObject _type;
348 static void classDescInserter(TypeObject &oType);
349 static const Char8 *getClassname (void );
351 /*---------------------------------------------------------------------*/
352 /*! \name Fields */
353 /*! \{ */
355 SFUnrecFCDTestFCPtr _sfFieldSFPub_ptr;
356 SFWeakFCDTestFCPtr _sfFieldSFPub_weakptr;
357 SFUnrecChildFCDTestFCPtr _sfFieldSFPub_mpchildptr;
358 SFUnrecFCDTestFCPtr _sfFieldSFPro_ptr;
359 SFWeakFCDTestFCPtr _sfFieldSFPro_weakptr;
360 SFUnrecChildFCDTestFCPtr _sfFieldSFPro_mpchildptr;
361 SFUnrecFCDTestFCPtr _sfFieldSFNo_ptr;
362 SFWeakFCDTestFCPtr _sfFieldSFNo_weakptr;
363 SFUnrecChildFCDTestFCPtr _sfFieldSFNo_mpchildptr;
364 MFUnrecFCDTestFCPtr _mfFieldMFPub_ptr;
365 MFWeakFCDTestFCPtr _mfFieldMFPub_weakptr;
366 MFUnrecChildFCDTestFCPtr _mfFieldMFPub_mpchildptr;
367 MFUnrecFCDTestFCPtr _mfFieldMFPro_ptr;
368 MFWeakFCDTestFCPtr _mfFieldMFPro_weakptr;
369 MFUnrecChildFCDTestFCPtr _mfFieldMFPro_mpchildptr;
370 MFUnrecFCDTestFCPtr _mfFieldMFNo_ptr;
371 MFWeakFCDTestFCPtr _mfFieldMFNo_weakptr;
372 MFUnrecChildFCDTestFCPtr _mfFieldMFNo_mpchildptr;
373 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPub_spchildptr;
374 SFUnrecChildFCDSParTestFCPtr _sfFieldSFPro_spchildptr;
375 SFUnrecChildFCDSParTestFCPtr _sfFieldSFNo_spchildptr;
376 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPub_spchildptr;
377 MFUnrecChildFCDSParTestFCPtr _mfFieldMFPro_spchildptr;
378 MFUnrecChildFCDSParTestFCPtr _mfFieldMFNo_spchildptr;
380 /*! \} */
381 /*---------------------------------------------------------------------*/
382 /*! \name Constructors */
383 /*! \{ */
385 FCDPtrTestFCBase(void);
386 FCDPtrTestFCBase(const FCDPtrTestFCBase &source);
388 /*! \} */
389 /*---------------------------------------------------------------------*/
390 /*! \name Destructors */
391 /*! \{ */
393 virtual ~FCDPtrTestFCBase(void);
395 /*! \} */
396 /*---------------------------------------------------------------------*/
397 /*! \name onCreate */
398 /*! \{ */
400 void onCreate(const FCDPtrTestFC *source = NULL);
402 /*! \} */
403 /*---------------------------------------------------------------------*/
404 /*! \name Child linking */
405 /*! \{ */
407 virtual bool unlinkChild(FieldContainer * const pChild,
408 UInt16 const childFieldId);
410 /*! \} */
411 /*---------------------------------------------------------------------*/
412 /*! \name Generic Field Access */
413 /*! \{ */
415 GetFieldHandlePtr getHandleFieldSFPub_ptr (void) const;
416 EditFieldHandlePtr editHandleFieldSFPub_ptr (void);
417 GetFieldHandlePtr getHandleFieldSFPub_weakptr (void) const;
418 EditFieldHandlePtr editHandleFieldSFPub_weakptr(void);
419 GetFieldHandlePtr getHandleFieldSFPub_mpchildptr (void) const;
420 EditFieldHandlePtr editHandleFieldSFPub_mpchildptr(void);
421 GetFieldHandlePtr getHandleFieldSFPro_ptr (void) const;
422 EditFieldHandlePtr editHandleFieldSFPro_ptr (void);
423 GetFieldHandlePtr getHandleFieldSFPro_weakptr (void) const;
424 EditFieldHandlePtr editHandleFieldSFPro_weakptr(void);
425 GetFieldHandlePtr getHandleFieldSFPro_mpchildptr (void) const;
426 EditFieldHandlePtr editHandleFieldSFPro_mpchildptr(void);
427 GetFieldHandlePtr getHandleFieldSFNo_ptr (void) const;
428 EditFieldHandlePtr editHandleFieldSFNo_ptr (void);
429 GetFieldHandlePtr getHandleFieldSFNo_weakptr (void) const;
430 EditFieldHandlePtr editHandleFieldSFNo_weakptr(void);
431 GetFieldHandlePtr getHandleFieldSFNo_mpchildptr (void) const;
432 EditFieldHandlePtr editHandleFieldSFNo_mpchildptr(void);
433 GetFieldHandlePtr getHandleFieldMFPub_ptr (void) const;
434 EditFieldHandlePtr editHandleFieldMFPub_ptr (void);
435 GetFieldHandlePtr getHandleFieldMFPub_weakptr (void) const;
436 EditFieldHandlePtr editHandleFieldMFPub_weakptr(void);
437 GetFieldHandlePtr getHandleFieldMFPub_mpchildptr (void) const;
438 EditFieldHandlePtr editHandleFieldMFPub_mpchildptr(void);
439 GetFieldHandlePtr getHandleFieldMFPro_ptr (void) const;
440 EditFieldHandlePtr editHandleFieldMFPro_ptr (void);
441 GetFieldHandlePtr getHandleFieldMFPro_weakptr (void) const;
442 EditFieldHandlePtr editHandleFieldMFPro_weakptr(void);
443 GetFieldHandlePtr getHandleFieldMFPro_mpchildptr (void) const;
444 EditFieldHandlePtr editHandleFieldMFPro_mpchildptr(void);
445 GetFieldHandlePtr getHandleFieldMFNo_ptr (void) const;
446 EditFieldHandlePtr editHandleFieldMFNo_ptr (void);
447 GetFieldHandlePtr getHandleFieldMFNo_weakptr (void) const;
448 EditFieldHandlePtr editHandleFieldMFNo_weakptr(void);
449 GetFieldHandlePtr getHandleFieldMFNo_mpchildptr (void) const;
450 EditFieldHandlePtr editHandleFieldMFNo_mpchildptr(void);
451 GetFieldHandlePtr getHandleFieldSFPub_spchildptr (void) const;
452 EditFieldHandlePtr editHandleFieldSFPub_spchildptr(void);
453 GetFieldHandlePtr getHandleFieldSFPro_spchildptr (void) const;
454 EditFieldHandlePtr editHandleFieldSFPro_spchildptr(void);
455 GetFieldHandlePtr getHandleFieldSFNo_spchildptr (void) const;
456 EditFieldHandlePtr editHandleFieldSFNo_spchildptr(void);
457 GetFieldHandlePtr getHandleFieldMFPub_spchildptr (void) const;
458 EditFieldHandlePtr editHandleFieldMFPub_spchildptr(void);
459 GetFieldHandlePtr getHandleFieldMFPro_spchildptr (void) const;
460 EditFieldHandlePtr editHandleFieldMFPro_spchildptr(void);
461 GetFieldHandlePtr getHandleFieldMFNo_spchildptr (void) const;
462 EditFieldHandlePtr editHandleFieldMFNo_spchildptr(void);
464 /*! \} */
465 /*---------------------------------------------------------------------*/
466 /*! \name Field Get */
467 /*! \{ */
469 const SFUnrecFCDTestFCPtr *getSFFieldSFPro_ptr (void) const;
470 SFUnrecFCDTestFCPtr *editSFFieldSFPro_ptr (void);
471 const SFWeakFCDTestFCPtr *getSFFieldSFPro_weakptr (void) const;
472 SFWeakFCDTestFCPtr *editSFFieldSFPro_weakptr(void);
473 const SFUnrecChildFCDTestFCPtr *getSFFieldSFPro_mpchildptr (void) const;
474 SFUnrecChildFCDTestFCPtr *editSFFieldSFPro_mpchildptr(void);
475 const MFUnrecFCDTestFCPtr *getMFFieldMFPro_ptr (void) const;
476 MFUnrecFCDTestFCPtr *editMFFieldMFPro_ptr (void);
477 const MFWeakFCDTestFCPtr *getMFFieldMFPro_weakptr (void) const;
478 MFWeakFCDTestFCPtr *editMFFieldMFPro_weakptr(void);
479 const MFUnrecChildFCDTestFCPtr *getMFFieldMFPro_mpchildptr (void) const;
480 MFUnrecChildFCDTestFCPtr *editMFFieldMFPro_mpchildptr(void);
481 const SFUnrecChildFCDSParTestFCPtr *getSFFieldSFPro_spchildptr (void) const;
482 SFUnrecChildFCDSParTestFCPtr *editSFFieldSFPro_spchildptr(void);
483 const MFUnrecChildFCDSParTestFCPtr *getMFFieldMFPro_spchildptr (void) const;
484 MFUnrecChildFCDSParTestFCPtr *editMFFieldMFPro_spchildptr(void);
487 FCDTestFC * getFieldSFPro_ptr (void) const;
489 FCDTestFC * getFieldSFPro_weakptr(void) const;
491 FCDTestFC * getFieldSFPro_mpchildptr(void) const;
493 FCDTestFC * getFieldMFPro_ptr (const UInt32 index) const;
495 FCDTestFC * getFieldMFPro_weakptr(const UInt32 index) const;
497 FCDTestFC * getFieldMFPro_mpchildptr(const UInt32 index) const;
499 FCDSParTestFC * getFieldSFPro_spchildptr(void) const;
501 FCDSParTestFC * getFieldMFPro_spchildptr(const UInt32 index) const;
503 /*! \} */
504 /*---------------------------------------------------------------------*/
505 /*! \name Field Set */
506 /*! \{ */
508 void setFieldSFPro_ptr (FCDTestFC * const value);
509 void setFieldSFPro_weakptr(FCDTestFC * const value);
510 void setFieldSFPro_mpchildptr(FCDTestFC * const value);
511 void setFieldSFPro_spchildptr(FCDSParTestFC * const value);
513 /*! \} */
514 /*---------------------------------------------------------------------*/
515 /*! \name Ptr MField Set */
516 /*! \{ */
518 void pushToFieldMFPro_ptr (FCDTestFC * const value );
519 void assignFieldMFPro_ptr (const MFUnrecFCDTestFCPtr &value);
520 void removeFromFieldMFPro_ptr (UInt32 uiIndex );
521 void removeObjFromFieldMFPro_ptr(FCDTestFC * const value );
522 void clearFieldMFPro_ptr (void );
524 void pushToFieldMFPro_weakptr (FCDTestFC * const value );
525 void assignFieldMFPro_weakptr (const MFWeakFCDTestFCPtr &value);
526 void removeFromFieldMFPro_weakptr (UInt32 uiIndex );
527 void removeObjFromFieldMFPro_weakptr(FCDTestFC * const value );
528 void clearFieldMFPro_weakptr (void );
530 void pushToFieldMFPro_mpchildptr (FCDTestFC * const value );
531 void assignFieldMFPro_mpchildptr (const MFUnrecChildFCDTestFCPtr &value);
532 void removeFromFieldMFPro_mpchildptr (UInt32 uiIndex );
533 void removeObjFromFieldMFPro_mpchildptr(FCDTestFC * const value );
534 void clearFieldMFPro_mpchildptr (void );
536 void pushToFieldMFPro_spchildptr (FCDSParTestFC * const value );
537 void assignFieldMFPro_spchildptr (const MFUnrecChildFCDSParTestFCPtr &value);
538 void removeFromFieldMFPro_spchildptr (UInt32 uiIndex );
539 void removeObjFromFieldMFPro_spchildptr(FCDSParTestFC * const value );
540 void clearFieldMFPro_spchildptr (void );
542 /*! \} */
543 /*---------------------------------------------------------------------*/
544 /*! \name Sync */
545 /*! \{ */
547 #ifdef OSG_MT_CPTR_ASPECT
548 virtual void execSyncV( FieldContainer &oFrom,
549 ConstFieldMaskArg whichField,
550 AspectOffsetStore &oOffsets,
551 ConstFieldMaskArg syncMode ,
552 const UInt32 uiSyncInfo);
554 void execSync ( FCDPtrTestFCBase *pFrom,
555 ConstFieldMaskArg whichField,
556 AspectOffsetStore &oOffsets,
557 ConstFieldMaskArg syncMode ,
558 const UInt32 uiSyncInfo);
559 #endif
561 /*! \} */
562 /*---------------------------------------------------------------------*/
563 /*! \name Edit */
564 /*! \{ */
566 /*! \} */
567 /*---------------------------------------------------------------------*/
568 /*! \name Aspect Create */
569 /*! \{ */
571 #ifdef OSG_MT_CPTR_ASPECT
572 virtual FieldContainer *createAspectCopy(
573 const FieldContainer *pRefAspect) const;
574 #endif
576 /*! \} */
577 /*---------------------------------------------------------------------*/
578 /*! \name Edit */
579 /*! \{ */
580 /*! \} */
581 /*---------------------------------------------------------------------*/
582 /*! \name Sync */
583 /*! \{ */
585 virtual void resolveLinks(void);
587 /*! \} */
588 /*========================== PRIVATE ================================*/
590 private:
591 /*---------------------------------------------------------------------*/
593 // prohibit default functions (move to 'public' if you need one)
594 void operator =(const FCDPtrTestFCBase &source);
597 typedef FCDPtrTestFCBase *FCDPtrTestFCBaseP;
599 typedef CoredNodeRefPtr <FCDPtrTestFC> FCDPtrTestFCNodeRefPtr;
600 typedef CoredNodeMTRefPtr<FCDPtrTestFC> FCDPtrTestFCNodeMTRefPtr;
602 OSG_END_NAMESPACE
604 #endif /* _OSGFCDPTRTESTFCBASE_H_ */