Qt:Документация 4.3.2/qshareddata

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QSharedData Class Reference
[модуль QtCore ]

The QSharedData class is a base class for shared data objects. Далее...

 #include <QSharedData>

Inherited by QScript::ArgumentsObjectData, QScript::C2Function, QScript::CFunction, QScript::Ecma::Core, QScript::Ecma::Global, QScript::Ecma::Math, QScript::Ext::EnumerationClassData, QScript::MemoryPool, QScript::QtFunction, QScript::ScriptFunction,

Примечание: все функции в этом классе реентерабельны.

[править] Открытые функции


[править] Подробное описание

The QSharedData class is a base class for shared data objects.

QSharedData is designed to be used together with QSharedDataPointer to implement custom implicitly shared classes. It provides thread-safe reference counting.

See the QSharedDataPointer documentation for details.


[править] Описание функций-членов

[править]
QSharedData::QSharedData ()

Constructs a QSharedData object with a reference count of 0.

[править]
QSharedData::QSharedData ( const QSharedData & other )

Constructs a QSharedData object with a reference count of 0. (other is ignored.)



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2