1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2003 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
45 #include "OSGBaseTypes.h"
46 #include "OSGFieldForwards.h"
52 /*! Base class for all fields
54 \ingroup GrpLibOSGBase
57 class OSG_BASE_DLLMAPPING Field
59 /*========================== PUBLIC =================================*/
63 static const UInt32 MFShareMask
= 0x000F;
64 static const UInt32 FLocalMask
= 0x00F0;
65 static const UInt32 FAccessMask
= 0x0F00;
67 static const UInt32 MFSharedSync
= 0x0000;
68 static const UInt32 MFCopySync
= 0x0001;
69 static const UInt32 MFNullCheckSync
= 0x0002;
71 static const UInt32 FGlobal
= 0x0000;
72 static const UInt32 FThreadLocal
= 0x0010;
73 static const UInt32 FClusterLocal
= 0x0020;
75 static const UInt32 FStdAccess
= 0x0100;
76 static const UInt32 FNullCheckAccess
= 0x0200;
77 static const UInt32 FCustomAccess
= 0x0400;
79 static const UInt32 MFDefaultFlags
= (MFSharedSync
|
82 static const UInt32 SFDefaultFlags
= (FGlobal
|
84 static const UInt32 FDefaultFlags
= (FGlobal
|
87 /*---------------------------------------------------------------------*/
88 /*! \name Destructor */
94 /*---------------------------------------------------------------------*/
99 /*---------------------------------------------------------------------*/
100 /*! \name String IO */
104 /*---------------------------------------------------------------------*/
109 /*---------------------------------------------------------------------*/
114 /*========================= PROTECTED ===============================*/
118 /*---------------------------------------------------------------------*/
119 /*! \name Constructors */
123 Field(const Field
&source
);
126 /*========================== PRIVATE ================================*/
130 /*!\brief prohibit default function (move to 'public' if needed) */
131 void operator =(const Field
&source
);
136 #endif /* _OSGFIELD_HPP_ */