changed: gcc8 base update
[opensg.git] / Source / Test / SystemLib / OSGFCDPtrTestFCCustomAccessBase.inl
blob409c71aa207d8ece22d56042ff29eccdf02918d4
1 /*---------------------------------------------------------------------------*\
2  *                                OpenSG                                     *
3  *                                                                           *
4  *                                                                           *
5  *               Copyright (C) 2000-2006 by the OpenSG Forum                 *
6  *                                                                           *
7  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
8  *                                                                           *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
11  *                                License                                    *
12  *                                                                           *
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.                               *
16  *                                                                           *
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.                          *
21  *                                                                           *
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.                 *
25  *                                                                           *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
28  *                                Changes                                    *
29  *                                                                           *
30  *                                                                           *
31  *                                                                           *
32  *                                                                           *
33  *                                                                           *
34  *                                                                           *
35 \*---------------------------------------------------------------------------*/
37 /*****************************************************************************\
38  *****************************************************************************
39  **                                                                         **
40  **                  This file is automatically generated.                  **
41  **                                                                         **
42  **          Any changes made to this file WILL be lost when it is          **
43  **           regenerated, which can become necessary at any time.          **
44  **                                                                         **
45  **     Do not change this file, changes should be done in the derived      **
46  **     class FCDPtrTestFCCustomAccess!
47  **                                                                         **
48  *****************************************************************************
49 \*****************************************************************************/
51 OSG_BEGIN_NAMESPACE
55 //! access the type of the class
56 inline
57 OSG::FieldContainerType &FCDPtrTestFCCustomAccessBase::getClassType(void)
59     return _type;
62 //! access the numerical type of the class
63 inline
64 OSG::UInt32 FCDPtrTestFCCustomAccessBase::getClassTypeId(void)
66     return _type.getId();
69 inline
70 OSG::UInt16 FCDPtrTestFCCustomAccessBase::getClassGroupId(void)
72     return _type.getGroupId();
75 /*------------------------------ get -----------------------------------*/
78 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_ptr field.
79 inline
80 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_ptr(void) const
82     return _sfFieldSFPub_ptr.getValue();
86 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_weakptr field.
87 inline
88 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_weakptr(void) const
90     return _sfFieldSFPub_weakptr.getValue();
94 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_mpchildptr field.
95 inline
96 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_mpchildptr(void) const
98     return _sfFieldSFPub_mpchildptr.getValue();
102 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_ptr field.
103 inline
104 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_ptr(void) const
106     return _sfFieldSFPro_ptr.getValue();
110 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_weakptr field.
111 inline
112 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_weakptr(void) const
114     return _sfFieldSFPro_weakptr.getValue();
118 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_mpchildptr field.
119 inline
120 FCDTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPro_mpchildptr(void) const
122     return _sfFieldSFPro_mpchildptr.getValue();
126 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPub_spchildptr field.
127 inline
128 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldSFPub_spchildptr(void) const
130     return _sfFieldSFPub_spchildptr.getValue();
134 //! Get the value of the FCDPtrTestFCCustomAccess::_sfFieldSFPro_spchildptr field.
135 inline
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.
143 inline
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.
150 inline
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.
157 inline
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.
164 inline
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.
171 inline
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.
178 inline
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.
185 inline
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.
192 inline
193 FCDSParTestFC * FCDPtrTestFCCustomAccessBase::getFieldMFPro_spchildptr(const UInt32 index) const
195     return _mfFieldMFPro_spchildptr[index];
199 #ifdef OSG_MT_CPTR_ASPECT
200 inline
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,
238                                 syncMode,
239                                 uiSyncInfo,
240                                 oOffsets);
242     if(FieldBits::NoField != (FieldMFPub_weakptrFieldMask & whichField))
243         _mfFieldMFPub_weakptr.syncWith(pFrom->_mfFieldMFPub_weakptr,
244                                 syncMode,
245                                 uiSyncInfo,
246                                 oOffsets);
248     if(FieldBits::NoField != (FieldMFPub_mpchildptrFieldMask & whichField))
249         _mfFieldMFPub_mpchildptr.syncWith(pFrom->_mfFieldMFPub_mpchildptr,
250                                 syncMode,
251                                 uiSyncInfo,
252                                 oOffsets);
254     if(FieldBits::NoField != (FieldMFPro_ptrFieldMask & whichField))
255         _mfFieldMFPro_ptr.syncWith(pFrom->_mfFieldMFPro_ptr,
256                                 syncMode,
257                                 uiSyncInfo,
258                                 oOffsets);
260     if(FieldBits::NoField != (FieldMFPro_weakptrFieldMask & whichField))
261         _mfFieldMFPro_weakptr.syncWith(pFrom->_mfFieldMFPro_weakptr,
262                                 syncMode,
263                                 uiSyncInfo,
264                                 oOffsets);
266     if(FieldBits::NoField != (FieldMFPro_mpchildptrFieldMask & whichField))
267         _mfFieldMFPro_mpchildptr.syncWith(pFrom->_mfFieldMFPro_mpchildptr,
268                                 syncMode,
269                                 uiSyncInfo,
270                                 oOffsets);
272     if(FieldBits::NoField != (FieldMFNo_ptrFieldMask & whichField))
273         _mfFieldMFNo_ptr.syncWith(pFrom->_mfFieldMFNo_ptr,
274                                 syncMode,
275                                 uiSyncInfo,
276                                 oOffsets);
278     if(FieldBits::NoField != (FieldMFNo_weakptrFieldMask & whichField))
279         _mfFieldMFNo_weakptr.syncWith(pFrom->_mfFieldMFNo_weakptr,
280                                 syncMode,
281                                 uiSyncInfo,
282                                 oOffsets);
284     if(FieldBits::NoField != (FieldMFNo_mpchildptrFieldMask & whichField))
285         _mfFieldMFNo_mpchildptr.syncWith(pFrom->_mfFieldMFNo_mpchildptr,
286                                 syncMode,
287                                 uiSyncInfo,
288                                 oOffsets);
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,
301                                 syncMode,
302                                 uiSyncInfo,
303                                 oOffsets);
305     if(FieldBits::NoField != (FieldMFPro_spchildptrFieldMask & whichField))
306         _mfFieldMFPro_spchildptr.syncWith(pFrom->_mfFieldMFPro_spchildptr,
307                                 syncMode,
308                                 uiSyncInfo,
309                                 oOffsets);
311     if(FieldBits::NoField != (FieldMFNo_spchildptrFieldMask & whichField))
312         _mfFieldMFNo_spchildptr.syncWith(pFrom->_mfFieldMFNo_spchildptr,
313                                 syncMode,
314                                 uiSyncInfo,
315                                 oOffsets);
317 #endif
320 inline
321 const Char8 *FCDPtrTestFCCustomAccessBase::getClassname(void)
323     return "FCDPtrTestFCCustomAccess";
325 OSG_GEN_CONTAINERPTR(FCDPtrTestFCCustomAccess);
327 OSG_END_NAMESPACE