1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
7 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
13 * This library is free software; you can redistribute it and/or modify it *
14 * under the terms of the GNU Library General Public License as published *
15 * by the Free Software Foundation, version 2. *
17 * This library is distributed in the hope that it will be useful, but *
18 * WITHOUT ANY WARRANTY; without even the implied warranty of *
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
20 * Library General Public License for more details. *
22 * You should have received a copy of the GNU Library General Public *
23 * License along with this library; if not, write to the Free Software *
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
35 \*---------------------------------------------------------------------------*/
37 /*****************************************************************************\
38 *****************************************************************************
40 ** This file is automatically generated. **
42 ** Any changes made to this file WILL be lost when it is **
43 ** regenerated, which can become necessary at any time. **
45 ** Do not change this file, changes should be done in the derived **
46 ** class FCDPtrTestFC!
48 *****************************************************************************
49 \*****************************************************************************/
55 //! access the type of the class
57 OSG::FieldContainerType &FCDPtrTestFCBase::getClassType(void)
62 //! access the numerical type of the class
64 OSG::UInt32 FCDPtrTestFCBase::getClassTypeId(void)
70 OSG::UInt16 FCDPtrTestFCBase::getClassGroupId(void)
72 return _type.getGroupId();
75 /*------------------------------ get -----------------------------------*/
78 //! Get the value of the FCDPtrTestFC::_sfFieldSFPub_ptr field.
80 FCDTestFC * FCDPtrTestFCBase::getFieldSFPub_ptr(void) const
82 return _sfFieldSFPub_ptr.getValue();
85 //! Set the value of the FCDPtrTestFC::_sfFieldSFPub_ptr field.
87 void FCDPtrTestFCBase::setFieldSFPub_ptr(FCDTestFC * const value)
89 editSField(FieldSFPub_ptrFieldMask);
91 _sfFieldSFPub_ptr.setValue(value);
94 //! Get the value of the FCDPtrTestFC::_sfFieldSFPub_weakptr field.
96 FCDTestFC * FCDPtrTestFCBase::getFieldSFPub_weakptr(void) const
98 return _sfFieldSFPub_weakptr.getValue();
101 //! Set the value of the FCDPtrTestFC::_sfFieldSFPub_weakptr field.
103 void FCDPtrTestFCBase::setFieldSFPub_weakptr(FCDTestFC * const value)
105 editSField(FieldSFPub_weakptrFieldMask);
107 _sfFieldSFPub_weakptr.setValue(value);
110 //! Get the value of the FCDPtrTestFC::_sfFieldSFPub_mpchildptr field.
112 FCDTestFC * FCDPtrTestFCBase::getFieldSFPub_mpchildptr(void) const
114 return _sfFieldSFPub_mpchildptr.getValue();
117 //! Set the value of the FCDPtrTestFC::_sfFieldSFPub_mpchildptr field.
119 void FCDPtrTestFCBase::setFieldSFPub_mpchildptr(FCDTestFC * const value)
121 editSField(FieldSFPub_mpchildptrFieldMask);
123 _sfFieldSFPub_mpchildptr.setValue(value);
126 //! Get the value of the FCDPtrTestFC::_sfFieldSFPro_ptr field.
128 FCDTestFC * FCDPtrTestFCBase::getFieldSFPro_ptr(void) const
130 return _sfFieldSFPro_ptr.getValue();
133 //! Set the value of the FCDPtrTestFC::_sfFieldSFPro_ptr field.
135 void FCDPtrTestFCBase::setFieldSFPro_ptr(FCDTestFC * const value)
137 editSField(FieldSFPro_ptrFieldMask);
139 _sfFieldSFPro_ptr.setValue(value);
142 //! Get the value of the FCDPtrTestFC::_sfFieldSFPro_weakptr field.
144 FCDTestFC * FCDPtrTestFCBase::getFieldSFPro_weakptr(void) const
146 return _sfFieldSFPro_weakptr.getValue();
149 //! Set the value of the FCDPtrTestFC::_sfFieldSFPro_weakptr field.
151 void FCDPtrTestFCBase::setFieldSFPro_weakptr(FCDTestFC * const value)
153 editSField(FieldSFPro_weakptrFieldMask);
155 _sfFieldSFPro_weakptr.setValue(value);
158 //! Get the value of the FCDPtrTestFC::_sfFieldSFPro_mpchildptr field.
160 FCDTestFC * FCDPtrTestFCBase::getFieldSFPro_mpchildptr(void) const
162 return _sfFieldSFPro_mpchildptr.getValue();
165 //! Set the value of the FCDPtrTestFC::_sfFieldSFPro_mpchildptr field.
167 void FCDPtrTestFCBase::setFieldSFPro_mpchildptr(FCDTestFC * const value)
169 editSField(FieldSFPro_mpchildptrFieldMask);
171 _sfFieldSFPro_mpchildptr.setValue(value);
174 //! Get the value of the FCDPtrTestFC::_sfFieldSFPub_spchildptr field.
176 FCDSParTestFC * FCDPtrTestFCBase::getFieldSFPub_spchildptr(void) const
178 return _sfFieldSFPub_spchildptr.getValue();
181 //! Set the value of the FCDPtrTestFC::_sfFieldSFPub_spchildptr field.
183 void FCDPtrTestFCBase::setFieldSFPub_spchildptr(FCDSParTestFC * const value)
185 editSField(FieldSFPub_spchildptrFieldMask);
187 _sfFieldSFPub_spchildptr.setValue(value);
190 //! Get the value of the FCDPtrTestFC::_sfFieldSFPro_spchildptr field.
192 FCDSParTestFC * FCDPtrTestFCBase::getFieldSFPro_spchildptr(void) const
194 return _sfFieldSFPro_spchildptr.getValue();
197 //! Set the value of the FCDPtrTestFC::_sfFieldSFPro_spchildptr field.
199 void FCDPtrTestFCBase::setFieldSFPro_spchildptr(FCDSParTestFC * const value)
201 editSField(FieldSFPro_spchildptrFieldMask);
203 _sfFieldSFPro_spchildptr.setValue(value);
206 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPub_ptr field.
208 FCDTestFC * FCDPtrTestFCBase::getFieldMFPub_ptr(const UInt32 index) const
210 return _mfFieldMFPub_ptr[index];
213 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPub_weakptr field.
215 FCDTestFC * FCDPtrTestFCBase::getFieldMFPub_weakptr(const UInt32 index) const
217 return _mfFieldMFPub_weakptr[index];
220 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPub_mpchildptr field.
222 FCDTestFC * FCDPtrTestFCBase::getFieldMFPub_mpchildptr(const UInt32 index) const
224 return _mfFieldMFPub_mpchildptr[index];
227 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPro_ptr field.
229 FCDTestFC * FCDPtrTestFCBase::getFieldMFPro_ptr(const UInt32 index) const
231 return _mfFieldMFPro_ptr[index];
234 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPro_weakptr field.
236 FCDTestFC * FCDPtrTestFCBase::getFieldMFPro_weakptr(const UInt32 index) const
238 return _mfFieldMFPro_weakptr[index];
241 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPro_mpchildptr field.
243 FCDTestFC * FCDPtrTestFCBase::getFieldMFPro_mpchildptr(const UInt32 index) const
245 return _mfFieldMFPro_mpchildptr[index];
248 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPub_spchildptr field.
250 FCDSParTestFC * FCDPtrTestFCBase::getFieldMFPub_spchildptr(const UInt32 index) const
252 return _mfFieldMFPub_spchildptr[index];
255 //! Get the value of the \a index element the FCDPtrTestFC::_mfFieldMFPro_spchildptr field.
257 FCDSParTestFC * FCDPtrTestFCBase::getFieldMFPro_spchildptr(const UInt32 index) const
259 return _mfFieldMFPro_spchildptr[index];
263 #ifdef OSG_MT_CPTR_ASPECT
265 void FCDPtrTestFCBase::execSync ( FCDPtrTestFCBase *pFrom,
266 ConstFieldMaskArg whichField,
267 AspectOffsetStore &oOffsets,
268 ConstFieldMaskArg syncMode,
269 const UInt32 uiSyncInfo)
271 Inherited::execSync(pFrom, whichField, oOffsets, syncMode, uiSyncInfo);
273 if(FieldBits::NoField != (FieldSFPub_ptrFieldMask & whichField))
274 _sfFieldSFPub_ptr.syncWith(pFrom->_sfFieldSFPub_ptr);
276 if(FieldBits::NoField != (FieldSFPub_weakptrFieldMask & whichField))
277 _sfFieldSFPub_weakptr.syncWith(pFrom->_sfFieldSFPub_weakptr);
279 if(FieldBits::NoField != (FieldSFPub_mpchildptrFieldMask & whichField))
280 _sfFieldSFPub_mpchildptr.syncWith(pFrom->_sfFieldSFPub_mpchildptr);
282 if(FieldBits::NoField != (FieldSFPro_ptrFieldMask & whichField))
283 _sfFieldSFPro_ptr.syncWith(pFrom->_sfFieldSFPro_ptr);
285 if(FieldBits::NoField != (FieldSFPro_weakptrFieldMask & whichField))
286 _sfFieldSFPro_weakptr.syncWith(pFrom->_sfFieldSFPro_weakptr);
288 if(FieldBits::NoField != (FieldSFPro_mpchildptrFieldMask & whichField))
289 _sfFieldSFPro_mpchildptr.syncWith(pFrom->_sfFieldSFPro_mpchildptr);
291 if(FieldBits::NoField != (FieldSFNo_ptrFieldMask & whichField))
292 _sfFieldSFNo_ptr.syncWith(pFrom->_sfFieldSFNo_ptr);
294 if(FieldBits::NoField != (FieldSFNo_weakptrFieldMask & whichField))
295 _sfFieldSFNo_weakptr.syncWith(pFrom->_sfFieldSFNo_weakptr);
297 if(FieldBits::NoField != (FieldSFNo_mpchildptrFieldMask & whichField))
298 _sfFieldSFNo_mpchildptr.syncWith(pFrom->_sfFieldSFNo_mpchildptr);
300 if(FieldBits::NoField != (FieldMFPub_ptrFieldMask & whichField))
301 _mfFieldMFPub_ptr.syncWith(pFrom->_mfFieldMFPub_ptr,
306 if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
307 _mfFieldMFPub_weakptr.syncWith(pFrom->_mfFieldMFPub_weakptr,
312 if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
313 _mfFieldMFPub_mpchildptr.syncWith(pFrom->_mfFieldMFPub_mpchildptr,
318 if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
319 _mfFieldMFPro_ptr.syncWith(pFrom->_mfFieldMFPro_ptr,
324 if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
325 _mfFieldMFPro_weakptr.syncWith(pFrom->_mfFieldMFPro_weakptr,
330 if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
331 _mfFieldMFPro_mpchildptr.syncWith(pFrom->_mfFieldMFPro_mpchildptr,
336 if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
337 _mfFieldMFNo_ptr.syncWith(pFrom->_mfFieldMFNo_ptr,
342 if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
343 _mfFieldMFNo_weakptr.syncWith(pFrom->_mfFieldMFNo_weakptr,
348 if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
349 _mfFieldMFNo_mpchildptr.syncWith(pFrom->_mfFieldMFNo_mpchildptr,
354 if(FieldBits::NoField != (FieldSFPub_spchildptrFieldMask & whichField))
355 _sfFieldSFPub_spchildptr.syncWith(pFrom->_sfFieldSFPub_spchildptr);
357 if(FieldBits::NoField != (FieldSFPro_spchildptrFieldMask & whichField))
358 _sfFieldSFPro_spchildptr.syncWith(pFrom->_sfFieldSFPro_spchildptr);
360 if(FieldBits::NoField != (FieldSFNo_spchildptrFieldMask & whichField))
361 _sfFieldSFNo_spchildptr.syncWith(pFrom->_sfFieldSFNo_spchildptr);
363 if(FieldBits::NoField != (FieldMFPub_spchildptrFieldMask & whichField))
364 _mfFieldMFPub_spchildptr.syncWith(pFrom->_mfFieldMFPub_spchildptr,
369 if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
370 _mfFieldMFPro_spchildptr.syncWith(pFrom->_mfFieldMFPro_spchildptr,
375 if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
376 _mfFieldMFNo_spchildptr.syncWith(pFrom->_mfFieldMFNo_spchildptr,
385 const Char8 *FCDPtrTestFCBase::getClassname(void)
387 return "FCDPtrTestFC";
389 OSG_GEN_CONTAINERPTR(FCDPtrTestFC);