Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QMetaStringTable Class Reference

\inmodule QtCore More...

#include <qmetaobjectbuilder_p.h>

+ Collaboration diagram for QMetaStringTable:

Public Member Functions

 QMetaStringTable (const QByteArray &className)
 
int enter (const QByteArray &value)
 
int blobSize () const
 
void writeBlob (char *out) const
 

Static Public Member Functions

static int preferredAlignment ()
 

Detailed Description

\inmodule QtCore

The QMetaStringTable class can generate a meta-object string table at runtime.

Definition at line 289 of file qmetaobjectbuilder_p.h.

Constructor & Destructor Documentation

◆ QMetaStringTable()

QMetaStringTable::QMetaStringTable ( const QByteArray & className)
explicit

Definition at line 1044 of file qmetaobjectbuilder.cpp.

References enter(), Q_ASSERT, and Q_UNUSED.

+ Here is the call graph for this function:

Member Function Documentation

◆ blobSize()

int QMetaStringTable::blobSize ( ) const

Definition at line 1072 of file qmetaobjectbuilder.cpp.

References QHash< QByteArray, int >::const_iterator, QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), it, QSet< T >::size(), and QHash< Key, T >::size().

+ Here is the call graph for this function:

◆ enter()

int QMetaStringTable::enter ( const QByteArray & value)

Definition at line 1055 of file qmetaobjectbuilder.cpp.

References QHash< Key, T >::end(), QHash< Key, T >::find(), QHash< Key, T >::insert(), it, QHash< QByteArray, int >::iterator, and pos.

Referenced by QMetaStringTable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ preferredAlignment()

int QMetaStringTable::preferredAlignment ( )
static

Definition at line 1066 of file qmetaobjectbuilder.cpp.

Referenced by writeBlob().

+ Here is the caller graph for this function:

◆ writeBlob()

void QMetaStringTable::writeBlob ( char * out) const

Definition at line 1100 of file qmetaobjectbuilder.cpp.

References QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), i, it, out, preferredAlignment(), Q_ASSERT, QHash< Key, T >::size(), str, and writeString().

+ Here is the call graph for this function:

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