![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qcoreapplication.h>#include <QtCore/qfile.h>#include <QtCore/qfileinfo.h>#include <QtCore/qlist.h>#include <QtCore/qmap.h>#include <QtCore/qxmlstream.h>
Include dependency graph for qvkgen.cpp:Go to the source code of this file.
Classes | |
| class | VkSpecParser |
| struct | VkSpecParser::TypedName |
| struct | VkSpecParser::Command |
| class | Preamble |
Functions | |
| QString | funcSig (const VkSpecParser::Command &c, const char *className=nullptr) |
| QString | funcCall (const VkSpecParser::Command &c, int idx) |
| bool | genVulkanFunctionsH (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase) |
| bool | genVulkanFunctionsPH (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase) |
| bool | genVulkanFunctionsPC (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase) |
| int | main (int argc, char **argv) |
| [0] | |
Variables | |
| static const QStringList | VERSIONS |
| class Preamble | preamble |
| QString funcCall | ( | const VkSpecParser::Command & | c, |
| int | idx | ||
| ) |
Definition at line 262 of file qvkgen.cpp.
References QString::asprintf(), qPrintable, and QStringLiteral.
Referenced by genVulkanFunctionsPC().
Here is the call graph for this function:
Here is the caller graph for this function:| QString funcSig | ( | const VkSpecParser::Command & | c, |
| const char * | className = nullptr |
||
| ) |
Definition at line 240 of file qvkgen.cpp.
References QString::asprintf(), className, qPrintable, and QStringLiteral.
Referenced by genVulkanFunctionsH(), and genVulkanFunctionsPC().
Here is the call graph for this function:
Here is the caller graph for this function:| bool genVulkanFunctionsH | ( | const QList< VkSpecParser::Command > & | commands, |
| const QMap< QString, QStringList > & | versionCommandMapping, | ||
| const QString & | licHeaderFn, | ||
| const QString & | outputBase | ||
| ) |
Definition at line 312 of file qvkgen.cpp.
References QString::asprintf(), QByteArray::constData(), funcSig(), Preamble::get(), preamble, qPrintable, QStringLiteral, qWarning, QIODeviceBase::Text, QString::toUtf8(), VERSIONS, and QIODeviceBase::WriteOnly.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| bool genVulkanFunctionsPC | ( | const QList< VkSpecParser::Command > & | commands, |
| const QMap< QString, QStringList > & | versionCommandMapping, | ||
| const QString & | licHeaderFn, | ||
| const QString & | outputBase | ||
| ) |
Definition at line 482 of file qvkgen.cpp.
References QString::arg(), QString::asprintf(), QString::chop(), QByteArray::constData(), funcCall(), funcSig(), Preamble::get(), preamble, qPrintable, QStringLiteral, qWarning, QString::size(), str, QIODeviceBase::Text, QString::toUtf8(), VERSIONS, and QIODeviceBase::WriteOnly.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| bool genVulkanFunctionsPH | ( | const QList< VkSpecParser::Command > & | commands, |
| const QMap< QString, QStringList > & | versionCommandMapping, | ||
| const QString & | licHeaderFn, | ||
| const QString & | outputBase | ||
| ) |
Definition at line 409 of file qvkgen.cpp.
References QString::asprintf(), QByteArray::constData(), Preamble::get(), preamble, qPrintable, QStringLiteral, qWarning, QIODeviceBase::Text, QString::toUtf8(), VERSIONS, and QIODeviceBase::WriteOnly.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
[0]
[0]
[0]
[6]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[1]
[1]
[0]
[0]
[0]
[0]
Definition at line 587 of file qvkgen.cpp.
References app, VkSpecParser::commands(), QString::fromUtf8(), genVulkanFunctionsH(), genVulkanFunctionsPC(), genVulkanFunctionsPH(), i, VkSpecParser::parse(), QStringLiteral, qWarning, VkSpecParser::setFileName(), and VkSpecParser::versionCommandMapping().
Here is the call graph for this function:| class Preamble preamble |
|
static |
Definition at line 12 of file qvkgen.cpp.
Referenced by genVulkanFunctionsH(), genVulkanFunctionsPC(), and genVulkanFunctionsPH().