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 OSG_BEGIN_NAMESPACE 00042 00043 inline FieldContainerPtr & 00044 QFieldViewBase::getFieldContainer(void) 00045 { 00046 return _pFieldCon; 00047 } 00048 00049 inline const FieldContainerPtr & 00050 QFieldViewBase::getFieldContainer(void) const 00051 { 00052 return _pFieldCon; 00053 } 00054 00055 inline UInt32 00056 QFieldViewBase::getFieldId(void) const 00057 { 00058 return _uiFieldId; 00059 } 00060 00061 inline UInt32 00062 QFieldViewBase::getAspect(void) const 00063 { 00064 return _uiAspect; 00065 } 00066 00067 inline Field * 00068 QFieldViewBase::getFieldPtr(void) 00069 { 00070 FieldContainer *pFCAsp = _pFieldCon.getAspectCPtr(_uiAspect); 00071 00072 return pFCAsp->getField(_uiFieldId); 00073 } 00074 00075 inline const Field * 00076 QFieldViewBase::getFieldPtr(void) const 00077 { 00078 FieldContainer *pFCAsp = _pFieldCon.getAspectCPtr(_uiAspect); 00079 00080 return pFCAsp->getField(_uiFieldId); 00081 } 00082 00083 OSG_END_NAMESPACE 00084 00085 #define OSGQFIELDVIEWBASE_INLINE_CVSID "@(#)$Id: OSGQFieldView_qt.inl,v 1.1 2003/05/07 14:03:40 neumannc Exp $"
1.6.1