template<typename type, class allocator>
Sets QMemArray<> to use an external array. Note that not all methods are implemented for this (see the header file). Note also that like Qt's version, you must not resize or reassign the array when in this state. Failure to call resetRawData() before destruction causes Definition at line 161 of file qmemarray.h. Referenced by FX::QMemArray< FX::FXCodeToPythonCode::CodeItem >::assign(), FX::QMemArray< FX::FXCodeToPythonCode::CodeItem >::duplicate(), and FX::TnFXSQLDBImpl::GetImpl< true, QByteArray, QByteArray >::GetImpl(). 00162 { 00163 extArray=const_cast<type *>(a); extArrayLen=n; 00164 noDeleteExtArray=_noDeleteExtArray; 00165 return *this; 00166 }
|