#include <OSGMFieldVector.h>
Public Types | |
| typedef std::vector< Tp, Alloc > | Inherited |
| typedef Inherited::allocator_type | allocator_type |
| typedef Inherited::size_type | size_type |
Public Member Functions | |
| MFieldVector (const allocator_type &__a=allocator_type()) | |
| MFieldVector (size_type __n, const Tp &__value, const allocator_type &__a=allocator_type()) | |
| MFieldVector (size_type __n) | |
| MFieldVector (const std::vector< Tp, Alloc > &__x) | |
| MFieldVector (const MFieldVector< Tp, Alloc > &__x) | |
| MFieldVector (const Tp *__first, const Tp *__last, const allocator_type &__a=allocator_type()) | |
| ~MFieldVector () | |
| void | shareValues (Self &other, bool bDeleteOld) |
| void | resolveShare (void) |
Private Types | |
| typedef MFieldVector< Tp, Alloc > | Self |
Definition at line 90 of file OSGMFieldVector.h.
| typedef std::vector<Tp, Alloc> osg::MFieldVector< Tp, OSG_STL_DEFAULT_ALLOCATOR >::Inherited |
Definition at line 94 of file OSGMFieldVector.h.
typedef MFieldVector<Tp, Alloc> osg::MFieldVector< Tp, OSG_STL_DEFAULT_ALLOCATOR >::Self [private] |
Definition at line 98 of file OSGMFieldVector.h.
| typedef Inherited::allocator_type osg::MFieldVector< Tp, OSG_STL_DEFAULT_ALLOCATOR >::allocator_type |
Definition at line 102 of file OSGMFieldVector.h.
| typedef Inherited::size_type osg::MFieldVector< Tp, OSG_STL_DEFAULT_ALLOCATOR >::size_type |
Definition at line 103 of file OSGMFieldVector.h.
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | const allocator_type & | __a = allocator_type() |
) | [inline, explicit] |
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | size_type | __n, | |
| const Tp & | __value, | |||
| const allocator_type & | __a = allocator_type() | |||
| ) | [inline] |
Definition at line 76 of file OSGMFieldVector.inl.
00078 : 00079 Inherited(__n, __value, __a) 00080 { 00081 }
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | size_type | __n | ) | [inline, explicit] |
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | const std::vector< Tp, Alloc > & | __x | ) | [inline] |
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | const MFieldVector< Tp, Alloc > & | __x | ) | [inline] |
| osg::MFieldVector< Tp, Alloc >::MFieldVector | ( | const Tp * | __first, | |
| const Tp * | __last, | |||
| const allocator_type & | __a = allocator_type() | |||
| ) | [inline] |
Definition at line 115 of file OSGMFieldVector.inl.
00117 : 00118 Inherited(__first, __last, __a) 00119 { 00120 }
| osg::MFieldVector< Tp, Alloc >::~MFieldVector | ( | ) | [inline] |
| void osg::MFieldVector< Tp, Alloc >::shareValues | ( | Self & | other, | |
| bool | bDeleteOld | |||
| ) | [inline] |
Definition at line 130 of file OSGMFieldVector.inl.
References MYEND, MYFIRST, and MYLAST.
00131 { 00132 if(bDeleteOld == true) 00133 { 00134 #if defined(OSG_LINUX_ICC) && !defined(OSG_ICC_GNU_COMPAT) 00135 this->_Destroy(this->MYFIRST, this->MYLAST); 00136 00137 this->_Alval.deallocate(this->MYFIRST, 00138 this->MYEND - this->MYFIRST); 00139 #else 00140 std::_Destroy(this->MYFIRST, this->MYLAST); 00141 00142 this->_M_deallocate(this->MYFIRST, 00143 this->MYEND - this->MYFIRST); 00144 #endif 00145 } 00146 00147 this->MYFIRST = other.MYFIRST; 00148 this->MYLAST = other.MYLAST; 00149 this->MYEND = other.MYEND; 00150 }
| void osg::MFieldVector< Tp, Alloc >::resolveShare | ( | void | ) | [inline] |
1.5.5