Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGAttachmentContainerPtrImpl.inl

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *             Copyright (C) 2000-2002 by the OpenSG Forum                   *
00006  *                                                                           *
00007  *                            www.opensg.org                                 *
00008  *                                                                           *
00009  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00010  *                                                                           *
00011 \*---------------------------------------------------------------------------*/
00012 /*---------------------------------------------------------------------------*\
00013  *                                License                                    *
00014  *                                                                           *
00015  * This library is free software; you can redistribute it and/or modify it   *
00016  * under the terms of the GNU Library General Public License as published    *
00017  * by the Free Software Foundation, version 2.                               *
00018  *                                                                           *
00019  * This library is distributed in the hope that it will be useful, but       *
00020  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00022  * Library General Public License for more details.                          *
00023  *                                                                           *
00024  * You should have received a copy of the GNU Library General Public         *
00025  * License along with this library; if not, write to the Free Software       *
00026  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00027  *                                                                           *
00028 \*---------------------------------------------------------------------------*/
00029 /*---------------------------------------------------------------------------*\
00030  *                                Changes                                    *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037 \*---------------------------------------------------------------------------*/
00038 
00039 #ifndef _OSGATTACHMENTCONTAINERPTRIMPL_INL_
00040 #define _OSGATTACHMENTCONTAINERPTRIMPL_INL_
00041 
00042 #ifdef OSG_DOC_FILES_IN_MODULE
00043 
00046 #endif
00047 
00048 OSG_BEGIN_NAMESPACE
00049 
00050 /*-------------------------------------------------------------------------*/
00051 /*                            Constructors                                 */
00052 
00053 inline
00054 AttachmentContainerPtr::AttachmentContainerPtr(void) :
00055     Inherited()
00056 {
00057 }
00058 
00059 inline
00060 AttachmentContainerPtr::AttachmentContainerPtr(
00061     const AttachmentContainerPtr &source) :
00062 
00063     Inherited(source)
00064 {
00065 }
00066 
00067 inline
00068 AttachmentContainerPtr::AttachmentContainerPtr(
00069     const NullFieldContainerPtr &source) :
00070 
00071     Inherited(source)
00072 {
00073 }
00074 
00075 /*-------------------------------------------------------------------------*/
00076 /*                             Destructor                                  */
00077 
00078 inline
00079 AttachmentContainerPtr::~AttachmentContainerPtr(void)
00080 {
00081 }
00082 
00083 /*-------------------------------------------------------------------------*/
00084 /*                            Container Access                             */
00085 
00086 inline
00087 AttachmentContainer *AttachmentContainerPtr::operator->(void)
00088 {
00089 #if 0
00090     return (AttachmentContainer *) getElemP(Thread::getAspect());
00091 #else
00092     return (AttachmentContainer *) Inherited::operator ->();
00093 #endif
00094 }
00095 
00096 inline
00097 AttachmentContainer *AttachmentContainerPtr::operator->(void) const
00098 {
00099 #if 0
00100     return (AttachmentContainer *) getElemP(Thread::getAspect());
00101 #else
00102     return (AttachmentContainer *) Inherited::operator ->();
00103 #endif
00104 }
00105 
00106 inline
00107 AttachmentContainer &AttachmentContainerPtr::operator *(void)
00108 {
00109 #if 0
00110     return *((AttachmentContainer *) getElemP(Thread::getAspect()));
00111 #else
00112     return (AttachmentContainer &) Inherited::operator *();
00113 #endif
00114 }
00115 
00116 inline
00117 AttachmentContainer &AttachmentContainerPtr::operator *(void) const
00118 {
00119 #if 0
00120     return *((AttachmentContainer *) getElemP(Thread::getAspect()));
00121 #else
00122     return (AttachmentContainer &) Inherited::operator *();
00123 #endif
00124 }
00125 
00126 inline
00127 AttachmentContainer *AttachmentContainerPtr::getCPtr(void)
00128 {
00129 #if 0
00130     return (AttachmentContainer *) getElemP(Thread::getAspect());
00131 #else
00132     return (AttachmentContainer *) Inherited::getCPtr();
00133 #endif
00134 }
00135 
00136 inline
00137 AttachmentContainer *AttachmentContainerPtr::getCPtr(void) const
00138 {
00139 #if 0
00140     return (AttachmentContainer *) getElemP(Thread::getAspect());
00141 #else
00142     return (AttachmentContainer *) Inherited::getCPtr();
00143 #endif
00144 }
00145 
00146 /*-------------------------------------------------------------------------*/
00147 /*                             Assignment                                  */
00148 
00149 inline
00150 void AttachmentContainerPtr::operator =(const AttachmentContainerPtr &source)
00151 {
00152     // copy parts inherited from parent
00153     *(static_cast<Inherited *>(this)) = source;
00154 }
00155 
00156 inline
00157 void AttachmentContainerPtr::operator = (const NullFieldContainerPtr &source)
00158 {
00159     // copy parts inherited from parent
00160     *(static_cast<Inherited *>(this)) = source;
00161 }
00162 
00163 OSG_END_NAMESPACE
00164 
00165 #define OSGATTACHMENTCONTAINERPTR_INLINE_CVSID "@(#)$Id: $"
00166 
00167 #endif /*_OSGATTACHMENTCONTAINERPTRIMPL_INL_ */
00168 

Generated on Thu Aug 25 04:01:00 2005 for OpenSG by  doxygen 1.4.3