CopperSpice API  1.9.1
QSharedData Class Reference

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

Inheritance diagram for QSharedData:
QAbstractXmlNodeModel QSimpleXmlNodeModel

Public Methods

 QSharedData ()
 
 QSharedData (const QSharedData &other)
 

Detailed Description

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

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

Refer to QSharedDataPointer and QExplicitlySharedDataPointer for more details.

Constructor & Destructor Documentation

QSharedData::QSharedData ( )
inline

Constructs a QSharedData object with a reference count of 0.

QSharedData::QSharedData ( const QSharedData &  other)
inline

Constructs a QSharedData object with reference count of 0, the value for other is ignored.