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

OSGQFieldEditor_qt.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  *                                                                           *
00016  * This library is free software; you can redistribute it and/or modify it   *
00017  * under the terms of the GNU Library General Public License as published    *
00018  * by the Free Software Foundation, version 2.                               *
00019  *                                                                           *
00020  * This library is distributed in the hope that it will be useful, but       *
00021  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00023  * Library General Public License for more details.                          *
00024  *                                                                           *
00025  * You should have received a copy of the GNU Library General Public         *
00026  * License along with this library; if not, write to the Free Software       *
00027  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00028  *                                                                           *
00029  *                                                                           *
00030 \*---------------------------------------------------------------------------*/
00031 /*---------------------------------------------------------------------------*\
00032  *                                Changes                                    *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037  *                                                                           *
00038  *                                                                           *
00039 \*---------------------------------------------------------------------------*/
00040 
00041 #include "OSGQFieldView_qt.h"
00042 
00043 #include <OSGFieldContainer.h>
00044 
00045 OSG_BEGIN_NAMESPACE
00046 
00047 inline bool
00048 QFieldEditorBase::getActive(void) const
00049 {
00050     return _bActive;
00051 }
00052 
00053 inline UInt32
00054 QFieldEditorBase::getIndex(void) const
00055 {
00056     return _uiIndex;
00057 }
00058 
00059 inline QFieldViewBase *
00060 QFieldEditorBase::getFieldView(void)
00061 {
00062     return _pView;
00063 }
00064 
00065 inline const QFieldViewBase *
00066 QFieldEditorBase::getFieldView(void) const
00067 {
00068     return _pView;
00069 }
00070 
00071 inline Field *
00072 QFieldEditorBase::getFieldPtr(void)
00073 {
00074     FieldContainer *pFCAsp = getFieldView()->getFieldContainer().getAspectCPtr(
00075                                                   getFieldView()->getAspect());
00076 
00077     return pFCAsp->getField(getFieldView()->getFieldId());
00078 }
00079 
00080 inline const Field *
00081 QFieldEditorBase::getFieldPtr(void) const
00082 {
00083     FieldContainer *pFCAsp = getFieldView()->getFieldContainer().getAspectCPtr(
00084                                                   getFieldView()->getAspect());
00085 
00086     return pFCAsp->getField(getFieldView()->getFieldId());
00087 }
00088 
00089 OSG_END_NAMESPACE
00090 
00091 #define OSGQFIELDEDITOR_INLINE_CVSID "@(#)$Id: OSGQFieldEditor_qt.inl,v 1.1 2003/05/07 14:03:40 neumannc Exp $"

Generated on Thu Aug 25 04:08:59 2005 for OpenSG by  doxygen 1.4.3