CopperSpice API  1.7.2
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 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.