Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QVariant::PrivateShared Struct Reference

#include <qvariant.h>

+ Collaboration diagram for QVariant::PrivateShared:

Public Member Functions

const voiddata () const
 
voiddata ()
 

Static Public Member Functions

static int computeOffset (PrivateShared *ps, size_t align)
 
static size_t computeAllocationSize (size_t size, size_t align)
 
static PrivateSharedcreate (size_t size, size_t align)
 
static void free (PrivateShared *p)
 

Public Attributes

QAtomicInt ref
 
int offset
 

Detailed Description

Definition at line 80 of file qvariant.h.

Member Function Documentation

◆ computeAllocationSize()

size_t QVariant::PrivateShared::computeAllocationSize ( size_t size,
size_t align )
inlinestatic

Definition at line 48 of file qvariant_p.h.

◆ computeOffset()

int QVariant::PrivateShared::computeOffset ( PrivateShared * ps,
size_t align )
inlinestatic

Definition at line 43 of file qvariant_p.h.

◆ create()

QVariant::PrivateShared * QVariant::PrivateShared::create ( size_t size,
size_t align )
inlinestatic

Definition at line 61 of file qvariant_p.h.

◆ data() [1/2]

void * QVariant::PrivateShared::data ( )
inline

Definition at line 94 of file qvariant.h.

◆ data() [2/2]

const void * QVariant::PrivateShared::data ( ) const
inline

Definition at line 93 of file qvariant.h.

◆ free()

void QVariant::PrivateShared::free ( PrivateShared * p)
inlinestatic

Definition at line 70 of file qvariant_p.h.

Member Data Documentation

◆ offset

◆ ref

QAtomicInt QVariant::PrivateShared::ref

Definition at line 90 of file qvariant.h.


The documentation for this struct was generated from the following files: