#include <OSGMFieldAdaptor.h>
Public Types | |
| typedef MFieldAdaptor< ValueT, ParentT, iNamespace > | Self |
| typedef MFieldVector< ValueT > | StorageType |
| typedef StorageType::reference | reference |
| typedef StorageType::const_reference | const_reference |
| typedef StorageType::iterator | iterator |
| typedef StorageType::const_iterator | const_iterator |
| typedef StorageType::reverse_iterator | reverse_iterator |
| typedef StorageType::const_reverse_iterator | const_reverse_iterator |
| typedef FieldTraits< ValueT, iNamespace > | MFieldTraits |
| typedef MFieldTraits::ArgumentType | ArgumentType |
| typedef boost::mpl::if_< boost::mpl::bool_< MFieldTraits::bIsPointerField >, EditFCPtrMFieldHandle< Self >, EditMFieldHandle< Self > >::type | EditHandle |
| typedef boost::shared_ptr< EditHandle > | EditHandlePtr |
| typedef boost::mpl::if_< boost::mpl::bool_< MFieldTraits::bIsPointerField >, GetFCPtrMFieldHandle< Self >, GetMFieldHandle< Self > >::type | GetHandle |
| typedef boost::shared_ptr< GetHandle > | GetHandlePtr |
Public Member Functions | |
Constructors | |
| MFieldAdaptor (void) | |
| MFieldAdaptor (const MFieldAdaptor &source) | |
Destructor | |
| ~MFieldAdaptor (void) | |
Index Operator | |
| reference | operator[] (UInt32 index) |
| const_reference | operator[] (UInt32 index) const |
Helper | |
| iterator | begin (void) |
| iterator | end (void) |
| reverse_iterator | rbegin (void) |
| reverse_iterator | rend (void) |
| const_iterator | begin (void) const |
| const_iterator | end (void) const |
| const_reverse_iterator | rbegin (void) const |
| const_reverse_iterator | rend (void) const |
| reference | front (void) |
| const_reference | front (void) const |
| reference | back (void) |
| const_reference | back (void) const |
| iterator | insert (iterator pos, ArgumentType value) |
| iterator | erase (iterator pos) |
| iterator | find (ArgumentType value) |
| const_iterator | find (ArgumentType value) const |
Get | |
| StorageType & | getValues (void) |
| const StorageType & | getValues (void) const |
Static Public Member Functions | |
Class Get | |
| static const FieldType & | getClassType (void) |
Protected Member Functions | |
Fields | |
| template<class To> | |
| To & | dcast (void) |
| template<class To> | |
| const To & | dcast (void) const |
Static Protected Attributes | |
Type information | |
| static FieldType | _fieldType |
Private Types | |
| typedef ParentT | Inherited |
Private Member Functions | |
| void | operator= (const MFieldAdaptor &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 53 of file OSGMFieldAdaptor.h.
| typedef MFieldAdaptor<ValueT, ParentT, iNamespace> OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::Self |
Definition at line 61 of file OSGMFieldAdaptor.h.
| typedef MFieldVector<ValueT > OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::StorageType |
Definition at line 63 of file OSGMFieldAdaptor.h.
| typedef StorageType::reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::reference |
Definition at line 65 of file OSGMFieldAdaptor.h.
| typedef StorageType::const_reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reference |
Definition at line 66 of file OSGMFieldAdaptor.h.
| typedef StorageType::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator |
Definition at line 68 of file OSGMFieldAdaptor.h.
| typedef StorageType::const_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::const_iterator |
Definition at line 69 of file OSGMFieldAdaptor.h.
| typedef StorageType::reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::reverse_iterator |
Definition at line 72 of file OSGMFieldAdaptor.h.
| typedef StorageType::const_reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reverse_iterator |
Definition at line 74 of file OSGMFieldAdaptor.h.
| typedef FieldTraits<ValueT, iNamespace> OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::MFieldTraits |
Definition at line 78 of file OSGMFieldAdaptor.h.
| typedef MFieldTraits::ArgumentType OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::ArgumentType |
Definition at line 80 of file OSGMFieldAdaptor.h.
| typedef boost::mpl::if_<boost::mpl::bool_<MFieldTraits::bIsPointerField>, EditFCPtrMFieldHandle<Self>, EditMFieldHandle <Self> >::type OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::EditHandle |
Definition at line 85 of file OSGMFieldAdaptor.h.
| typedef boost::shared_ptr<EditHandle> OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::EditHandlePtr |
Definition at line 87 of file OSGMFieldAdaptor.h.
| typedef boost::mpl::if_<boost::mpl::bool_<MFieldTraits::bIsPointerField>, GetFCPtrMFieldHandle<Self> , GetMFieldHandle <Self> >::type OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::GetHandle |
Definition at line 92 of file OSGMFieldAdaptor.h.
| typedef boost::shared_ptr<GetHandle> OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::GetHandlePtr |
Definition at line 94 of file OSGMFieldAdaptor.h.
typedef ParentT OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::Inherited [private] |
Definition at line 273 of file OSGMFieldAdaptor.h.
| OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::MFieldAdaptor | ( | void | ) | [inline] |
| OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::MFieldAdaptor | ( | const MFieldAdaptor< ValueT, ParentT, iNamespace > & | source | ) | [inline] |
Definition at line 70 of file OSGMFieldAdaptor.inl.
00071 : 00072 00073 Inherited(source) 00074 { 00075 }
| OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::~MFieldAdaptor | ( | void | ) | [inline] |
| static const FieldType& OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::getClassType | ( | void | ) | [static] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::operator[] | ( | UInt32 | index | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::operator[] | ( | UInt32 | index | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::begin | ( | void | ) | [inline] |
Definition at line 105 of file OSGMFieldAdaptor.inl.
Referenced by OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::find().
| MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::end | ( | void | ) | [inline] |
Definition at line 114 of file OSGMFieldAdaptor.inl.
Referenced by OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::find().
| MFieldAdaptor< ValueT, ParentT, iNamespace >::reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::rbegin | ( | void | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::rend | ( | void | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::begin | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::end | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::rbegin | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reverse_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::rend | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::front | ( | void | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::front | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::back | ( | void | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_reference OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::back | ( | void | ) | const [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::insert | ( | iterator | pos, | |
| ArgumentType | value | |||
| ) | [inline] |
Definition at line 214 of file OSGMFieldAdaptor.inl.
00216 { 00217 return (this->template dcast<typename Self::StorageType>()).insert(pos, 00218 value); 00219 }
| MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::erase | ( | iterator | pos | ) | [inline] |
| MFieldAdaptor< ValueT, ParentT, iNamespace >::iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::find | ( | ArgumentType | value | ) | [inline] |
Definition at line 235 of file OSGMFieldAdaptor.inl.
References OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::begin(), and OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::end().
00236 { 00237 return std::find(Self::begin(), Self::end(), value); 00238 }
| MFieldAdaptor< ValueT, ParentT, iNamespace >::const_iterator OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::find | ( | ArgumentType | value | ) | const [inline] |
Definition at line 244 of file OSGMFieldAdaptor.inl.
References OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::begin(), and OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::end().
00245 { 00246 return std::find(Self::begin(), Self::end(), value); 00247 }
| MFieldAdaptor< ValueT, ParentT, iNamespace >::StorageType & OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::getValues | ( | void | ) | [inline] |
| const MFieldAdaptor< ValueT, ParentT, iNamespace >::StorageType & OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::getValues | ( | void | ) | const [inline] |
| To & OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::dcast | ( | void | ) | [inline, protected] |
| const To & OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::dcast | ( | void | ) | const [inline, protected] |
| void OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::operator= | ( | const MFieldAdaptor< ValueT, ParentT, iNamespace > & | source | ) | [private] |
FieldType OSG::MFieldAdaptor< ValueT, ParentT, iNamespace >::_fieldType [inline, static, protected] |
Definition at line 223 of file OSGMFieldAdaptor.h.