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 FCDPtrTestFCCustomAccess!
48 *****************************************************************************
49 \*****************************************************************************/
55 //! access the type of the class
57 OSG::FieldContainerType &FCDPtrTestFCCustomAccessBase::getClassType(void)
62 //! access the numerical type of the class
64 OSG::UInt32 FCDPtrTestFCCustomAccessBase::getClassTypeId(void)
70 OSG::UInt16 FCDPtrTestFCCustomAccessBase::getClassGroupId(void)
72 return _type.getGroupId();
75 /*------------------------------ get -----------------------------------*/
78 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_ptr field.
80 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_ptr(void) const
82 return _sfFieldSFPub_ptr.getValue();
86 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_weakptr field.
88 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_weakptr(void) const
90 return _sfFieldSFPub_weakptr.getValue();
94 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_mpchildptr field.
96 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_mpchildptr(void) const
98 return _sfFieldSFPub_mpchildptr.getValue();
102 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_ptr field.
104 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_ptr(void) const
106 return _sfFieldSFPro_ptr.getValue();
110 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_weakptr field.
112 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_weakptr(void) const
114 return _sfFieldSFPro_weakptr.getValue();
118 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_mpchildptr field.
120 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_mpchildptr(void) const
122 return _sfFieldSFPro_mpchildptr.getValue();
126 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_spchildptr field.
128 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_spchildptr(void) const
130 return _sfFieldSFPub_spchildptr.getValue();
134 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_spchildptr field.
136 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_spchildptr(void) const
138 return _sfFieldSFPro_spchildptr.getValue();
142 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPub_ptr field.
144 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPub_ptr(const UInt32 index) const
146 return _mfFieldMFPub_ptr[index];
149 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPub_weakptr field.
151 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPub_weakptr(const UInt32 index) const
153 return _mfFieldMFPub_weakptr[index];
156 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPub_mpchildptr field.
158 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPub_mpchildptr(const UInt32 index) const
160 return _mfFieldMFPub_mpchildptr[index];
163 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPro_ptr field.
165 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPro_ptr(const UInt32 index) const
167 return _mfFieldMFPro_ptr[index];
170 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPro_weakptr field.
172 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPro_weakptr(const UInt32 index) const
174 return _mfFieldMFPro_weakptr[index];
177 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPro_mpchildptr field.
179 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPro_mpchildptr(const UInt32 index) const
181 return _mfFieldMFPro_mpchildptr[index];
184 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPub_spchildptr field.
186 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPub_spchildptr(const UInt32 index) const
188 return _mfFieldMFPub_spchildptr[index];
191 //! Get the value of the \a index element the FCDPtrTestFCCustomAccess::_mfFieldMFPro_spchildptr field.
193 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPro_spchildptr(const UInt32 index) const
195 return _mfFieldMFPro_spchildptr[index];
199 #ifdef OSG_MT_CPTR_ASPECT
201 void FCDPtrTestFCCustomAccessBase::execSync ( FCDPtrTestFCCustomAccessBase *pFrom,
202 ConstFieldMaskArg whichField,
203 AspectOffsetStore &oOffsets,
204 ConstFieldMaskArg syncMode,
205 const UInt32 uiSyncInfo)
207 Inherited::execSync(pFrom, whichField, oOffsets, syncMode, uiSyncInfo);
209 if(FieldBits::NoField != (FieldSFPub_ptrFieldMask & whichField))
210 _sfFieldSFPub_ptr.syncWith(pFrom->_sfFieldSFPub_ptr);
212 if(FieldBits::NoField != (FieldSFPub_weakptrFieldMask & whichField))
213 _sfFieldSFPub_weakptr.syncWith(pFrom->_sfFieldSFPub_weakptr);
215 if(FieldBits::NoField != (FieldSFPub_mpchildptrFieldMask & whichField))
216 _sfFieldSFPub_mpchildptr.syncWith(pFrom->_sfFieldSFPub_mpchildptr);
218 if(FieldBits::NoField != (FieldSFPro_ptrFieldMask & whichField))
219 _sfFieldSFPro_ptr.syncWith(pFrom->_sfFieldSFPro_ptr);
221 if(FieldBits::NoField != (FieldSFPro_weakptrFieldMask & whichField))
222 _sfFieldSFPro_weakptr.syncWith(pFrom->_sfFieldSFPro_weakptr);
224 if(FieldBits::NoField != (FieldSFPro_mpchildptrFieldMask & whichField))
225 _sfFieldSFPro_mpchildptr.syncWith(pFrom->_sfFieldSFPro_mpchildptr);
227 if(FieldBits::NoField != (FieldSFNo_ptrFieldMask & whichField))
228 _sfFieldSFNo_ptr.syncWith(pFrom->_sfFieldSFNo_ptr);
230 if(FieldBits::NoField != (FieldSFNo_weakptrFieldMask & whichField))
231 _sfFieldSFNo_weakptr.syncWith(pFrom->_sfFieldSFNo_weakptr);
233 if(FieldBits::NoField != (FieldSFNo_mpchildptrFieldMask & whichField))
234 _sfFieldSFNo_mpchildptr.syncWith(pFrom->_sfFieldSFNo_mpchildptr);
236 if(FieldBits::NoField != (FieldMFPub_ptrFieldMask & whichField))
237 _mfFieldMFPub_ptr.syncWith(pFrom->_mfFieldMFPub_ptr,
242 if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
243 _mfFieldMFPub_weakptr.syncWith(pFrom->_mfFieldMFPub_weakptr,
248 if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
249 _mfFieldMFPub_mpchildptr.syncWith(pFrom->_mfFieldMFPub_mpchildptr,
254 if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
255 _mfFieldMFPro_ptr.syncWith(pFrom->_mfFieldMFPro_ptr,
260 if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
261 _mfFieldMFPro_weakptr.syncWith(pFrom->_mfFieldMFPro_weakptr,
266 if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
267 _mfFieldMFPro_mpchildptr.syncWith(pFrom->_mfFieldMFPro_mpchildptr,
272 if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
273 _mfFieldMFNo_ptr.syncWith(pFrom->_mfFieldMFNo_ptr,
278 if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
279 _mfFieldMFNo_weakptr.syncWith(pFrom->_mfFieldMFNo_weakptr,
284 if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
285 _mfFieldMFNo_mpchildptr.syncWith(pFrom->_mfFieldMFNo_mpchildptr,
290 if(FieldBits::NoField != (FieldSFPub_spchildptrFieldMask & whichField))
291 _sfFieldSFPub_spchildptr.syncWith(pFrom->_sfFieldSFPub_spchildptr);
293 if(FieldBits::NoField != (FieldSFPro_spchildptrFieldMask & whichField))
294 _sfFieldSFPro_spchildptr.syncWith(pFrom->_sfFieldSFPro_spchildptr);
296 if(FieldBits::NoField != (FieldSFNo_spchildptrFieldMask & whichField))
297 _sfFieldSFNo_spchildptr.syncWith(pFrom->_sfFieldSFNo_spchildptr);
299 if(FieldBits::NoField != (FieldMFPub_spchildptrFieldMask & whichField))
300 _mfFieldMFPub_spchildptr.syncWith(pFrom->_mfFieldMFPub_spchildptr,
305 if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
306 _mfFieldMFPro_spchildptr.syncWith(pFrom->_mfFieldMFPro_spchildptr,
311 if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
312 _mfFieldMFNo_spchildptr.syncWith(pFrom->_mfFieldMFNo_spchildptr,
321 const Char8 *FCDPtrTestFCCustomAccessBase::getClassname(void)
323 return "FCDPtrTestFCCustomAccess";
325 OSG_GEN_CONTAINERPTR(FCDPtrTestFCCustomAccess);